[google-appengine] Some tasks are never run

2010-04-22 Thread bsb
I have a queue with 11 tasks in them which are not run, for some unknown reason. The same tasks added again ran just fine, so the stalled ones are obsolete. Could someone from Google just delete them? The app id is "bicingstats" Thanks, Benjamin -- You received this message because you are subsc

[google-appengine] Re: Request was aborted after waiting too long...

2010-05-05 Thread bsb
See my post on the exact same topic earlier today, too... On May 5, 10:21 am, Mikkel Krautz wrote: > Hi, > > My app at alsmicdk.appspot.com has been getting the following error: > > Request was aborted after waiting too long to attempt to service your > request. This may happen sporadically when

[google-appengine] Re: "Request was aborted after waiting too long"

2010-05-05 Thread bsb
I also get the same error with cron jobs in another app of mine. This has only started happening recently. Can someone @ Google please take a look at this? On May 5, 10:18 am, Benjamin Schuster-Böckler wrote: > I'm getting loads of these. It's ok with the deferred tasks, as they are > reschedule

[google-appengine] Re: "Request was aborted after waiting too long"

2010-05-06 Thread bsb
ter is under unexpectedly high or uneven load. If you see this > >> message frequently, please contact the App Engine team." > > >> This started after my app had been up and running for months, with no > >> changes; worked the day before, then dead. > > >> N

[google-appengine] Can't add new application

2010-05-16 Thread bsb
I already have 6 apps so far, but when I tried to create a new app today I was told to activate my account through SMS again. Luckily, I have a spare mobile, so I activated through this other number. Now, I tried to add a new app, but whatever I use as the identifier, it tells me it's not valid. I

[google-appengine] Re: Another easy question

2010-06-04 Thread bsb
Purely for academic reasons, I'd like to point out that the computationally efficient way to find exact substrings (ie "cat" in "merecats") is a Suffix Tree: http://en.wikipedia.org/wiki/Suffix_tree You could probably (with a lot of time and mental strength) create a suffix tree system using the G

[google-appengine] HTTP Basic authentication

2009-11-04 Thread bsb
I think I read in some thread on this forum that HTTP Basic Authentication is possible somehow with GAE. Is this correct? If yes, how to do that? I have a very simple webservice backend for an iPhone app which I would like to protect from unintended access, so HTTP Basic Authentication would be by

[google-appengine] Confusion about __key__ and key_name, and sort order

2009-11-15 Thread bsb
I have the following code: entities = db.GqlQuery("SELECT __key__ FROM mymodel").fetch(300) keys = {} while entities: for key in entities: if key in keys.keys(): keys[key] = keys[key] + 1 else: keys[key] = 1 entities = db.GqlQuery("SELECT __key__ FRO

[google-appengine] Re: Confusion about __key__ and key_name, and sort order

2009-11-15 Thread bsb
.myId] = 1 entities = mymodel.all().order('myId').filter('myId >', entities [-1].myId).fetch(300) So why does the key-based query not work? On Nov 15, 3:08 pm, bsb wrote: > I have the following code: > > entities = db.GqlQuery("SELECT __key__ FROM mymodel"

[google-appengine] Re: Confusion about __key__ and key_name, and sort order

2009-11-15 Thread bsb
to complain that it needs a descending index on key for parallel downloads. On Nov 15, 3:28 pm, bsb wrote: > Just to say, the following query gives me the correct result: > > entities = mymodel.all().order('myId').fetch(300) > keys = {} > while entities: >     for o

[google-appengine] Inconsistencies in remote api data retrieval

2009-12-08 Thread bsb
I am trying to cycle through all elements of a table via the remote API, using a modification of the code snippet from http://code.google.com/appengine/articles/remote_api.html: # SNIP query =

[google-appengine] Re: Inconsistencies in remote api data retrieval

2009-12-10 Thread bsb
No ideas? Noone? I just don't understand why not all keys are retrieved every time. It doesn't make any sense... Thanks in advance, Ben On Dec 8, 6:47 pm, bsb wrote: > I am trying to cycle through all elements of a table via the remote > API, using a modification of the code sni

[google-appengine] Re: Inconsistencies in remote api data retrieval

2009-12-11 Thread bsb
silently fails.. And > prints out its current count? > > On 12/10/09, bsb wrote: > > > > > > > No ideas? Noone? I just don't understand why not all keys are > > retrieved every time. It doesn't make any sense... > > > Thanks in advance, > &g

[google-appengine] Re: Inconsistencies in remote api data retrieval

2009-12-12 Thread bsb
e for this class, if that makes any difference. Can someone from Google please look into this? Thanks, Ben On Dec 11, 2:04 pm, bsb wrote: > I doubt that, I did get some explixcit timeouts from the fetch, which > went away when I reduced the limit from 500 to 300. So, I think if it > was

[google-appengine] Re: Inconsistencies in remote api data retrieval

2009-12-13 Thread bsb
pps[-1]" to "apps[-1].key()" > in your query2 line. > > > > On Sat, Dec 12, 2009 at 6:18 PM, bsb wrote: > > I dug a bit deeper, as nobody seems to have a clue either. I printed > > all keynames that I retrieved from the datastore in the order they > &

[google-appengine] bulkloader/index bug: random number of results returned

2009-12-15 Thread bsb
I'm downloading data from the bulkloader using the command: appcfg.py download_data --config_file=ExporterFormat.py -- filename=prices.csv --kind Model_price . The command finishes without errors, but I only get 39820 entities. A quick look into the statistics on the website tells me there are at

[google-appengine] 188MB entities, 1GB data used?

2009-12-16 Thread bsb
I know this is an old story, but I still don't get it: I have ~1M entities, each one consists of a date, a reference and 2 ints. I have no custom indices or anything. The datastore statistics say that I'm using 188MB for the entities. The quota view tells me I'm using a whooping 1GB of disk space.

[google-appengine] Re: bulkloader/index bug: random number of results returned

2009-12-17 Thread bsb
is my description of the problem hard to understand? Maybe I should just file a bug report, sigh... Best, Benjamin On Dec 15, 11:24 pm, bsb wrote: > I'm downloading data from the bulkloader using the command: > > appcfg.py download_data --config_file=ExporterFormat.py -- > file

[google-appengine] Re: bulkloader/index bug: random number of results returned

2009-12-18 Thread bsb
r the help, Ben On Dec 17, 7:33 pm, Stephen wrote: > On Dec 15, 10:24 pm, bsb wrote: > > > > > It seems that the remote api sometimes uses the wrong index, or the > > index itself is broken. Either way, what happens is that the entity > > keys are occasionally retu

[google-appengine] bulkloader: No descending index on __key__, performing serial download

2009-10-18 Thread bsb
I'm struggling a bit with this. I'm trying to bulk dump an entity in my datastore. I get the following info: [INFO] Model_mobileapp: No descending index on __key__, performing serial download Now, I added the following index: - kind: Model_mobileapp properties: - name: __key__ direct

[google-appengine] Re: Remove tasks from TaskQueue

2009-10-19 Thread bsb
I'm afraid there's no way to delete tasks. The way I solve this in my app is to have a QueueControl object for each task. This is checked before the task starts. If emptyQueue == True, then the task just finishes without processing. I can then just edit that object in the data viewer and set empty

[google-appengine] Re: bulkloader: No descending index on __key__, performing serial download

2009-10-20 Thread bsb
damentally different from classical databases. At least that's my feeling. Thanks again, Ben On Oct 19, 3:02 pm, "Nick Johnson (Google)" wrote: > Hi Ben, > > On Sun, Oct 18, 2009 at 10:14 PM, bsb wrote: > > > I'm struggling a bit with this. I'm trying

[google-appengine] Re: Remove tasks from TaskQueue

2009-10-20 Thread bsb
n on > the admin page. > Would be cool for all other entities in the datastore as well ;-) > > On 19 Okt., 12:29, bsb wrote: > > > > > I'm afraid there's no way to delete tasks. The way I solve this in my > > app is to have a QueueControl object for each