I added a fix in trunk but this does not appear to be a web2py problem
and I cannot reproduce it.

Before you upgrade.

Can you try again? Is it possible you had two sender=... in the URL.
If so, can you try find out how that came to be?

Massimo

On Dec 31 2008, 1:25 pm, "mr.freeze" <[email protected]> wrote:
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to