April 10, 2007

Oops

We were having a problem with some of our SQL queries - relating to the exact behaviour of the MySQL C API - but this now appears to be fixed.  Details below if you're interested.
If you've been seeing the occasional error that starts with

500 Internal Server Error
and ends with
ProgrammingError: (2014, "Commands out of sync; you can't run this command now")
but which goes away if you refresh the page, then I think I've fixed it.  I've put a patch in place; if that works, I'll go through the offending code and rework it.

So please let me know if you see it again, so I can make sure it gets resolved.

Posted by: Pixy Misa at 03:11 PM | Comments (2) | Add Comment
Post contains 113 words, total size 1 kb.

1 Okay, just got one. Was trying to upload an image. Clicked "Upload" button and waited. Nothing happened, so clicked it again. Text follows
500 Internal Server Error

The server encountered an unexpected condition which prevented it from fulfilling the request.

Traceback (most recent call last):
File "/usr/local/lib/python2.5/site-packages/cherrypy/_cprequest.py", line 342, in respond cherrypy.response.body = self.handler()
File "/usr/local/lib/python2.5/site-packages/cherrypy/_cpdispatch.py", line 15, in __call__ return self.callable(*self.args, **self.kwargs)
File "Minx.py", line 69, in default return Page.go(cherrypy)
File "/backup/test/minx/Page.py", line 359, in go Form.go(page)
File "/backup/test/minx/Form.py", line 1686, in go handler(page)
File "/backup/test/minx/Form.py", line 937, in form_upload sfile=open(sname,'w')
IOError: [Errno 21] Is a directory: '/file/site/o/oldgrouch.mee.nu/files/'

Posted by: Old Grouch at April 11, 2007 01:04 AM (8vPcQ)

2 That one's actually different.  I've done that to myself, and I'll be fixing that.

I think the bug we were seeing yesterday, which just popped up at random on any page at all - is fixed.  Yay!

Posted by: Pixy Misa at April 11, 2007 03:39 AM (PiXy!)

Hide Comments | Add Comment

Comments are disabled. Post is locked.
10kb generated in CPU 3.4589, elapsed 4.3772 seconds.
32 queries taking 4.2066 seconds, 54 records returned.
Powered by Minx 1.1.6c-pink.