On 3 ago, 15:49, Fran <francisb...@googlemail.com> wrote:
>
> fixes it - patch sent to Massimo...
>
> F

Today I updated, the line 809 is corrected, but it continues producing
the mistake:

Traceback (most recent call last):
  File "E:\web2py2\gluon\restricted.py", line 178, in restricted
    exec ccode in environment
  File "E:/web2py2/applications/prueba/controllers/appadmin.py", line
255, in <module>
  File "E:\web2py2\gluon\globals.py", line 101, in <lambda>
    self._caller = lambda f: f()
  File "E:/web2py2/applications/prueba/controllers/appadmin.py", line
104, in insert
    if form.accepts(request.vars, session):
  File "E:\web2py2\gluon\sqlhtml.py", line 815, in accepts
    elif not f:
  File "E:\Python25\lib\cgi.py", line 633, in __len__
    return len(self.keys())
  File "E:\Python25\lib\cgi.py", line 609, in keys
    raise TypeError, "not indexable"
TypeError: not indexable

This is in windows. In freebsd does not show the mistake, but it does
not work either.
(windows: python2.5, freebsd: python2.6)


The model is:

db.define_table('unatabla',
    Field('nombre'),
    Field('imagen', 'upload'),
)

To the only ones that it happens to us is this to Fran and to my?

Jose
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to