[google-appengine] Re: GAE 1.6 can not import module jinja2

2012-01-16 Thread Niklas Rosencrantz
If you do import jinja2 you must download jinja2 and keep it in the app directory and it will work. The correct way of doing it however is to my knowledge from webapp2_extras import jinja2 then you don't need the local library since you're importing from webapp2. It may depend on whether you

[google-appengine] Re: GAE 1.6 can not import module jinja2

2012-01-16 Thread steve
I installed it locally and I am still unable to import jinja2, it is giving me the import jinja2 error every time. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To view this discussion on the web visit https://groups.google.com/d/msg/go

[google-appengine] Maximum length of query string in GET request

2012-01-16 Thread Vivek Puri
Can someone from AppEngine team please let me know what is the maximum acceptable query_string length for GET requests using webapp framework. Thank you -- 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] Re: fastest way to serialize db.Model(s) to json?

2012-01-16 Thread Kyle Finley
aschmid, Are you running python27? If so you should see some improvement by importing *json* instead of *simplejson*. http://stackoverflow.com/a/8191970/236564 -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To view this discussion on t

[google-appengine] Re: Unable to get dynamic backend to start on receiving browser request

2012-01-16 Thread jon
OK so this was due to my own misinterpretation of the doco. I've created a ticket to remove ambiguity in the documentation. http://code.google.com/p/googleappengine/issues/detail?id=6745&thanks=6745&ts=1326762667 On Jan 17, 5:43 am, Johan Euphrosine wrote: > What is your application id ? > > >

Re: [google-appengine] Re: fastest way to serialize db.Model(s) to json?

2012-01-16 Thread Andreas
yes i did for my rpc calls im actually handling myself atm. i didn't look at how it serializes objects but i doubt it does something different than looping over the properties and serializing them like my other function does but i might be wrong. ill check it out tomorrow i think. On Jan 16, 2

Re: [google-appengine] Re: fastest way to serialize db.Model(s) to json?

2012-01-16 Thread alex
aschmid, this might be useless to you but if it's an API-related thing you're serializing, have you considered ProtoRPC? http://code.google.com/appengine/docs/python/tools/protorpc/overview.html -- You received this message because you are subscribed to the Google Groups "Google App Engine" g

Re: [google-appengine] Potentially blocking issues as we near production: TLS/SSL, POST/PUT chunked encoding, support options

2012-01-16 Thread Cayden Meyer
Hi Jonathan, Glad to hear that you have enjoyed using App Engine for development of your application. Issues 1: I very much understand how important SSL is for App Engine users and we have been trying to get as many users as we can into the Trusted Tester Program. We have had a huge number of ap

RE: [google-appengine] Re: Why are several production issues related to DeadlineExceededErrors being ignored?

2012-01-16 Thread Brandon Wirtz
If it is a software / configuration issue in your setup then it is not down time. If you have errors on M/S you are on your own. Instances die early if you hit the soft memory limit. Likely if you have load time issues you have memory usage issues as well. -Original Message- From: googl

Re: [google-appengine] Re: fastest way to serialize db.Model(s) to json?

2012-01-16 Thread Andreas
cant really believe this is the only solution. serializing objects is not an uncommon thing to do. if this is the best and quickest way to serialize objects then i might really store not only a list of properties but the completely serialized object into a dictionary in the blobstore. On Jan 10

[google-appengine] Re: Why are several production issues related to DeadlineExceededErrors being ignored?

2012-01-16 Thread Cezary Wagner
Brandom, I think that problem of DeadlinesExceeds is different: 1st of GAE availability is not measure considering DeadlinesExceeds - it will be rather not 100%. If it not monitored it has not impact on quality. Am I wrong? This is data for the last week: Day Total checksOutages Failed che

[google-appengine] Re: Why are several production issues related to DeadlineExceededErrors being ignored?

2012-01-16 Thread Alexis
Kenneth: I'm talking HRD -- 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.

[google-appengine] Statistics data remain after I delete entities.

2012-01-16 Thread Mike_W
Hi, I have delete 2.3M entities from my app. However I still have 2.3M entities remaining almost all of which are Statistics. Is there a mechanism to remove the statistics in parallel with the entities? They consume a lot of space. Regards Mike -- You received this message because you are su

RE: [google-appengine] Potentially blocking issues as we near production: TLS/SSL, POST/PUT chunked encoding, support options

2012-01-16 Thread Brandon Wirtz
If you would like you can send me $250 a month and I’ll take your call 24/7. I’ll even pretend I care about your downtime, and that “we” are working to resolve the issue. This is 5x the price of Amazon, and ½ the price of google, but I’ll be more responsive than Google, and less of a jerk than Am

[google-appengine] Potentially blocking issues as we near production: TLS/SSL, POST/PUT chunked encoding, support options

2012-01-16 Thread Jonathan Layes
Hi folks, Our team has been developing a product for about a year on app engine (Java) and we've been very happy with it as a development platform. However, I have now reached a point where I need to decide if we can stay on GAE as we move closer to production. At the moment, there are three i

Re: [google-appengine] Re: Time lag with logging

2012-01-16 Thread Nijin Narayanan
Hey, Here is some points:- http://code.google.com/p/googleappengine/issues/detail?id=5494 if you switch the logs to PST timezone, you do see all of them. Cheers! , NN On Mon, Jan 16, 2012 at 3:57 PM, Sagi wrote: > Happens to me as well and makes it really hard to see what's going on > when

RE: [google-appengine] Re: GAE's http header length limit, bug or undocumented restriction?

2012-01-16 Thread Brandon Wirtz
I'd have to look it up, it came up a lot at Microsoft In the IPTV group. -Original Message- From: google-appengine@googlegroups.com [mailto:google-appengine@googlegroups.com] On Behalf Of tempy Sent: Monday, January 16, 2012 12:44 PM To: Google App Engine Subject: [google-appengine] Re: GA

[google-appengine] Re: GAE's http header length limit, bug or undocumented restriction?

2012-01-16 Thread tempy
Really? I tried to find something in the spec about header lengths and didn't find anything. According to this thread: http://stackoverflow.com/questions/686217/maximum-on-http-header-values there are no maximums. And where did you get the 4k number? Thanks! On Jan 16, 9:09 pm, "Brandon Wirtz" wr

RE: [google-appengine] GAE's http header length limit, bug or undocumented restriction?

2012-01-16 Thread Brandon Wirtz
400 is the specification limit for http header elements. (actually I think it is 400 characters converted to Base64) Most things don't break if you go over this, The max size for all Http Headers is 4k -Original Message- From: google-appengine@googlegroups.com [mailto:google-appengine@g

[google-appengine] Error in some instances

2012-01-16 Thread LSH
Hi, I am getting this error in a GAE/Py app 1. ms=2116 cpu_ms=5152 api_cpu_ms=3612 cpm_usd=0.143288 instance=00c61b117c9067bd7cc893963797b9a4bbb358 2. E 2012-01-16 20:24:10.269 Traceback (most recent call last): 3. E 2012-01-16 20:24:10.269 File "/

Re: [google-appengine] Persistence Error

2012-01-16 Thread Victor Perticarrari
It was a concurrency error. Thanks! 2012/1/15 Amy Unruh > Victor, > > Your example is a bit abstract, but a general test (e.g., see this code > snippet - http://pastebin.com/u6RHWqe6 ) works fine. You might double > check that your instances do have the intended content prior to persisting > t

Re: [google-appengine] Re: Unable to get dynamic backend to start on receiving browser request

2012-01-16 Thread Johan Euphrosine
What is your application id ? On Mon, Jan 16, 2012 at 2:17 PM, jon wrote: > Upgrated to GAE/J 1.6.1.1. Still no luck. Anybody? > > On Jan 16, 5:13 pm, jon wrote: > > Hi, > > > > I've read and re-read the documentation and have tried various things > > but I haven't been able to get dynamic back

[google-appengine] GAE's http header length limit, bug or undocumented restriction?

2012-01-16 Thread tempy
Hi All, I've hit a behavior that doesn't exist on the dev-server, which is that custom http headers on the response seem to be limited to around 400 characters. One custom header that I'm using which is regularly about 700 chars is simply silently dropped from the response. Firstly - this restric

RE: [google-appengine] Re: Why are several production issues related to DeadlineExceededErrors being ignored?

2012-01-16 Thread Brandon Wirtz
I agree multiple imports is not supposed to be a problem, but I have seen it cause issues, or seen issues be resolved by not doing it. Remember that the Google Implementation of Python has its own "Specialness" and what is true in traditional python is not always quite the same in GAE land. Fro

[google-appengine] Not able to deploy application with GAE 1.6.1

2012-01-16 Thread Deepak Singh
Hi All, I recently upgraded to GAE 1.6.1. When i deploy my app through Eclipse deploy option, it gives me Invalid OATH exception. And when i do rollback through command prompt, it gives me the following exception Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version n u

[google-appengine] Not able to deploy application with 1.6.1

2012-01-16 Thread Deepak Singh
Hi All, I recently upgraded to GAE 1.6.1. When i deploy my app through Eclipse deploy option, it gives me Invalid OATH exception. And when i do rollback through command prompt, it gives me the following exception Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version n u

Re: [google-appengine] Re: Why are several production issues related to DeadlineExceededErrors being ignored?

2012-01-16 Thread Karl Rosaen
Kenneth, Agreed that running on the master / slave datastore is a liability these days (which IMO is pretty irresponsible on GAEs part, I see no reason why major latency spikes can't be avoided even if there are advantages to the high replication datastore and we can eventually migrate. If we

Re: [google-appengine] Re: Why are several production issues related to DeadlineExceededErrors being ignored?

2012-01-16 Thread Karl Rosaen
Brandon, thanks so much for taking the time to put together the video, very helpful. The key insight seem to be: time spent in the queue waiting for a frontend counts towards the limit for a DeadlineExceedError. This seems silly - seems to me user visible latency, and framework level timeout e

Re: [google-appengine] Re: Why are several production issues related to DeadlineExceededErrors being ignored?

2012-01-16 Thread Kenneth
Are we talking master slave or high replication datastores? If we're talking master slave, and I'm pretty certain we are, then forget it. Google isn't going to help you. You need to migrate to hrd to avoid these problems. My life was hell with deadline errors. Then I bit the bullet and mig

[google-appengine] Re: Unable to get dynamic backend to start on receiving browser request

2012-01-16 Thread jon
Upgrated to GAE/J 1.6.1.1. Still no luck. Anybody? On Jan 16, 5:13 pm, jon wrote: > Hi, > > I've read and re-read the documentation and have tried various things > but I haven't been able to get dynamic backend to start automatically > on receiving user request. > > Here's my config: > > >   >

RE: [google-appengine] Re: Why are several production issues related to DeadlineExceededErrors being ignored?

2012-01-16 Thread Brandon Wirtz
We may have to get someone from GOOG to weigh in. Requests have a 60s time limit, but from testing it seems that Initialization has a 15s limit. I don't know if this is a bug, a feature, or a flaw in my testing. Also my "best practices" doesn't guarantee to fix everything, there could still be a

[google-appengine] Re: Time lag with logging

2012-01-16 Thread Sagi
Happens to me as well and makes it really hard to see what's going on when troubleshooting issues. On Dec 7 2011, 2:55 am, Jane Abernethy wrote: > Hi, > > I am noticing a bit of a time lag with logging - I'll log something, call > the method and the logs wont update for about 15 minutes. Is anyo

[google-appengine] Re: Why are several production issues related to DeadlineExceededErrors being ignored?

2012-01-16 Thread Alexis
Thanks for the shot! Here are some comments: - isn't the limit 60sec instead of 15sec? - We indeed have the pending latency slider set to default, but out of our 12 instances we have 3 resident ones, so the slider will have little effect on our application's performance. - Requests that DEE typ