#1140: cherrypy module in qstemplates is needed when quickstarting projects with
identity
------------------------------------+---------------------------------------
Reporter: roger.demetrescu | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone:
Component: tg-admin (non-toolbox) | Version: 1.0b1
Severity: normal | Keywords:
------------------------------------+---------------------------------------
This one is related to changes made in [1924] / [1926].
When I quickstart a project with identity and try to access
http://localhost:8080/login/ I get this error:
{{{
Page handler: <bound method Root.login of <teste.controllers.Root object
at 0x014BC170>>
Traceback (most recent call last):
File "c:\python24\lib\site-
packages\CherryPy-2.2.1-py2.4.egg\cherrypy\_cphttptools.py", line 105, in
_run
self.main()
File "c:\python24\lib\site-
packages\CherryPy-2.2.1-py2.4.egg\cherrypy\_cphttptools.py", line 254, in
main
body = page_handler(*virtual_path, **self.params)
File "<string>", line 3, in login
File "c:\turbogears1.0\turbogears\controllers.py", line 326, in expose
output = database.run_with_transaction(
File "<string>", line 5, in run_with_transaction
File "c:\turbogears1.0\turbogears\database.py", line 247, in so_rwt
retval = func(*args, **kw)
File "<string>", line 5, in _expose
File "c:\turbogears1.0\turbogears\controllers.py", line 343, in <lambda>
mapping, fragment, args, kw)))
File "c:\turbogears1.0\turbogears\controllers.py", line 367, in
_execute_func
output = errorhandling.try_call(func, *args, **kw)
File "C:\Turbogears1.0\turbogears\errorhandling.py", line 71, in
try_call
return func(self, *args, **kw)
File "C:\tmp\teste\teste\controllers.py", line 26, in login
previous_url= cherrypy.request.path
NameError: global name 'cherrypy' is not defined
}}}
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/1140>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Tickets" 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-tickets
-~----------~----~----~----~------~----~------~--~---