i'm not having any problems with GAE + web2py.....though i'm not fully 
upgraded on my web2py versions...perhaps i should do a test upgrade and see 
if i hit the same issues.

On Friday, April 12, 2013 9:10:10 AM UTC-7, Carl wrote:
>
> Perhaps 2.5 isn't far away given 2.4.6 is out.
>
> I'll be happy to a version of web2py with it removed.
>
>
> On 12 April 2013 16:17, Massimo Di Pierro <massimo....@gmail.com<javascript:>
> > wrote:
>
>> I proposed in web2py 2.5 we remove the gql module.
>>
>>
>> On Friday, 12 April 2013 05:21:10 UTC-5, Carl wrote:
>>>
>>> Removing the line "from gluon.contrib.gql import *" removed the error 
>>> and allows my app to launch.
>>>
>>> I next run into this error:
>>>   File "F:\wp\TestEnvoy\web2py\gluon\**main.py", line 555, in wsgibase
>>>     session._try_store_in_db(**request, response)
>>>   File "F:\wp\TestEnvoy\web2py\gluon\**globals.py", line 747, in 
>>> _try_store_in_db
>>>     record_id = table.insert(**dd)
>>>   File "F:\wp\TestEnvoy\web2py\gluon\**contrib\memdb.py", line 256, in 
>>> insert
>>>     id = self._create_id()
>>>   File "F:\wp\TestEnvoy\web2py\gluon\**contrib\memdb.py", line 291, in 
>>> _create_id
>>>     id = self._tableobj.incr(shard_id)
>>> AttributeError: 'MemcacheClient' object has no attribute 'incr'
>>>
>>> One for me to investigate.
>>>
>>>
>>>
>>> On Friday, 12 April 2013 11:06:38 UTC+1, Carl wrote:
>>>>
>>>> has my db.py content fallen out of date?
>>>>
>>>> it includes:
>>>> from gluon.sql import SQLCustomType
>>>>
>>>> if request.env.web2py_runtime_**gae: # if running on Google App Engine
>>>>     from gluon.contrib.gql import *
>>>>     db = DAL('gae')
>>>>
>>>>
>>>> On Friday, 12 April 2013 11:00:09 UTC+1, Carl wrote:
>>>>>
>>>>> actually.. while getting an unknown ticket if I request the url a 
>>>>> second time I get this:
>>>>>
>>>>>   File "F:\wp\TestEnvoy\web2py\**applications\init\models\db.**py", 
>>>>> line 13, in <module>
>>>>>     from gluon.contrib.gql import *
>>>>>   File "F:\wp\TestEnvoy\web2py\gluon\**custom_import.py", line 100, 
>>>>> in custom_importer
>>>>>     return NATIVE_IMPORTER(name, globals, locals, fromlist, level)
>>>>> ImportError: No module named gql
>>>>>
>>>>> That's fairly obvious because I've just delete gql.py! :)
>>>>>
>>>>>
>>>>> On Friday, 12 April 2013 07:48:27 UTC+1, Carl wrote:
>>>>>>
>>>>>> If I remove the file (and its .pyc) then I get a web2py "Ticket 
>>>>>> issued: unknown"
>>>>>>
>>>>>> I'll try upgrading again.
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Friday, 12 April 2013 02:58:27 UTC+1, Massimo Di Pierro wrote:
>>>>>>>
>>>>>>> What if you delete that file?
>>>>>>>
>>>>>>> On Thursday, 11 April 2013 12:31:15 UTC-5, Carl wrote:
>>>>>>>>
>>>>>>>> With an update to appengine, all is still fine when running web2py 
>>>>>>>> locally.
>>>>>>>> but if I run dev_appserver then on start-up I get the following 
>>>>>>>> kicked out at the console...
>>>>>>>>
>>>>>>>>  File "F:\wp\TestEnvoy\web2py\gluon\**contrib\gql.py", line 5, in 
>>>>>>>> <module>
>>>>>>>>     from gluon.dal import DAL, Field, Table, Query, Set, 
>>>>>>>> Expression, Row, Rows, *drivers*, BaseAdapter, SQLField, SQLTable, 
>>>>>>>> SQLXorable, SQLQuery, SQLSet, SQLRows, SQLStorage, SQLDB, GQLDB, 
>>>>>>>> SQLALL, 
>>>>>>>> SQLCustomType, gae
>>>>>>>> ImportError: cannot import name *drivers*
>>>>>>>> *
>>>>>>>> *
>>>>>>>> \contrib\gql.py exists for backward compatibility.
>>>>>>>>
>>>>>>>> This looks like I've tripped up somewhere really simple. Can anyone 
>>>>>>>> point me in the right direction?
>>>>>>>>
>>>>>>>  -- 
>>  
>> --- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "web2py-users" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/web2py/0XH6l1394mA/unsubscribe?hl=en.
>> To unsubscribe from this group and all its topics, send an email to 
>> web2py+un...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to