[google-appengine] Re: BadRequestError: offset may not be above 1000

2009-03-08 Thread Let Delete My Apps
*** The Query Class *** http://code.google.com/appengine/docs/python/datastore/queryclass.html -- fetch(limit, offset=0) offset -- The number of results to skip. Then? Why do I see this error? BadRequestError: offset may not be above 1000 . . On Mar 8, 6:06 am, Wooble geoffsp...@gmail.com

[google-appengine] Re: BadRequestError: offset may not be above 1000

2009-03-08 Thread Sharp-Developer.Net
From http://code.google.com/appengine/docs/python/datastore/queryclass.html : The datastore fetches offset + limit results to the application. The first offset results are not skipped by the datastore itself. -- Alex http://sharp-developer.net/ On Mar 8, 10:56 am, Let Delete My Apps

[google-appengine] Re: BadRequestError: offset may not be above 1000

2009-03-08 Thread Let Delete My Apps
Sorry but I do not understand :-( How can I see the record 2001 ? . . On Mar 8, 2:00 pm, Sharp-Developer.Net alexander.trakhime...@gmail.com wrote: Fromhttp://code.google.com/appengine/docs/python/datastore/queryclass.html : The datastore fetches offset + limit results to the application. The

[google-appengine] Re: BadRequestError: offset may not be above 1000

2009-03-08 Thread djidjadji
Make multiple queries. Use a value from the last object retrieved to select new objects with a greater value, __key__ is a good field to use, or use the field you sort on. Make sure you will stay within 30 sec wall clock time. 2009/3/8 Let Delete My Apps davide.rogn...@gmail.com: Sorry but I

[google-appengine] Re: BadRequestError: offset may not be above 1000

2009-03-08 Thread Let Delete My Apps
Does an utility exists to simplify this bad work? (or some examples) I use this order: query.order('-time') . . . On Mar 8, 4:57 pm, djidjadji djidja...@gmail.com wrote: Make multiple queries. Use a value from the last object retrieved to select new objects with a greater value, __key__ is a

[google-appengine] Re: BadRequestError: offset may not be above 1000

2009-03-08 Thread Let Delete My Apps
This is a pagination problem: - items per page: 10 . . . On Mar 8, 5:25 pm, djidjadji djidja...@gmail.com wrote: If you sort on time why do you want to see the object that was stored 2000 entries ago. Do you also need the objects with time stamp 0..2000? It makes more sense to find the

[google-appengine] Re: BadRequestError: offset may not be above 1000

2009-03-07 Thread Wooble
On Mar 7, 5:05 pm, Let Delete My Apps davide.rogn...@gmail.com wrote: Hi All, I see this error using this code: query.fetch(1000, offset=1001) RTFM before deleting all of your apps. --~--~-~--~~~---~--~~ You received this message because you are subscribed

[google-appengine] Re: BadRequestError: offset may not be above 1000

2008-09-22 Thread Emmanuel Okyere
There are a few tips in the Updating Existing Entities section of this article too: http://code.google.com/appengine/articles/update_schema.html cheers, Emmanuel. On 21 Sep 2008, at 14:15, Aral Balkan wrote: Hi, I'm not sure when this changed but it seems that you cannot specify offsets

[google-appengine] Re: BadRequestError: offset may not be above 1000

2008-09-21 Thread Michael
I have the same problem. I can understand the result limit, but offset ? Simple solution is add a record ID . On Sep 21, 10:15 am, Aral Balkan [EMAIL PROTECTED] wrote: Hi, I'm not sure when this changed but it seems that you cannot specify offsets above 1,000 which kind of kills my backup

[google-appengine] Re: BadRequestError: offset may not be above 1000

2008-09-21 Thread Byron Saltysiak
Perhaps more targetted queries? On 9/21/08, Aral Balkan [EMAIL PROTECTED] wrote: Hi, I'm not sure when this changed but it seems that you cannot specify offsets above 1,000 which kind of kills my backup app. How are we supposed to iterate over large datasets? Thanks, Aral --

[google-appengine] Re: BadRequestError: offset may not be above 1000

2008-09-21 Thread Alexander Kojevnikov
GAE uses client-side offsets, that means it first runs the query, then iterates on the result to reach the offset you specified. This implies that the offset cannot be greater than the result limit: