Can you please print request.vars.query? I think this is a bug in the
cgi module of 2.6, not in web2py.

Massimo

On Mar 1, 11:26 pm, Jim <jdeib...@gmail.com> wrote:
> Because I'm developing for deployment on GAE, I'm going to stay at
> 2.5.   I did see one problem with 2.6, though:
>
> Traceback (most recent call last):
>   File "/home/jamesd/python/google_appengine/web2py/gluon/
> restricted.py", line 98, in restricted
>     exec ccode in environment
>   File "/home/jamesd/python/google_appengine/web2py/applications/myapp/
> controllers/appadmin.py", line 271, in <module>
>   File "/home/jamesd/python/google_appengine/web2py/gluon/globals.py",
> line 75, in <lambda>
>     self._caller = lambda f: f()
>   File "/home/jamesd/python/google_appengine/web2py/applications/myapp/
> controllers/appadmin.py", line 157, in select
>     match = regex.match(request.vars.query)
> TypeError: expected string or buffer
>
> On Feb 27, 8:59 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > I do not think web2py 1.56 is using md5 if hashlib is present.
>
> > web2py should also run in Python 2.6 although people have reported one
> > problem that seems to be due to a bug in the Python cgi module.
>
> > Try use it and let us know if you encouter any problem.
>
> > Massimo
>
> > On Feb 27, 10:52 pm, Jim <jdeib...@gmail.com> wrote:
>
> > > ls -ald /usr/bin/python
> > > lrwxrwxrwx 1 root root 9 2009-02-27 11:25 /usr/bin/python -> python2.6
>
> > > Noticed this:
>
> > > <string>:13: DeprecationWarning: the md5 module is deprecated; use
> > > hashlib instead
>
> > > 9.04 should be released in about 2 months, meaning that 2.6 will then
> > > be standard on Ubuntu.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" 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