Re: [sqlalchemy] AssertionError: Type is already registered

2014-06-26 Thread Dustin Oprea
uot;reload(mod)" right in the stack trace there. Sure, but I have a dozen web.py projects, and gave been using it for a while, and haven't had this issue until yesterday. I thought that too, but doubt that's it. Dustin > > > > > > On 6/26/14, 1:14 PM, Dustin Oprea wro

[sqlalchemy] AssertionError: Type is already registered

2014-06-26 Thread Dustin Oprea
I'm using SQLAlchemy with web.py, and have used it many times in the past. I'm working on a project using gevent/greenlets, and everything has been fine for a couple of months, until today. Suddenly, I'm getting these at a time when I'm not even receiving any requests. Does anyone have any advi

Re: [sqlalchemy] Stored-procedure commit woes

2014-03-27 Thread Dustin Oprea
Thanks, Mike. On Thursday, March 27, 2014 3:16:27 PM UTC-4, Michael Bayer wrote: ... > OK, you seem to have found the autocommit flag on text(), this is the > correct approach in this case. > > I can’t get your stored proc to run as creating a proc on my machine > produces some “thread stac

[sqlalchemy] Stored-procedure commit woes

2014-03-27 Thread Dustin Oprea
I'm having a problem where I'm doing writes to MySQL that aren't being committed. I'm obviously calling the procedure from an execute(). I'm okay with explicit commits, but since all of my data logic is in procedures (all operations are one step), autocommit is preferable. I'm using 0.9.1 . Unt