On 3 ago, 12:16, Fran <[email protected]> wrote:
> On Aug 3, 2:51 pm, Jose <[email protected]> wrote:
>
> > On 2 ago, 21:25, Fran <[email protected]> wrote:
> > > Really bizarre this as my simple testcases work fine.
> > > However r1044 works with my app whereas 1045 doesn't
> > I have the version 1.65.9 (r1153).
>
> I guess tha's an SVN ref?
> I always quote the master Bzr revisions (which is up to only 1050
> now:https://code.launchpad.net/~mdipierro/web2py/devel)
>
> > Do not be from when it is happening, but yesterday I noticed that the
> > images are not uploaded.
> > The only changes that I did were:
> > 1) To update web2py
> > 2) to migrate of py2.5 to py2.6 (SO: Freebsd)
>
> I'm running Python-2.5.4 on XP
> Same error seen with 2.5.2 on Debian Lenny
>
> F
I have just tried this in Windows XP(r1153) + python 2.5.x
db.define_table('unatabla',
Field('nombre'),
Field('imagen', 'upload'),
)
The following mistake takes is produced when I do submit:
Error traceback
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 809, in accepts
if 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
Jose
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py-users" 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
-~----------~----~----~----~------~----~------~--~---