[google-appengine] Re: app engine is down?

2010-02-24 Thread livibetter
Just curios, anyone here has fully prepared for this unexpected outage? Show off you app with nice error message page! Things like http://www.giftag.com/ doesn't count, only one plain text: You've encountered a problem with giftag.com We've been notified of this issue and are working to resolve

[google-appengine] Re: Internationalization in GAE using webapp

2009-03-23 Thread livibetter
Last month, I wrote a blog posting Using Django's I18N in Google App Engine. A simple demo [2] comes with the posting. I also used on an actual GAE app called I Thank [3], you can switch the language via Settings on top-right corner. Hope the doc can solve your questions. [1]

[google-appengine] Re: Internationalization in GAE using webapp

2009-03-23 Thread livibetter
Interesting ... however I am not very sure about {%trans %} blocks ... I left you a *quick* message in your blog since I would not like to start a flamewar here ... and I still wanna know your (and everybody else's ... ;) opinion about that ... ;) I have left comment on my blog. So I leave

[google-appengine] Re: deserialize json to python object

2009-02-10 Thread livibetter
On Feb 10, 5:23 pm, Rein Petersen rein.peter...@gmail.com wrote:     obj = simplejson.loads({'id':'KS1-0','type':'activity','units': 1,'priceper':450}) The string of JSON is wrapped with double quote. ( http://json.org/ ) This will work obj = simplejson.loads('{id:KS1-0,type:activity,units:

[google-appengine] Chinese characters caus es ServerError 网页中有汉字,就会产生错误

2009-01-22 Thread livibetter
(I edited the subject, many English speakers may not know this post is written in Chinese) I have tried this on Linux if I have this script in GB2312, I got no error but a warning: WARNING 2009-01-22 21:55:14,652 __init__.py] Response written is not UTF-8: 'utf8' codec can't decode byte 0xa3

[google-appengine] Re: Timeouts

2009-01-06 Thread livibetter
I just got three timeouts about an hour ago within 10 minutes to my app (appid: brps), all generated same traceback. They happened at: 01-05 11:50AM 18.670 01-05 11:50AM 13.719 01-05 11:41AM 50.052 It's not a big deal to me, just want to provide the info. But I do have a question, can we catch