I wonder if this has anything to do with Identity using it's own Hub. Starting in r400, I modify the TG_SecretToken for the visitor. As this is modified using a hub that isn't the same one as the application's model, maybe this is causing a problem with SQLObject.

On 29 Dec, 2005, at 5:44 am, reflog wrote:


Hi.
I don't know if this is Identity related prob, or I am doing something
stupid,
but when I added Identity support in my project, and tried adding this:
a = std.identity.current
or some call like in_group('admin')

I get this:
500 Internal error

Server got itself in trouble

Traceback (most recent call last):
  File
"/usr/lib/python2.4/site-packages/CherryPy-2.1.0-py2.4.egg/cherrypy/_cphttptools.py",
line 271, in run
    main()
  File
"/usr/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
"/usr/lib/python2.4/site-packages/TurboGears-0.9a0dev_r403-py2.4.egg/turbogears/controllers.py",
line 242, in newfunc
    html, *args, **kw)
  File
"/usr/lib/python2.4/site-packages/TurboGears-0.9a0dev_r403-py2.4.egg/turbogears/database.py",
line 185, in run_with_transaction
    rollback_all()
  File
"/usr/lib/python2.4/site-packages/TurboGears-0.9a0dev_r403-py2.4.egg/turbogears/database.py",
line 165, in rollback_all
    hub.rollback()
  File
"/usr/lib/python2.4/site-packages/TurboGears-0.9a0dev_r403-py2.4.egg/turbogears/database.py",
line 79, in rollback
    self.threadingLocal.connection.rollback()
  File
"/usr/lib/python2.4/site-packages/SQLObject-0.7.0-py2.4.egg/sqlobject/dbconnection.py",
line 772, in rollback
    self._connection.rollback()
NotSupportedError: (1196, "Warning:  Some non-transactional changed
tables couldn't be rolled back")

any idea what's this all about?


--

Jeff Watkins

http://newburyportion.com/


'I know about people who talk about suffering for the common good. It's never bloody them! When you hear a man shouting "Forward, brave comrades!" you'll see he's the one behind the bloody big rock and the one wearing the only really arrow-proof helmet!'

-- Rincewind gives a speech on politics. (Terry Pratchett, Interesting Times)



Reply via email to