This is an example of an incompatibility between the CGI module in 2.5
and 2.6. That is why we only support 2.5 "officially".

It was discussed previously on this list. Which version of 2.6? 2.6.1
or 2.6.2?

Massimo


On Aug 24, 2:04 pm, ctalley <[email protected]> wrote:
> using web2py version 1.66.0 source
> and python 2.6
>
> from this page...http://127.0.0.1:8000/mydb/appadmin/index
>
> click a table link such as db.mytable
>
> lists query => db.mytable.id>0, and rows in table -- all is well :-)
>
> now, still on the same page, click Submit; should just reload the page
> with the same information (right?)
>
> but instead, this happens...
>
> Traceback (most recent call last):
>
> File "C:\...\gluon\restricted.py", line 178, in restricted exec ccode
> in environment
>
> File "C:/.../applications/mydb/controllers/appadmin.py", line 281, in
> <module>
>
> File "C:\...\gluon\globals.py", line 101, in <lambda> self._caller =
> lambda f: f()
>
> File "C:/.../applications/mydb/controllers/appadmin.py", line 168, in
> select match = regex.match(request.vars.query)
>
> TypeError: expected string or buffer
>
> What I was really trying to do was delete some rows; that also doesn't
> work - same error.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to