Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #1096 (closed defect: fixed)

Opened 13 years ago

Last modified 12 years ago

problem with sqlalchemy and Identity

Reported by: jerojasro Owned by: anonymous
Priority: normal Milestone:
Component: Identity Version: 0.9a6
Severity: normal Keywords:


Every once in a while I get this message on the TurboGears console

Exception in thread VisitManager?: Traceback (most recent call last):

File "/usr/lib/python2.4/threading.py", line 442, in bootstrap



"/usr/lib/python2.4/site-packages/TurboGears-0.9a9-py2.4.egg/turbogears/visit/api.py", line 256, in run



"/usr/lib/python2.4/site-packages/TurboGears-0.9a9-py2.4.egg/turbogears/visit/savisit.py", line 56, in update_queued_visits

values={'expiry': expiry}).execute()

File "/usr/lib/python2.4/site-packages/sqlalchemy/sql.py", line 509,

in execute

return self.execute_using(self.engine, *multiparams, params)

File "/usr/lib/python2.4/site-packages/sqlalchemy/sql.py", line 463,

in execute_using

return self.compile(engine=engine,

parameters=compile_params).execute(*multiparams, params)

File "/usr/lib/python2.4/site-packages/sqlalchemy/sql.py", line 374,

in execute

raise exceptions.InvalidRequestError?("This Compiled object is not

bound to any engine.") InvalidRequestError?: This Compiled object is not bound to any engine.

It started to appear since I migrated from SQLObject to SQLAlchemy. However, is other report that says the same is happening with a quickstarted project.

I haven't seen any particular action or event that triggers this problem.

I'm using TG 0.9a9, postgres (latest), Linux (SuSE 10)

Change History

comment:1 Changed 13 years ago by joelpearson

FYI, I experienced this problem, too, and was able to resolve it by applying the patch shown in #1041.

comment:2 Changed 13 years ago by fredlin

Anyone can confirm with it?

comment:3 Changed 13 years ago by jorge.vargas

  • Status changed from new to closed
  • Resolution set to fixed

#1041 was applied closing this as fixed by it

Note: See TracTickets for help on using tickets.