The following is the complete exception stack trace starting with the
ROLLBACK command someone is issuing to SQLObject. Just a note, I
don't issue a rollback, so I assume an exception must have been
thrown and this is crashing during the rollback. Only, I don't see
any log of the exception.
1/ROLLBACK:
2006/01/03 21:38:09 INFO Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/CherryPy-2.1.0-py2.4.egg/cherrypy/
_cphttptools.py", line 271, in run
main()
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/CherryPy-2.1.0-py2.4.egg/cherrypy/
_cphttptools.py", line 502, in main
body = page_handler(*args, **cherrypy.request.paramMap)
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/CherryPy-2.1.0-py2.4.egg/cherrypy/lib/
cptools.py", line 122, in default
return getattr(self, args[0])(*args[1:], **kwargs)
File "/Users/jeff/Projects/Web/turbogears/turbogears/
controllers.py", line 242, in newfunc
html, *args, **kw)
File "/Users/jeff/Projects/Web/turbogears/turbogears/database.py",
line 189, in run_with_transaction
retval = func(*args, **kw)
File "/Users/jeff/Projects/Web/turbogears/turbogears/
controllers.py", line 262, in _execute_func
return _process_output(tg_format, output, html)
File "/Users/jeff/Projects/Web/turbogears/turbogears/
controllers.py", line 64, in _process_output
output = view.render(output, tg_format, template=template)
File "/Users/jeff/Projects/Web/turbogears/turbogears/view.py",
line 62, in render
return engine.render(info, format, fragment, template)
File "/Users/jeff/Projects/Web/turbogears/turbogears/
kidsupport.py", line 141, in render
return t.serialize(encoding=self.defaultencoding, output=format,
fragment=fragment)
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/kid-0.8-py2.4.egg/kid/__init__.py", line 232,
in serialize
return serializer.serialize(self, encoding, fragment)
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/kid-0.8-py2.4.egg/kid/serialization.py", line
51, in serialize
text = list(self.generate(stream, encoding, fragment))
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/kid-0.8-py2.4.egg/kid/serialization.py", line
149, in generate
for ev, item in self.apply_filters(stream):
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/kid-0.8-py2.4.egg/kid/serialization.py", line
77, in balancing_filter
for ev, item in stream:
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/kid-0.8-py2.4.egg/kid/pull.py", line 203, in
_coalesce
for ev, item in stream:
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/kid-0.8-py2.4.egg/kid/filter.py", line 21, in
transform_filter
for ev, item in apply_matches(stream, template, templates,
apply_func):
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/kid-0.8-py2.4.egg/kid/filter.py", line 31, in
apply_matches
item = stream.expand()
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/kid-0.8-py2.4.egg/kid/pull.py", line 95, in
expand
for ev, item in self._iter:
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/kid-0.8-py2.4.egg/kid/pull.py", line 164, in
_track
for p in stream:
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/kid-0.8-py2.4.egg/kid/pull.py", line 203, in
_coalesce
for ev, item in stream:
File "/Users/jeff/Sites/turbo/shop/shop/templates/category.py",
line 282, in _pull
File "/Users/jeff/Sites/turbo/shop/shop/templates/master.py", line
235, in product_table
File "<string>", line 1, in <lambda>
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/SQLObject-0.7.0-py2.4.egg/sqlobject/main.py",
line 971, in _SO_loadValue
selectResults = self._connection._SO_selectOne(self, dbNames)
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/SQLObject-0.7.0-py2.4.egg/sqlobject/
dbconnection.py", line 787, in __getattr__
self.assertActive()
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/SQLObject-0.7.0-py2.4.egg/sqlobject/
dbconnection.py", line 728, in assertActive
assert not self._obsolete, "This transaction has already gone
through ROLLBACK; begin another transaction"
AssertionError: This transaction has already gone through ROLLBACK;
begin another transaction