[google-appengine] Cannot Properly Catch DeadlineExceededError

2009-02-22 Thread lenza
. (I) 02-22 09:31PM 05.653 About to write normal result message When I request /test?sleep=0 I get the expected This operation could not be completed in time... message page. Anyone know what's up with this? Thanks for any help! -Lenza --~--~-~--~~~---~--~~ You

[google-appengine] Re: Cannot Properly Catch DeadlineExceededError

2009-02-24 Thread lenza
Server Error that says: Google Error Server Error The server encountered a temporary error and could not complete your request. Please try again in 30 seconds. What is this page? On Feb 23, 10:53 am, Marzia Niccolai ma...@google.com wrote: Hi Lenza, This works for me

[google-appengine] Re: Automatic GAE login from Android

2009-02-24 Thread lenza
. For simplicity I left out the error checking. Lenza http://blog.lenza.org On Feb 24, 6:39 am, Faber Fedor faberfe...@gmail.com wrote: I'm trying to get my Android app to login to my GAE app and download some data.  I have the name and password of the user stored in the Android app. I can't find

[google-appengine] Re: Cannot Properly Catch DeadlineExceededError

2009-02-24 Thread lenza
but going through my domain fails: http://apartmenthunter.lenza.org/test?sleep=35 This give you any ideas? Thanks again for your help! -Lenza On Feb 24, 1:20 pm, Marzia Niccolai ma...@google.com wrote: Hi, I really am out of ideas since it works perfectly for me (seehttp

[google-appengine] Re: How to use remote_api?

2009-02-25 Thread lenza
variables? Where can I get more information about what these are? While trying to figure this out I noticed that the remote_api requires administrator access even if your app.yaml has no login line. Maybe that's a good idea... but definitely a little counter intuitive. Lenza blog.lenza.org On Feb

[google-appengine] Re: Sporadic Unicode error in POST queries

2009-02-25 Thread lenza
: # string contains bad values logging.warn(Encoding bad string with escapes: + str ([ch for ch in value])) value = unicode(str(value).encode('string_escape')) return super(db.StringProperty, self).validate(value) Lenza blog.lenza.org On Feb 25, 1:17 pm, Brian

[google-appengine] Re: Urlfetch returns 400 error on production but not on dev

2009-02-25 Thread lenza
How many URLs are you fetching. It could be that you are running out of time on the appengine where each request is limited to 30 seconds. What do you see in the appengine logs? Lenza blog.lenza.org On Feb 25, 10:04 am, mmauctiva mmann...@auctiva.com wrote: I have an app that loops over

[google-appengine] Can Google Apps Account be an Administrator?

2009-02-26 Thread lenza
I signed up for GAE using my Google Apps account, not a gmail.com account. I can access the administrator console with this account. However, I cannot access pages where I have login: admin set. Also users.is_current_user_admin() returns False when signed into my Google Apps account. I also

[google-appengine] Re: datetime.strptime works in python but fails in app engine

2009-02-27 Thread lenza
python gurus out there know a reliable way to convert from a string that contains a timezone to a UTC datetime? Lenza blog.lenza.org On Feb 24, 11:47 am, lenza le...@lenza.org wrote: I am trying to parse dates in an App Engine app. datetime.datetime.strptime is failing with a format error

[google-appengine] Expected Database Performance with Millions of Rows?

2009-03-09 Thread lenza
App Engine. Here is the situation: I have a database with about about 50k rows of type A, and maybe 500k rows of type B. Type A contains: - ReferenceProperty (to type B) - DateTimeProperty - IntegerPropery - 3 x StringProperty (at most 5 bytes each) I am performing the following

[google-appengine] Re: Expected Database Performance with Millions of Rows?

2009-03-10 Thread lenza
of? On Mar 10, 1:23 am, lenza le...@lenza.org wrote: App Engine.  Here is the situation: I have a database with about about 50k rows of type A, and maybe 500k rows of type B. Type A contains:   - ReferenceProperty (to type B)   - DateTimeProperty   - IntegerPropery   - 3 x

[google-appengine] Re: Programmitcally doing authentication with Google Account

2009-03-10 Thread lenza
are you trying to do? Lenza blog.lenza.org On Mar 10, 12:13 pm, Ritesh Nadhani rite...@gmail.com wrote: Hi Can I dynamically authenticate a user with Google Accounts? Then I can use users.get_current_user(). -- Riteshhttp://www.riteshn.com