Seems to occur in the URL function after the file is unlinked. The
sender variable is coming through as a list instead of a string. I'm
using vista.
Traceback (most recent call last):
File "C:\web2py_test\gluon\restricted.py", line 62, in restricted
exec ccode in environment
File "C:/web2py_test/applications/admin/controllers/default.py",
line 570, in <module>
File "C:\web2py_test\gluon\globals.py", line 55, in <lambda>
self._caller=lambda f: f()
File "C:/web2py_test/applications/admin/controllers/default.py",
line 254, in delete
redirect(URL(r=request,f=sender))
File "C:\web2py_test\gluon\html.py", line 53, in URL
else: function=f.__name__
AttributeError: 'list' object has no attribute '__name__'
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---