.M.
unread,Oct 3, 2008, 2:54:15 AM10/3/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to tg-registration
Hi
I'm stuck with this error on the /registration/validate_new_user
method.
Any advice? I've tried this on 0.4 and 0.5 and created a new project
specifically to see if I've done something by mistake with the
boilerplate Identity code.
Page handler: <bound method UserRegistration.validate_new_user of
<help4me.registration.controllers.UserRegistration object at
0x897012c>>
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/CherryPy-2.3.0-py2.4.egg/
cherrypy/_cphttptools.py", line 121, in _run
self.main()
File "/usr/lib/python2.4/site-packages/CherryPy-2.3.0-py2.4.egg/
cherrypy/_cphttptools.py", line 264, in main
body = page_handler(*virtual_path, **self.params)
File "<string>", line 3, in validate_new_user
File "/usr/lib/python2.4/site-packages/TurboGears-1.0.4.4-py2.4.egg/
turbogears/controllers.py", line 363, in expose
output = database.run_with_transaction(
File "<string>", line 5, in run_with_transaction
File "/usr/lib/python2.4/site-packages/TurboGears-1.0.4.4-py2.4.egg/
turbogears/database.py", line 405, in sa_rwt
retval = func(*args, **kw)
File "<string>", line 5, in _expose
File "/usr/lib/python2.4/site-packages/TurboGears-1.0.4.4-py2.4.egg/
turbogears/controllers.py", line 380, in <lambda>
mapping, fragment, args, kw)))
File "/usr/lib/python2.4/site-packages/TurboGears-1.0.4.4-py2.4.egg/
turbogears/controllers.py", line 408, in _execute_func
output = errorhandling.try_call(func, *args, **kw)
File "/usr/lib/python2.4/site-packages/TurboGears-1.0.4.4-py2.4.egg/
turbogears/errorhandling.py", line 72, in try_call
return func(self, *args, **kw)
File "/home/michela/src/repos/help4me/help4me/registration/
controllers.py", line 124, in validate_new_user
new_user = self.promote_pending_user(pend)
File "/home/michela/src/repos/help4me/help4me/registration/
controllers.py", line 149, in promote_pending_user
columns = pending_user.c.keys() # list of column names
AttributeError: 'RegistrationPendingUser' object has no attribute 'c'
Best
.M.