There was a bug introduced in latest commit. I think I fixed. Please
download trunk again and let me know.

Massimo

On Jun 7, 9:14 pm, Tito Garrido <[email protected]> wrote:
> I've just update to trunk and when I try to load a for with an "upload"
> field I'm receiving:
>
> Traceback (most recent call last):
>   File "D:\Projetos\GAE\web2py\gluon\restricted.py", line 107, in restricted
>
>     exec ccode in environment
>   File "D:/Projetos/GAE/web2py/applications/store/controllers/manage.py"
> <http://127.0.0.1:8000/admin/default/edit/store/controllers/manage.py>,
> line 110, in <module>
>
>   File "D:\Projetos\GAE\web2py\gluon\globals.py", line 97, in <lambda>
>
>     self._caller = lambda f: f()
>
>   File "D:/Projetos/GAE/web2py/applications/store/controllers/manage.py"
> <http://127.0.0.1:8000/admin/default/edit/store/controllers/manage.py>,
> line 67, in products
>
>     form_prod = SQLFORM(store.product)
>
>   File "D:\Projetos\GAE\web2py\gluon\sqlhtml.py", line 517, in __init__
>
>     inp = self.widgets.upload.widget(field, default, upload)
>
>   File "D:\Projetos\GAE\web2py\gluon\sqlhtml.py", line 258, in widget
>
>     attr = UploadWidget._attributes(field, default, **attributes)
> NameError: global name 'attributes' is not defined
>
> Thanks,
>
> Tito
> --
>
> Linux User #387870
> .........____
> .... _/_õ|__|
> ..º[ .-.___.-._| . . . .
> .__( o)__( o).:_______
--~--~---------~--~----~------------~-------~--~----~
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