[sqlalchemy] correct way to handle 'MySQL server has gone away'?

2010-04-26 Thread Chris Withers
Chris Withers wrote: raise exc.InvalidRequestError(Can't reconnect until invalid transaction is rolled back) sqlalchemy.exc.InvalidRequestError: Can't reconnect until invalid transaction is rolled back Asking here as it sounds like it might be related. It occurred transiently, though, and

Re: [sqlalchemy] correct way to handle 'MySQL server has gone away'?

2010-04-26 Thread Michael Bayer
Chris Withers wrote: Chris Withers wrote: raise exc.InvalidRequestError(Can't reconnect until invalid transaction is rolled back) sqlalchemy.exc.InvalidRequestError: Can't reconnect until invalid transaction is rolled back Asking here as it sounds like it might be related. It occurred