'Belongs' was the problem. Older versions of web2py supported a limited 
implementation of belongs (up to 30 items in the set) on GAE datastore. 
Current version does not support 'belongs' on GAE datastore. I have worked 
around this and now have my application working again. Thanks Scott and 
Massimo.

On Wednesday, October 30, 2013 7:39:54 AM UTC-4, David Manns wrote:
>
> Scott is probably right - I will do some experiments to check. Earlier 
> versions of web2py supported 'belongs' on GAE so long as the set contained 
> 30 or fewer members (by experiment, not documented). I can see how this 
> limited support may have been dropped in a DAL rewrite!
>
> On Tuesday, October 29, 2013 9:49:35 PM UTC-4, Scott Hunter wrote:
>>
>> Don't know if this helps, but I see that the query for affl uses belongs, 
>> and I'm seeing the following in my GAE log for a query that uses belongs:
>>
>>   File 
>>> "/Users/shunter/Dropbox/webdev/google_app_engine/mypptrials/gluon/dal.py", 
>>> line 4802, in BELONGS
>>>     raise SyntaxError("Not supported")
>>
>>
>> I also see the same thing in your log.
>>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to