Ah, discovered a gotcha with this!
If you use
turbogears.redirect('func', params)
instead of calling
return self.func(params)
you get the exact same traceback
I've attempted to run session.clear() within try, except: clause inside
the exposed function, but this raises an exception that the session is
inactive.
I gather this is because turbogears calls transaction.commit() inside
run_with_transaction... but I'm unsure of how to fix it.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---