webcams@thatfreesite:~/test.thatfreesite.com$ ./start-tfs.py
1/Select : SELECT country.id, country.name, country.code FROM country WHERE code = 'US' LIMIT 1
1/QueryR : SELECT country.id, country.name, country.code FROM country WHERE code = 'US' LIMIT 1
Traceback (most recent call last):
File "./start-tfs.py", line 26, in ?
from tfs.controllers import Root
File "/home/webcams/test.thatfreesite.com/tfs/controllers.py", line 24, in ?
from tfs import json, register_controllers
File "/home/webcams/test.thatfreesite.com/tfs/register_controllers.py", line 71, in ?
class UserRegistration(controllers.Controller):
File "/home/webcams/test.thatfreesite.com/tfs/register_controllers.py", line 355, in UserRegistration
@expose(template='cheetah:tfs.templates.register_update_success')
File "/usr/lib/python2.4/site-packages/TurboGears-1.0-py2.4.egg/turbogears/identity/conditions.py", line 73, in __nonzero__
return self.eval_with_object( current )
File "/usr/lib/python2.4/site-packages/TurboGears-1.0-py2.4.egg/turbogears/identity/conditions.py", line 62, in eval_with_object
if p.eval_with_object( obj, None ):
File "/usr/lib/python2.4/site-packages/TurboGears-1.0-py2.4.egg/turbogears/identity/conditions.py", line 86, in eval_with_object
if self.group_name in identity.groups:
File "/usr/lib/python2.4/site-packages/TurboGears-1.0-py2.4.egg/turbogears/identity/__init__.py", line 52, in __getattr__
identity= self.identity()
File "/usr/lib/python2.4/site-packages/TurboGears-1.0-py2.4.egg/turbogears/identity/__init__.py", line 44, in identity
raise RequestRequiredException()
turbogears.identity.exceptions.RequestRequiredException: An attempt was made to use a facility of the TurboGears Identity Management framework that relies on an HTTP request outside of a request.
webcams@thatfreesite:~/test.thatfreesite.com$