Re: [SQLObject] MySQL: Commands out of sync; you can't run this command now

2013-10-31 Thread sophana78 .
I've just noticed that I have the same problem. But my application is multithreaded, and I use MySQL-python (1.2.4) SQLObject (1.4.1) The error occurs when executing a transaction. Does anyone knows how to reset the connection? On Wed, Apr 24, 2013 at 10:09 AM, Oleg Broytman wrote: > Hi! > > O

Re: [SQLObject] MySQL: Commands out of sync; you can't run this command now

2013-04-24 Thread Oleg Broytman
Hi! On Wed, Apr 24, 2013 at 08:51:57AM +0100, "Maciej (Matchek) Blizi??ski" wrote: > 2013/4/16 Oleg Broytman > > On Tue, Apr 16, 2013 at 10:52:29AM +0100, "Maciej (Matchek) Blizi??ski" > > wrote: > > > File > > > "/opt/csw/lib/python/site-packages/sqlobject/mysql/mysqlconnection.py", > > >

Re: [SQLObject] MySQL: Commands out of sync; you can't run this command now

2013-04-24 Thread Matchek
2013/4/16 Oleg Broytman > > On Tue, Apr 16, 2013 at 10:52:29AM +0100, "Maciej (Matchek) Blizi??ski" > wrote: > > File > > "/opt/csw/lib/python/site-packages/sqlobject/mysql/mysqlconnection.py", > > line 71, in makeConnection > > conn.ping(True) # Attempt to reconnect. This setting is pers

Re: [SQLObject] MySQL: Commands out of sync; you can't run this command now

2013-04-16 Thread Oleg Broytman
Hi! On Tue, Apr 16, 2013 at 10:52:29AM +0100, "Maciej (Matchek) Blizi??ski" wrote: > File "/opt/csw/lib/python/site-packages/sqlobject/mysql/mysqlconnection.py", > line 71, in makeConnection > conn.ping(True) # Attempt to reconnect. This setting is persistent. > ProgrammingError: (2014, "C

[SQLObject] MySQL: Commands out of sync; you can't run this command now

2013-04-16 Thread Matchek
Hello list, I'm running into a problem when running a small web app in webpy with sqlobject. The app is a REST interface which handles URLs such as: GET /pkgdb/rest/srv4/7793c4a5ecd6494b25d475632618e44c/pkg-stats/ HTTP/1.1 and PUT /releases/catalogs/unstable/i386/SunOS5.9/7793c4a5ecd6494b25d475