Massimo,
I have a look at those fixes first thing in the morning.
I found two more functions that worked in version 1.61.4 but no longer
do in 1.63.5
In a custom controller I have:
def retrieve_username():
response.functionname= T('Retrieve username')
return dict(form=auth.retrieve_username())
def retrieve_password():
response.function_name= T('Retrieve password')
return dict(form=auth.retrieve_password())
The former results in an error ticket:
Traceback (most recent call last):
File "/Library/Python/2.5/site-packages/web2py_1_63_5/gluon/
restricted.py", line 107, in restricted
exec ccode in environment
File "/Library/Python/2.5/site-packages/web2py_1_63_5/applications/
cms/controllers/authentication.py", line 39, in <module>
File "/Library/Python/2.5/site-packages/web2py_1_63_5/gluon/
globals.py", line 97, in <lambda>
self._caller = lambda f: f()
File "/Library/Python/2.5/site-packages/web2py_1_63_5/applications/
cms/controllers/authentication.py", line 15, in retrieve_username
return dict(form=auth.retrieve_username())
File "/Library/Python/2.5/site-packages/web2py_1_63_5/gluon/
tools.py", line 895, in retrieve_username
session = self.environment.session
NameError: global name 'response' is not defined
The latter results in a flash being displayed: Function disabled.
Kind regards,
Annet.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---