On Aug 24, 2009, at 12:26 PM, ctalley wrote:

>
> I'm running 2.6.2.  My decision to go with python 2.6 was based on the
> following from the web2py site...
>
> http://www.web2py.com/examples/default/index
>
> "Runs on Windows, Mac, Unix/Linux, Google App Engine, Amazon EC2, and
> almost any web hosting via Python 2.4/2.5/2.6, or Java with Jython."
>
> Perhaps that should be changed.
>
> I guess I now have to downgrade to 2.5.4.

There must be some better solution, Massimo. Not being 2.6-compatible  
just doesn't cut it.

>
> On Aug 24, 3:12 pm, mdipierro <[email protected]> wrote:
>> 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.- Hide quoted text -



--~--~---------~--~----~------------~-------~--~----~
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