Re: [Sqlalchemy-users] session implicitly created

2006-07-19 Thread Randall Smith
Michael Bayer wrote: > the most likely cause is the "threadlocal" mod is being imported > somewhere in the production application. this creates a > SessionContext that is globally associated with all mappers, and is > used when new object instances are created. > > try to see if "sqlalchemy

Re: [Sqlalchemy-users] session implicitly created

2006-07-19 Thread Randall Smith
Michael Bayer wrote: > the most likely cause is the "threadlocal" mod is being imported > somewhere in the production application. this creates a > SessionContext that is globally associated with all mappers, and is > used when new object instances are created. > > try to see if "sqlalchemy

Re: [Sqlalchemy-users] session implicitly created

2006-07-19 Thread Michael Bayer
the most likely cause is the "threadlocal" mod is being imported somewhere in the production application. this creates a SessionContext that is globally associated with all mappers, and is used when new object instances are created. try to see if "sqlalchemy.mods.threadlocal" is imported an

[Sqlalchemy-users] session implicitly created

2006-07-19 Thread Randall Smith
I've an issue I haven't been able to figure out just yet and I'm hoping to gain some insight. I have a simple script that adds child records to a parent like so: new_child = Child() new_child.name = 'test' parent.append(child) Here is the weird part. On the dev machine it works fine. On the