[google-appengine] Dynamically scheduled Cron Jobs?

2009-04-08 Thread Michael Bailey

>From the documentation it looks like the Cron Job schedule is static.

Is there a way to programatically add cronjobs ( with a server-side
python/java API)?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] A server error has occured.

2008-09-20 Thread Michael Bailey

http://appengine.google.com/datastore/explorer?app_id=amexlabs-bpm&kind=Keyword&viewby=kind&query=&limit=20&offset=20

Going to this url I get:

Server Error

A server error has occured.

Any thoughts from the app-engine team?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Delete all data for a kind

2008-09-20 Thread Michael Bailey

I would like to wipe out all data for a specific kind. What is the
best way to do this?
I wrote a delete script (hack), but since there is so much data is
timeout's out after a few hundred records.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Timeout - operation took too long

2008-09-19 Thread Michael Bailey

I got the error below on a app that has almost zero traffic:
see screenshot:
http://imagebin.ca/img/3rlwzkBy.png

Traceback (most recent call last):
  File "/base/python_lib/versions/1/google/appengine/ext/webapp/
__init__.py", line 496, in __call__
handler.get(*groups)
  File "/base/data/home/apps/***/1.4/search.py", line 25, in get
for kw in kws:
  File "/base/python_lib/versions/1/google/appengine/ext/db/
__init__.py", line 1257, in __iter__
return self.run()
  File "/base/python_lib/versions/1/google/appengine/ext/db/
__init__.py", line 1589, in run
query_run = self._proto_query.Run(*self._args, **self._kwds)
  File "/base/python_lib/versions/1/google/appengine/ext/gql/
__init__.py", line 572, in Run
it = bind_results.Run()
  File "/base/python_lib/versions/1/google/appengine/ext/gql/
__init__.py", line 1211, in Run
results.append(bound_query.Run())
  File "/base/python_lib/versions/1/google/appengine/api/
datastore.py", line 860, in Run
return self._Run()
  File "/base/python_lib/versions/1/google/appengine/api/
datastore.py", line 879, in _Run
apiproxy_stub_map.MakeSyncCall('datastore_v3', 'RunQuery', pb,
result)
  File "/base/python_lib/versions/1/google/appengine/api/
apiproxy_stub_map.py", line 46, in MakeSyncCall
stub.MakeSyncCall(service, call, request, response)
  File "/base/python_lib/versions/1/google/appengine/runtime/
apiproxy.py", line 246, in MakeSyncCall
rpc.CheckSuccess()
  File "/base/python_lib/versions/1/google/appengine/runtime/
apiproxy.py", line 189, in CheckSuccess
raise self.exception
OverQuotaError: The API call datastore_v3.RunQuery() required more
quota than is available.


On Sep 10, 1:16 pm, Ronald <[EMAIL PROTECTED]> wrote:
> Hi,
> I'm seeing a number of Timeout errors on my log file:
>
> Traceback (most recent call last):
>   File "/base/python_lib/versions/1/google/appengine/ext/webapp/
> __init__.py", line 496, in __call__
>     handler.get(*groups)
>   File "/base/data/home/apps/40tazo/2.29/index.py", line 46, in get
>     moves = g.move(card,pickups)
>   File "/base/data/home/apps/40tazo/2.29/game.py", line 231, in move
>     self.save()
>   File "/base/data/home/apps/40tazo/2.29/game.py", line 290, in save
>     self.g.put()
>   File "/base/python_lib/versions/1/google/appengine/ext/db/
> __init__.py", line 618, in put
>     return datastore.Put(self._entity)
>   File "/base/python_lib/versions/1/google/appengine/api/
> datastore.py", line 162, in Put
>     raise _ToDatastoreError(err)
>   File "/base/python_lib/versions/1/google/appengine/api/
> datastore.py", line 1627, in _ToDatastoreError
>     raise errors[err.application_error](err.error_detail)
> Timeout: datastore timeout: operation took too long.
>
> In this 
> thread:http://groups.google.com/group/google-appengine/browse_thread/thread/...,
> someone describes a similar problem and Jeff Scudder reply that we
> should spect some increase latency until Tuesday 9/2.
>
> Is this increased latency still an issue?
> If that's not the case, any suggestions about how to troubleshoot this
> issue?
>
> Greetings
> Ronald
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Updating Appengine from behind a corporate proxy

2008-09-09 Thread Michael Bailey

It is well documented the urllib2 does not work with https thru a
proxy. App Engine trys to connect to a https URL using urllib2 to
update the app.
It gives this error:

urllib2.URLError: 

This is sited as a work around: http://code.activestate.com/recipes/456195/.
Does any one have a version of the app engine SDK that integrates this
fix? Does anyone have any other work arounds? I sure I am not the only
one behind a corporate proxy.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---