[appengine-java] Can't deploy again despite fix announcement
Hi, A fix was announced for the issue around appl deployment via console: http://groups.google.com/group/google-appengine-downtime-notify/browse_thread/thread/2a9cbf7b5a9202cc# I still get errors and can't deploy. I get message Received IOException parsing the input stream for /war/WEB-INF/web.xml Can somebody from Google update us on the issue ? regards didier -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Can't deploy again despite fix announcement
Hi, Same situation here. AppID: domodentweb Regards, Cristian Babula. On 15 Nov, 10:30, Didier Durand durand.did...@gmail.com wrote: Hi, A fix was announced for the issue around appl deployment via console:http://groups.google.com/group/google-appengine-downtime-notify/brows... I still get errors and can't deploy. I get message Received IOException parsing the input stream for /war/WEB-INF/web.xml Can somebody from Google update us on the issue ? regards didier -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: GAE or EC2
Hi Muhammad, here is a quick response: - read the datanucleus documentation on JDO for a general background - read the Datastore, Queries, Indexes and Relationships documentation from App Engine (we use Java API) for the set of restrictions they place on using JDO with the GAE datastore. - avoid using GAE specific types and APIs (e.g. Don't use Key, use Long, etc). That is what leads to most of the restrictions on what you can and can't do with JDO on datastore. such as having both Parent and child persistent objects with Long keys...etc - I expect that JDO on MySql has some restrictions also. I am not familiar with them, but our developer ran into a few of them. - we are looking at using namespaces for the datastore, and might create an emulation of it on MySql to keep our application code portable... From that you get a kind of sub-set of what can and can´t be done with JDO on GAE/MySql, and leads to you having to manage child object storage via keys manually. Then off course, set up your project to be able to be built and ran on Tomcat/MySQL with little extra effort, and test on that other platform regularly and as part of your test and release process. It IS extra work, no doubt about that, even after the initial learning and experimenting. More coding, and more testing If there was a common place to share experiences in these attempts at portability (e.g. a wiki?) then we'd be happy to contribute to it, and learn from it... not sure to what extend Google (with it´s cloud portability goals) would be willing to host/contrinbute to that -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Can't deploy again despite fix announcement
I also still have the same issue. One week and counting.. AppIDs: kanal5play, kanalnio //Joakim On Nov 15, 10:49 am, nicanor.babula nicanor.bab...@gmail.com wrote: Hi, Same situation here. AppID: domodentweb Regards, Cristian Babula. On 15 Nov, 10:30, Didier Durand durand.did...@gmail.com wrote: Hi, A fix was announced for the issue around appl deployment via console:http://groups.google.com/group/google-appengine-downtime-notify/brows... I still get errors and can't deploy. I get message Received IOException parsing the input stream for /war/WEB-INF/web.xml Can somebody from Google update us on the issue ? regards didier -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Can't deploy again despite fix announcement
The same, although from time to time deployment works. AppID: javagrond. On Nov 15, 12:30 pm, Didier Durand durand.did...@gmail.com wrote: Hi, A fix was announced for the issue around appl deployment via console:http://groups.google.com/group/google-appengine-downtime-notify/brows... I still get errors and can't deploy. I get message Received IOException parsing the input stream for /war/WEB-INF/web.xml Can somebody from Google update us on the issue ? regards didier -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Does that datastore mains sort order for list properties?
Hello, We are using the low level API, it unclear from the documentation if the sort order is maintained in list properties? So for example, if I serialize int[] intArray = { 1, 2, 3}, can I always expect to receive back {1 , 2, 3} or is it possible that the order will be randomized? Thank you, Maxim. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Does that datastore mains sort order for list properties?
Hi, Even though an array is not a Collection per say, it seems that because of http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/Entity.html#setProperty%28java.lang.String,%20java.lang.Object%29, you have to be careful with the order of items in an array as it says All Collections are prone to losing their sort order and their original types as they are stored in the datastore. For example, a TreeSet may be returned as a List from getProperty(java.lang.String), with an arbitrary re-ordering of elements. Hope it helps didier On Nov 15, 3:21 pm, Maxim Veksler ma...@vekslers.org wrote: Hello, We are using the low level API, it unclear from the documentation if the sort order is maintained in list properties? So for example, if I serialize int[] intArray = { 1, 2, 3}, can I always expect to receive back {1 , 2, 3} or is it possible that the order will be randomized? Thank you, Maxim. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Can't deploy again despite fix announcement
No single deployment succeeded today. Tried since ~5 hours on several apps, all are getting timeouts... On Nov 15, 2:55 pm, ArtemGr artem...@gmail.com wrote: The same, although from time to time deployment works. AppID: javagrond. On Nov 15, 12:30 pm, Didier Durand durand.did...@gmail.com wrote: Hi, A fix was announced for the issue around appl deployment via console:http://groups.google.com/group/google-appengine-downtime-notify/brows... I still get errors and can't deploy. I get message Received IOException parsing the input stream for /war/WEB-INF/web.xml Can somebody from Google update us on the issue ? regards didier -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Re: Does that datastore mains sort order for list properties?
It does, thank you very much. On Mon, Nov 15, 2010 at 4:47 PM, Didier Durand durand.did...@gmail.comwrote: Hi, Even though an array is not a Collection per say, it seems that because of http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/Entity.html#setProperty%28java.lang.String,%20java.lang.Object%29 , you have to be careful with the order of items in an array as it says All Collections are prone to losing their sort order and their original types as they are stored in the datastore. For example, a TreeSet may be returned as a List from getProperty(java.lang.String), with an arbitrary re-ordering of elements. Hope it helps didier On Nov 15, 3:21 pm, Maxim Veksler ma...@vekslers.org wrote: Hello, We are using the low level API, it unclear from the documentation if the sort order is maintained in list properties? So for example, if I serialize int[] intArray = { 1, 2, 3}, can I always expect to receive back {1 , 2, 3} or is it possible that the order will be randomized? Thank you, Maxim. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Re: Can't deploy again despite fix announcement
What I do is close all files, close Eclipse, start Eclipse, select the project and do a deploy. It skips the GWT compilation (says GWT already compiled) and half of the time it works. On 11/15/2010 06:10 PM, dflorey wrote: No single deployment succeeded today. Tried since ~5 hours on several apps, all are getting timeouts... On Nov 15, 2:55 pm, ArtemGrartem...@gmail.com wrote: The same, although from time to time deployment works. AppID: javagrond. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Re: Can't deploy again despite fix announcement
Initially, your strategy worked fine for me, but it's no longer the case... Sent using a Sony Ericsson mobile phone Original message From: Artem artem...@gmail.com Sent: To: google-appengine-java@googlegroups.com Subject: Re: [appengine-java] Re: Can't deploy again despite fix announcement What I do is close all files, close Eclipse, start Eclipse, select the project and do a deploy. It skips the GWT compilation (says GWT already compiled) and half of the time it works. On 11/15/2010 06:10 PM, dflorey wrote: No single deployment succeeded today. Tried since ~5 hours on several apps, all are getting timeouts... On Nov 15, 2:55 pm, ArtemGrartem...@gmail.com wrote: The same, although from time to time deployment works. AppID: javagrond. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Does that datastore mains sort order for list properties?
From my reading and experience, the type of collection type used will determine if order is preserved. To maintain the ordering, a system field is added to the values. This may impact the CUD operations performance. I don't need to keep the order in my current app so I am using Set for my property list, which does not involve any overhead. R. On Nov 15, 10:11 am, Maxim Veksler ma...@vekslers.org wrote: It does, thank you very much. On Mon, Nov 15, 2010 at 4:47 PM, Didier Durand durand.did...@gmail.comwrote: Hi, Even though an array is not a Collection per say, it seems that because of http://code.google.com/appengine/docs/java/javadoc/com/google/appengi... , you have to be careful with the order of items in an array as it says All Collections are prone to losing their sort order and their original types as they are stored in the datastore. For example, a TreeSet may be returned as a List from getProperty(java.lang.String), with an arbitrary re-ordering of elements. Hope it helps didier On Nov 15, 3:21 pm, Maxim Veksler ma...@vekslers.org wrote: Hello, We are using the low level API, it unclear from the documentation if the sort order is maintained in list properties? So for example, if I serialize int[] intArray = { 1, 2, 3}, can I always expect to receive back {1 , 2, 3} or is it possible that the order will be randomized? Thank you, Maxim. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Can't deploy again despite fix announcement
Any news on this? On Nov 15, 4:19 pm, Cristian Nicanor Babula nicanor.bab...@gmail.com wrote: Initially, your strategy worked fine for me, but it's no longer the case... Sent using a Sony Ericsson mobile phone Original message From: Artem artem...@gmail.com Sent: To: google-appengine-java@googlegroups.com Subject: Re: [appengine-java] Re: Can't deploy again despite fix announcement What I do is close all files, close Eclipse, start Eclipse, select the project and do a deploy. It skips the GWT compilation (says GWT already compiled) and half of the time it works. On 11/15/2010 06:10 PM, dflorey wrote: No single deployment succeeded today. Tried since ~5 hours on several apps, all are getting timeouts... On Nov 15, 2:55 pm, ArtemGrartem...@gmail.com wrote: The same, although from time to time deployment works. AppID: javagrond. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Output encoding / JPEG does not seem to work
When I use a lower quality encoding, the size of the resulting photo is the same not matter what. JPEG 100 or JPEG 60 gives me the exact same image size when applying a couple transformations. I tried with different types of photos, same result. Anyone had success with tweaking the encoding quality ? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Bulk uploader not working reliably
Hi all, I've been struggling to get the Python bulk uploader working reliably with my Java GAE app. My bulkuploader.yaml is correct (I think) yet sometimes when I'm partway through uploading a CSV file the uploader barfs with the error shown at the bottom of this post. The log viewer in GAE shows the warning com.google.apphosting.api.DeadlineExceededException: This request (a5a74b909963ecc7) started at 2010/11/15 16:28:41.971 UTC and was still executing at 2010/11/15 16:29:11.422 UTC. - I'm not sure this is relevant though. My CSV file is 500,000 lines. I split it up into 15,000-line files but it's hit and miss as to whether those smaller files upload. I reduced the number of worker threads, bandwidth limit, batch size, etc, but that didn't seem to make the uploader more reliable. I guess I could change my app to use app-assigned IDs for keys so I don't get duplicate entities when I re-upload a file that's failed partway through, but it'd be great to know why the bulk uploader doesn't work out of the box. Is anyone else having this problem and is there a simple solution or workaround? Thanks in advance Andrew. [ERROR ] [WorkerThread-1] WorkerThread: Traceback (most recent call last): File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/adaptive_thread_pool.py, line 150, in WorkOnItems status, instruction = item.PerformWork(self.__thread_pool) File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/bulkloader.py, line 691, in PerformWork transfer_time = self._TransferItem(thread_pool) File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/bulkloader.py, line 848, in _TransferItem self.request_manager.PostEntities(self.content) File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/bulkloader.py, line 1300, in PostEntities datastore.Put(entities) File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/api/datastore.py, line 291, in Put 'datastore_v3', 'Put', req, datastore_pb.PutResponse(), rpc) File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/api/datastore.py, line 195, in _MakeSyncCall rpc.check_success() File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/api/apiproxy_stub_map.py, line 499, in check_success self.__rpc.CheckSuccess() File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/api/apiproxy_rpc.py, line 149, in _WaitImpl self.request, self.response) File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/ext/remote_api/remote_api_stub.py, line 224, in MakeSyncCall handler(request, response) File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/ext/remote_api/remote_api_stub.py, line 350, in _Dynamic_Put 'datastore_v3', 'Put', put_request, put_response) File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/ext/remote_api/remote_api_stub.py, line 156, in MakeSyncCall self._MakeRealSyncCall(service, call, request, response) File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/ext/remote_api/remote_api_stub.py, line 178, in _MakeRealSyncCall raise UnknownJavaServerError(An unknown error has occured in the UnknownJavaServerError: An unknown error has occured in the Java remote_api handler for this call. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Cannot get cp1251 encoding query parameters
Hi all. I use application created with Java SDK. In my servlet I get query parameters so: item1=new String(request.getParameter(item1).getBytes(ISO-8859-1), Cp1251); In Tomcat it works perfectly but in GAE I got so characters Who can help me? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] java samples (demos) link
This Link might be handy for new comers http://code.google.com/p/googleappengine/source/browse/trunk/java#java/demos -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Image loading in Java app
When my GAE application initially loads, the CSS background image only loads halfway for a moment and then loads fully. Also the image on the anonymous page also loads slowly. Is there a way to optimize image loading in for background images and for Image widgets? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Server Error when attempting to delete specific version
Hello, I am getting an error when trying to delete version 9 of my application. I can add/delete other version without an issue. If I try to delete version 9 I get: A server error has occurred. Any help would be greatly appreciated. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] GregorianCalendar source packages
my application requires Calendar functions to determine what day of week a date is (etc.) which I have implemented via Java.util.GregorianCalendar (which is listed on Google App Engine JRE Class White List) however I am not able to compile such programs in Eclipse GWT I get error message: java.util.GregorianCalendar can not be found in source packages. Check the inheritance chain from your module might someone offer a clue as to why Eclipse GWT seems not to be able to find the sounces which are indeed in the GWK Compile JDK: C\Program Files\Java \jdk1.6.0_22\src\util\ directory on my 64 bit Vista -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Re: Can't deploy again despite fix announcement
Does anyone have a stack trace if an exception is thrown? Will deploy work after a rollback? -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Mon, Nov 15, 2010 at 9:45 AM, dflorey daniel.flo...@gmail.com wrote: Any news on this? On Nov 15, 4:19 pm, Cristian Nicanor Babula nicanor.bab...@gmail.com wrote: Initially, your strategy worked fine for me, but it's no longer the case... Sent using a Sony Ericsson mobile phone Original message From: Artem artem...@gmail.com Sent: To: google-appengine-java@googlegroups.com Subject: Re: [appengine-java] Re: Can't deploy again despite fix announcement What I do is close all files, close Eclipse, start Eclipse, select the project and do a deploy. It skips the GWT compilation (says GWT already compiled) and half of the time it works. On 11/15/2010 06:10 PM, dflorey wrote: No single deployment succeeded today. Tried since ~5 hours on several apps, all are getting timeouts... On Nov 15, 2:55 pm, ArtemGrartem...@gmail.com wrote: The same, although from time to time deployment works. AppID: javagrond. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group athttp:// groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Re: Can't deploy again despite fix announcement
Here it is: http://paste.pocoo.org/show/291784/ On 11/16/2010 01:29 AM, Ikai Lan (Google) wrote: Does anyone have a stack trace if an exception is thrown? Will deploy work after a rollback? -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com http://googleappengine.blogspot.com/ Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Sorting by multiple properties in code example?
Hi, In an effort to squeeze the very last bit of performance from AppEngine I'm moving the our application to use getDatastoreService().get(ListKey) type of fetch operations instead of current implementation which uses Query SortDirection. This leads to to having to sort in memory, which is fine because the result set is relatively small results and is cached after initial fetch. Question is how to do the in memory sort elegantly, should I go with Arrays.sort(T[] a, Comparator? super T) or do you know some lightweight framework that is build specifically for these purposes (think collations sorting order) ? I would appreciate example or two for code that does multiple property sorting with DataStore objects. Thank you, Maxim. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Re: Timeout while deploying
I replied in another thread about this. Can you guys look into your web.xml and replace: !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; with: web-app xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns=http://java.sun.com/xml/ns/javaee; xmlns:web= http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd; xsi:schemaLocation=http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd; version=2.5 -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Mon, Nov 15, 2010 at 2:55 AM, Joakim Söderström joakim.soderst...@gmail.com wrote: Out of curiosity, I created a app from scratch using the plugin for eclipse. I used GAE 1.3.8 and GWT 2.1.0 and made no changes whatsoever. When I try to deploy this app, I get exactly the same issue. On Nov 13, 4:13 pm, nicanor.babula nicanor.bab...@gmail.com wrote: Hi, Sure thing! appId: domodentweb and here is appengine.xml: [code] ?xml version=1.0 encoding=utf-8? appengine-web-app xmlns=http://appengine.google.com/ns/1.0; applicationdomodentweb/application version2g/version sessions-enabledtrue/sessions-enabled precompilation-enabledtrue/precompilation-enabled !-- Configure java.util.logging -- system-properties property name=java.util.logging.config.file value=WEB-INF/ logging.properties/ property name=com.google.gdata.DisableCookieHandler value=true/ /system-properties admin-console page name=Gestione account url=/admin/ / page name=Importazione treatments url=/admin/ importTreatments.jsp / /admin-console /appengine-web-app [/code] On 12 Nov, 21:38, Joakim Söderström joakim.soderst...@gmail.com wrote: Sure, here are the appengine-web.xml files of our two main apps. I hope this helps! //Joakim 2010/11/12 Ikai Lan (Google) ikai.l+gro...@google.com ikai.l%2bgro...@google.com ikai.l%2bgro...@google.com ikai.l%252bgro...@google.com Do you guys have a sample appengine-web.xml and application IDs? -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger:http://googleappengine.blogspot.com Reddit:http://www.reddit.com/r/appengine Twitter:http://twitter.com/app_engine On Fri, Nov 12, 2010 at 2:00 AM, Didier Durand durand.did...@gmail.comwrote: Hi Same thing here: I noticed that the messages in the deploying script have changed a little bit. I guess that Google team has made / is making an update on the infrastructure and it brings some issues... Some patience will probably solve it ;-) didier On Nov 12, 10:43 am, nicanor.babula nicanor.bab...@gmail.com wrote: Hi, I am experiencing the same problem with my application ID: domodentweb com.google.apphosting.utils.config.AppEngineConfigException: Received IOException parsing the input stream for G:/eclipseWorkspaces/ workspace_jee_galileo/domodentweb/war\WEB-INF/web.xml at com.google.apphosting.utils.config.AbstractConfigXmlReader.getTopLevelNode( AbstractConfigXmlReader.java: 210) at com.google.apphosting.utils.config.AbstractConfigXmlReader.parse(AbstractCo nfigXmlReader.java: 228) at com.google.apphosting.utils.config.WebXmlReader.processXml(WebXmlReader.jav a: 142) at com.google.apphosting.utils.config.WebXmlReader.processXml(WebXmlReader.jav a: 22) at com.google.apphosting.utils.config.AbstractConfigXmlReader.readConfigXml(Ab stractConfigXmlReader.java: 111) at com.google.apphosting.utils.config.WebXmlReader.readWebXml(WebXmlReader.jav a: 73) at com.google.appengine.tools.admin.Application.init(Application.java: 105) at com.google.appengine.tools.admin.Application.readApplication(Application.ja va: 151) at com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.createAppAdmin( AppEngineBridgeImpl.java: 204) at com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.deploy(AppEngin eBridgeImpl.java: 265) at com.google.appengine.eclipse.core.deploy.DeployProjectJob.runInWorkspace(De ployProjectJob.java: 146) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorksp aceJob.java: 38) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native
Re: [appengine-java] Re: Can't deploy again despite fix announcement
Okay, just got confirmation that the reason this isn't working intermittently is related to having DOCTYPE in web.xml. Do you guys have a line in your web.xml that looks like this? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; If so, can you replace it with this? web-app xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns=http://java.sun.com/xml/ns/javaee; xmlns:web= http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd; xsi:schemaLocation=http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd; version=2.5 The reason this issue occurs is that a deploy will attempt to retrieve the DTD, but if the server is overloaded or not responsive, the deploy operation will just time out. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Mon, Nov 15, 2010 at 3:09 PM, Artem artem...@gmail.com wrote: Here it is: http://paste.pocoo.org/show/291784/ On 11/16/2010 01:29 AM, Ikai Lan (Google) wrote: Does anyone have a stack trace if an exception is thrown? Will deploy work after a rollback? -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Upload to Blob Storage from Silverlight 4
Hello Patrick, I am facing problem when I use request dispatcher to upload file. Please provide me detail about how you overcome this problem. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Can't deploy again despite fix announcement
Ikai, suggestion for your deploy process: would it be possible to generate a warning in the console output of the deploy if we used the wrong DOCTYPE line int he source code that App Engine parses: that would allow people to fix their source code quickly even if they didn't read this thread regards didier On Nov 16, 1:46 am, Ikai Lan (Google) ikai.l+gro...@google.com wrote: Okay, just got confirmation that the reason this isn't working intermittently is related to having DOCTYPE in web.xml. Do you guys have a line in your web.xml that looks like this? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; If so, can you replace it with this? web-app xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns=http://java.sun.com/xml/ns/javaee; xmlns:web=http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd; xsi:schemaLocation=http://java.sun.com/xml/ns/javaeehttp://java.sun.com/xml/ns/javaee/web-app_2_5.xsd; version=2.5 The reason this issue occurs is that a deploy will attempt to retrieve the DTD, but if the server is overloaded or not responsive, the deploy operation will just time out. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger:http://googleappengine.blogspot.com Reddit:http://www.reddit.com/r/appengine Twitter:http://twitter.com/app_engine On Mon, Nov 15, 2010 at 3:09 PM, Artem artem...@gmail.com wrote: Here it is:http://paste.pocoo.org/show/291784/ On 11/16/2010 01:29 AM, Ikai Lan (Google) wrote: Does anyone have a stack trace if an exception is thrown? Will deploy work after a rollback? -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger:http://googleappengine.blogspot.com Reddit:http://www.reddit.com/r/appengine Twitter:http://twitter.com/app_engine -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Can't deploy again despite fix announcement
This solves my issues, thanks Ikai! Suggestion: make sure that the Eclipse plugin doesn't generate a web.xml with DOCTYPE set. On Nov 16, 7:19 am, Didier Durand durand.did...@gmail.com wrote: Ikai, suggestion for your deploy process: would it be possible to generate a warning in the console output of the deploy if we used the wrong DOCTYPE line int he source code that App Engine parses: that would allow people to fix their source code quickly even if they didn't read this thread regards didier On Nov 16, 1:46 am, Ikai Lan (Google) ikai.l+gro...@google.com wrote: Okay, just got confirmation that the reason this isn't working intermittently is related to having DOCTYPE in web.xml. Do you guys have a line in your web.xml that looks like this? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; If so, can you replace it with this? web-app xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns=http://java.sun.com/xml/ns/javaee; xmlns:web=http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd; xsi:schemaLocation=http://java.sun.com/xml/ns/javaeehttp://java.sun.com/xml/ns/javaee/we...; version=2.5 The reason this issue occurs is that a deploy will attempt to retrieve the DTD, but if the server is overloaded or not responsive, the deploy operation will just time out. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger:http://googleappengine.blogspot.com Reddit:http://www.reddit.com/r/appengine Twitter:http://twitter.com/app_engine On Mon, Nov 15, 2010 at 3:09 PM, Artem artem...@gmail.com wrote: Here it is:http://paste.pocoo.org/show/291784/ On 11/16/2010 01:29 AM, Ikai Lan (Google) wrote: Does anyone have a stack trace if an exception is thrown? Will deploy work after a rollback? -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger:http://googleappengine.blogspot.com Reddit:http://www.reddit.com/r/appengine Twitter:http://twitter.com/app_engine -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2B unsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [google-appengine] Re: help me - channel api
Thanks alot On Sun, Nov 14, 2010 at 10:15 PM, Jonas Gehring gehr...@egotec.com wrote: This error comes when the gwt didn't compile the type. Try to add these method in the Service-Class: com.example.chat.shared.Message compileMessage(com.example.chat.shared.Message x); In the ServiceImpl-Class, just return null in the compileMessage method. On 11 Nov., 19:36, Jin Tie yong.li...@gmail.com wrote: Hello everyone. I'm going to make simple chat app using channel api. But I have some problem. When I created channel and try to send data on that channel, I get error like following. com.google.gwt.user.client.rpc.SerializationException: Type 'com.example.chat.shared.Message' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.: instance = com.example.chat.shared.mess...@f4e3b6 Here com.example.chat.shared.Message class implements java.util.Serializable. How can I solve this problem? I hope your help. Thanks. -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- 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-appeng...@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] Jin Tie wants to chat
I've been using Google Talk and thought you might like to try it out. We can use it to call each other for free over the internet. Here's an invitation to download Google Talk. Give it a try! --- Jin Tie wants to stay in better touch using some of Google's coolest new products. If you already have Gmail or Google Talk, visit: http://mail.google.com/mail/b-1c8bee9573-d051767bb9--iMS-YszaZ15DE9054mXCDuhZfQ You'll need to click this link to be able to chat with Jin Tie. To get Gmail - a free email account from Google with over 2,800 megabytes of storage - and chat with Jin Tie, visit: http://mail.google.com/mail/a-1c8bee9573-d051767bb9--iMS-YszaZ15DE9054mXCDuhZfQ Gmail offers: - Instant messaging right inside Gmail - Powerful spam protection - Built-in search for finding your messages and a helpful way of organizing emails into conversations - No pop-up ads or untargeted banners - just text ads and related information that are relevant to the content of your messages All this, and its yours for free. But wait, there's more! By opening a Gmail account, you also get access to Google Talk, Google's instant messaging service: http://www.google.com/talk/ Google Talk offers: - Web-based chat that you can use anywhere, without a download - A contact list that's synchronized with your Gmail account - Free, high quality PC-to-PC voice calls when you download the Google Talk client We're working hard to add new features and make improvements, so we might also ask for your comments and suggestions periodically. We appreciate your help in making our products even better! Thanks, The Google Team To learn more about Gmail and Google Talk, visit: http://mail.google.com/mail/help/about.html http://www.google.com/talk/about.html (If clicking the URLs in this message does not work, copy and paste them into the address bar of your browser). -- 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-appeng...@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] I Need A Push In The Right Direction - Basic Design
Hello, I am trying to get started using AppEngine. I have been reading many of the articles about implementing an MVP design pattern, I think that I can handle most of this once I get started with my basic design. I would like to create a site with three pages (all done with HTML pages). HomePage.html ApplicationPage.html ContactMePage.html I have all of these built and am happy with the way that they look and have the Navigation working just fine. On the ApplicationPage I would like to include a Launch Button (this is where I will take over and build my Application with its menus and different data Views). With all of the examples that I have been looking at the Button that gets the ball rolling is on the first and only page. How can I get MyHandler for the Launch Button on the ApplicationPage? A little push would be a great help. I believe that I can take care of the rest after I get the basic right correct. Eventually I would probably be adding AnotherApplicationPage and so on. Thanks, Raney -- 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-appeng...@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] Re: I Need A Push In The Right Direction - Basic Design
Good Morning, Thankyou for the fast response. I will take a look at the example. I had just come back to put the address of the site so people could see what I would like, I do not always explain very well. https://rrrsystems-demo-vamv05bnm5.appspot.com Thanks again, Raney -- 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-appeng...@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] Re: 500 Server Error on https://appengine.google.com
Still getting deployment timeouts. On Nov 15, 6:43 am, Takashi Matsuo tmat...@google.com wrote: We've just fixed this issue. It should be OK now. Please let me know if you still see the issue. We'll investigate the case in detail, and post an update here. Sorry about the inconvenience and thanks for the patience. -- Takashi On Mon, Nov 15, 2010 at 2:16 PM, Greg Tracy gtr...@gmail.com wrote: I too am getting 500 errors on app uploads... -- 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-appeng...@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. -- Takashi Matsuo Developer Relations Developer Advocate for Google App Engine/iGoogle Google Japan, Inc. -- 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-appeng...@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] Re: 500 Server Error on https://appengine.google.com
I've tried with various apps, application deployments are getting timeouts for all apps. On Nov 15, 2:55 pm, dflorey daniel.flo...@gmail.com wrote: Still getting deployment timeouts. On Nov 15, 6:43 am, Takashi Matsuo tmat...@google.com wrote: We've just fixed this issue. It should be OK now. Please let me know if you still see the issue. We'll investigate the case in detail, and post an update here. Sorry about the inconvenience and thanks for the patience. -- Takashi On Mon, Nov 15, 2010 at 2:16 PM, Greg Tracy gtr...@gmail.com wrote: I too am getting 500 errors on app uploads... -- 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-appeng...@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. -- Takashi Matsuo Developer Relations Developer Advocate for Google App Engine/iGoogle Google Japan, Inc. -- 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-appeng...@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.
Re: [google-appengine] How to make this
You can paste in multiple email addresses into the box. On 15 November 2010 06:57, Terry qq3838...@gmail.com wrote: Hi guys, I've recently created a Google Group myself, and I was planning to invite all of my friends to this group. But I'm really getting crazy because I have to add their email address one by one to the panel on the invitation page. So it came to my mind that if I could write a program to help me automatically invite friends to the group. Say, if I have all their email address in a text file, how can I automatically add them to my Google Group without opening the browser? I guess it may be similar to make some HTTP requests or things like that, but I don't know how to write the code, will you be so kind to provide me some advice or similar code resources? -- 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-appeng...@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. -- 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-appeng...@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] Too many Warning: Request was aborted after waiting too long... under not so high load
My site doesn't have too much traffic, but now and then I see this warning: Request was aborted after waiting too long to attempt to service your request. This may happen sporadically when the App Engine serving cluster is under unexpectedly high or uneven load. If you see this message frequently, please contact the App Engine team. Just half an hour ago, I saw one DeadlineExceededError and one TransactionFailedError, immediately followed by 5 warnings mentioned above, within roughly 30 seconds, when my application was trying to insert some text data into datastore, in one plain put(). The load I saw for that particular url was about 13 requests per minute. Well, this kind of load shouldn't cause datastore to choke in a way as I've seen, in my expectation. This problem results in data loss in my app and then bad customer-experiences. Should I expect this is the current capability of datastore/GAE? Or are there any guidelines for minimizing this problem? My app id is 'qyingweb'. Thanks, Will -- 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-appeng...@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] Re: Too many Warning: Request was aborted after waiting too long... under not so high load
From what I can tell this error occurs quite frequently when the load of the app changes. If you have very low load for a couple of minutes and then get multiple requests, you'll most likely get some 500ers. App engine works ok if the load is constant over a longer period of time. (At least no requests over a long period of time work fine ;-) On Nov 15, 3:52 pm, Will vocalster@gmail.com wrote: My site doesn't have too much traffic, but now and then I see this warning: Request was aborted after waiting too long to attempt to service your request. This may happen sporadically when the App Engine serving cluster is under unexpectedly high or uneven load. If you see this message frequently, please contact the App Engine team. Just half an hour ago, I saw one DeadlineExceededError and one TransactionFailedError, immediately followed by 5 warnings mentioned above, within roughly 30 seconds, when my application was trying to insert some text data into datastore, in one plain put(). The load I saw for that particular url was about 13 requests per minute. Well, this kind of load shouldn't cause datastore to choke in a way as I've seen, in my expectation. This problem results in data loss in my app and then bad customer-experiences. Should I expect this is the current capability of datastore/GAE? Or are there any guidelines for minimizing this problem? My app id is 'qyingweb'. Thanks, Will -- 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-appeng...@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.
Re: [google-appengine] Too many Warning: Request was aborted after waiting too long... under not so high load
Hi Will, Don't now if this helps, the error request is stored in the error log, from there you can restore you eventual data loss. gr wim On Mon, Nov 15, 2010 at 3:52 PM, Will vocalster@gmail.com wrote: My site doesn't have too much traffic, but now and then I see this warning: Request was aborted after waiting too long to attempt to service your request. This may happen sporadically when the App Engine serving cluster is under unexpectedly high or uneven load. If you see this message frequently, please contact the App Engine team. Just half an hour ago, I saw one DeadlineExceededError and one TransactionFailedError, immediately followed by 5 warnings mentioned above, within roughly 30 seconds, when my application was trying to insert some text data into datastore, in one plain put(). The load I saw for that particular url was about 13 requests per minute. Well, this kind of load shouldn't cause datastore to choke in a way as I've seen, in my expectation. This problem results in data loss in my app and then bad customer-experiences. Should I expect this is the current capability of datastore/GAE? Or are there any guidelines for minimizing this problem? My app id is 'qyingweb'. Thanks, Will -- 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-appeng...@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. -- gr wdo Demo free E-business: https://e-comm.appspot.com Wim den Ouden Google App Engine (cloud) -- 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-appeng...@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.
Re: [google-appengine] How to make this
Thanks for your advice, but I'm in fact just interested in that if there exists a way to make this by a software or some pieces of code, you know, we may do this by simulate HTTP requests or things like that, so I just want to find out a correct way to realize this. 2010/11/15 Barry Hunter barrybhun...@gmail.com You can paste in multiple email addresses into the box. On 15 November 2010 06:57, Terry qq3838...@gmail.com wrote: Hi guys, I've recently created a Google Group myself, and I was planning to invite all of my friends to this group. But I'm really getting crazy because I have to add their email address one by one to the panel on the invitation page. So it came to my mind that if I could write a program to help me automatically invite friends to the group. Say, if I have all their email address in a text file, how can I automatically add them to my Google Group without opening the browser? I guess it may be similar to make some HTTP requests or things like that, but I don't know how to write the code, will you be so kind to provide me some advice or similar code resources? -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- 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-appeng...@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.
Re: [google-appengine] Too many Warning: Request was aborted after waiting too long... under not so high load
Hi Will, Here are a few of my thoughts and suggestions. The datastore will occasionally have spikes in latency / error rates, for reasons outside of your apps control. Your best bet for dealing with periods of increased latency is to optimize your requests. It sounds like you have a good handle on what your app is doing, but a little addition review never hurts -- use Appstats to profile your RPCs. Appstats is great for making sure no unexpected calls are being made and for identifying spots that need some optimization. It also sounds like you might need to handle error's a little differently. Maybe you should catch those errors and defer writing the entity using the task-queue, if possible. And/Or return feedback to the client that the save failed; if the client is a browser at least let the user know the save failed so their data is not _unexpectedly_ missing. Also, what are your apps cold start times like? If your app takes a long time to bring up a new instance that could cause problems. There are several things you could try, such as minimizing start-up time imports. Robert On Mon, Nov 15, 2010 at 09:52, Will vocalster@gmail.com wrote: My site doesn't have too much traffic, but now and then I see this warning: Request was aborted after waiting too long to attempt to service your request. This may happen sporadically when the App Engine serving cluster is under unexpectedly high or uneven load. If you see this message frequently, please contact the App Engine team. Just half an hour ago, I saw one DeadlineExceededError and one TransactionFailedError, immediately followed by 5 warnings mentioned above, within roughly 30 seconds, when my application was trying to insert some text data into datastore, in one plain put(). The load I saw for that particular url was about 13 requests per minute. Well, this kind of load shouldn't cause datastore to choke in a way as I've seen, in my expectation. This problem results in data loss in my app and then bad customer-experiences. Should I expect this is the current capability of datastore/GAE? Or are there any guidelines for minimizing this problem? My app id is 'qyingweb'. Thanks, Will -- 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-appeng...@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. -- 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-appeng...@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.
Re: [google-appengine] How to make this
I do not think there is an official groups API. http://code.google.com/p/gdata-issues/issues/detail?id=27 You might ask in some other group too, maybe there is a groups-group. ;) Robert On Mon, Nov 15, 2010 at 11:43, terry lee qq3838...@gmail.com wrote: Thanks for your advice, but I'm in fact just interested in that if there exists a way to make this by a software or some pieces of code, you know, we may do this by simulate HTTP requests or things like that, so I just want to find out a correct way to realize this. 2010/11/15 Barry Hunter barrybhun...@gmail.com You can paste in multiple email addresses into the box. On 15 November 2010 06:57, Terry qq3838...@gmail.com wrote: Hi guys, I've recently created a Google Group myself, and I was planning to invite all of my friends to this group. But I'm really getting crazy because I have to add their email address one by one to the panel on the invitation page. So it came to my mind that if I could write a program to help me automatically invite friends to the group. Say, if I have all their email address in a text file, how can I automatically add them to my Google Group without opening the browser? I guess it may be similar to make some HTTP requests or things like that, but I don't know how to write the code, will you be so kind to provide me some advice or similar code resources? -- 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-appeng...@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. -- 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-appeng...@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. -- 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-appeng...@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. -- 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-appeng...@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] Re: Blobstore upload handler is Base64 encoding strings?
Chris, I really appreciate the information, but I would like to hear from Google about this bug. Q1. Are you going to fix this bug in near future? Q2. Do you have any suggested way to work-around this bug, which won't cause compatibility issue in future when you fix this bug? Satoshi On Nov 13, 10:38 am, Chris Copeland ch...@cope360.com wrote: In Python the text is encoded as quoted printable (I think). See issue #3761http://code.google.com/p/googleappengine/issues/detail?id=3761and Stack Overflow questionhttp://stackoverflow.com/questions/3624226/encoding-problem-in-app-en I've worked around it by decoding with quopri if the post is coming through the blob uploader. On Sat, Nov 13, 2010 at 9:30 AM, Satoshi satoshi.nakaj...@gmail.com wrote: I also wrote an upload code in Objective-C, explicitly specifying the Content-Type: text/plain; charset=UTF-8, but got the same result as HTML form sample above. 日本語 becomes 5pel5pys6Kqe Satoshi On Nov 13, 7:01 am, Satoshi satoshi.nakaj...@gmail.com wrote: I wrote a test code, and verified this bug (it happens in Japanese as well). Here is the form: form id='form_upload' action=$(_upload_url) method=POST enctype=multipart/form-data div class='dialog_field' div class='field_name'File:/div input type='file' name='file' / input type='hidden' name='alt' value='main'/ /div div class='dialog_field' div class='field_name'Description/div input type='text' name='desc' / /div /form Satoshi On Nov 12, 11:52 am, Ikai Lan (Google) ikai.l+gro...@google.comikai.l%2bgro...@google.com wrote: Do you guys have any sample code? I'm testing this and seeing that the local dev server gives me some strange characters (I'm using Java). What does the form look like? How are you reading the input from the form submission? -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger:http://googleappengine.blogspot.com Reddit:http://www.reddit.com/r/appengine Twitter:http://twitter.com/app_engine On Fri, Nov 12, 2010 at 5:09 AM, msmart michael.martini...@gmail.com wrote: I ran into the same issue. Has anyone found the corresponding issue in the bug tracker (or a nice workaround)? Michael. On 26 Okt., 09:28, Kenneth goo...@kmacleod.ie wrote: This is a pretty shocking bug (or lack of documentation?) from Google. There doesn't appear to be a consistent way to decode the post results that come from the BlobstoreUploadHandler. There was a bug in the issues list for this but I can't find it. I should put in another one really but there doesn't seem to be any point. What I do is when the user hits the submit button I send the form results via an ajax request and once that returns I submit the form to do the file upload. Pretty sad you have to do that and it means you're requiring javascript for something that really shouldn't need it. On Oct 25, 10:49 am, Agustin Horischnik agu...@gmail.com wrote: Hey, no luck with this? Did you solve this at all? On Aug 31, 12:40 pm, Agustin Horischnik agu...@gmail.com wrote: I think I'm having the same issue... I have a multi-part form posting to ablobstoreuploadhandler. There's four form fields: 2 input type=file 1 input type=text 1 textarea Those map to... 2blobstore.BlobReferenceProperty 1 StringProperty 1 TextProperty ... respectively, on my model class. And the problem is... when I submit an input string such as á é í ó ú and ñ, I get: IuEg6SDtIPMg+iBhbmQg8SI=, both on the StringProperty and TextProperty. At least, this is what I see on the Data viewer or when I output on the app. Any workarounds you can think of? Anybody else is having this problem? On Aug 3, 3:54 pm, ekampf eka...@gmail.com wrote: yep.. It doesnt happend on the local dev server... its definately something undocumented happening on AppEngine On Aug 3, 10:54 am, alon alon.car...@gmail.com wrote: it outputs as abase64string? im guessing the post is multi-part post right? On Aug 3, 10:39 am, ekampf eka...@gmail.com wrote: This happens when text fields are sent via POST and go through the Blobstoreuploadhandler. When English text is used I get the text. When Hebrew is used I get abase64string... I'm not looking at the datastore dashboard. I'm looking at the actual POST data (via logging) On Aug 3, 10:18 am, alon alon.car...@gmail.com wrote: Does that happen everytime on theblobstoreonly api? or regular text -
[google-appengine] Re: 500 Server Error while deploying the application
I am in a similar boat. I cannot access the dashboards (500 Server Error) and cannot deploy my application, just stalls on Initiating Update for ages then I get Error 401: --- begin server output --- Must authenticate first. --- end server output --- If deploy fails you might need to 'rollback' manually. The Make Symlinks... menu option can help with command-line work. *** appcfg.py has finished with exit code 1 *** Only thing I can think of that might make it an issue is the fact I've been deploying it numerous times, with different versions today. -- 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-appeng...@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] Re: Can't deploy app 503 error
Everyone is having this problem it seems. API down? hopefully we hear an update on this issue soon. for the record my output: ./appcfg.py:42: DeprecationWarning: the sha module is deprecated; use the hashlib module instead os.path.join(DIR_PATH, 'lib', 'django'), /home/Locke/GAE/google/appengine/tools/dev_appserver_login.py:33: DeprecationWarning: the md5 module is deprecated; use hashlib instead import md5 Application: idealists-inc; version: 2. Server: appengine.google.com. 2010-11-12 13:25:18,952 INFO appengine_rpc.py:435 Loaded authentication cookies from /home/Locke/.appcfg_cookies 2010-11-12 13:25:18,953 INFO appengine_rpc.py:153 Server: appengine.google.com 2010-11-12 13:25:18,954 INFO appcfg.py:414 Checking for updates to the SDK. 2010-11-12 13:25:19,112 INFO appcfg.py:428 The SDK is up to date. 2010-11-12 13:25:19,112 INFO appcfg.py:1753 Reading app configuration. Scanning files on local disk. 2010-11-12 13:25:19,113 INFO appcfg.py:1768 Processing file 'main.py' 2010-11-12 13:25:19,113 INFO appcfg.py:1768 Processing file 'index.html' 2010-11-12 13:25:19,114 INFO appcfg.py:1768 Processing file 'app.yaml' 2010-11-12 13:25:19,114 INFO appcfg.py:1768 Processing file 'index.yaml' 2010-11-12 13:25:19,114 INFO appcfg.py:1768 Processing file 'static/ images/troll.gif' 2010-11-12 13:25:19,114 INFO appcfg.py:1768 Processing file 'static/ images/favicon.ico' Initiating update. Cloning 2 static files. Cloning 4 application files. Precompilation starting. 2010-11-12 13:25:21,236 INFO appcfg.py:1814 HTTP Error (HTTP Error 503: Service Unavailable) Rolling back the update. Error 503: --- begin server output --- Try Again (503) An unexpected failure has occurred. Please try again. --- end server output --- -- 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-appeng...@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] What is latest for in version URL
I've read that past versions of appengine made minor version numbers available via the URL (ie. major.minor.app-id.appspot.com). This is no longer available and I understand why, but what's the purpose of having the latest indication in the URL now that minor versions are no longer available? Thanks -- 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-appeng...@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] Re: Can't deploy app 503 error
I think the app engine API is down. I spent the better half of the last 2 hours trying to debug my code, app engine and everything else. i had no other system to test on so i didn't know it wasn't just my laptop with the issue. On Nov 12, 12:09 pm, Daniel danielshaneup...@gmail.com wrote: I'm having this problem as well. :( On Nov 12, 11:55 am, John Gardner hux...@gmail.com wrote: I'm seeing the same problem, on a couple of different appids: I haven't found one yet that can deploy. ... Cloned 1300 files. Cloned 1400 files. Cloned 1500 files. Uploading 2 files and blobs. Uploaded 2 files and blobs Precompilation starting. Rolling back the update. Error503: --- begin server output --- Try Again (503) An unexpected failure has occurred. Please try again. --- end server output --- On Nov 12, 9:51 am, Justin justin.worr...@gmail.com wrote: appcfg.py update seems to repeatedly fail at the precompilation stage with HTTP503/ service unavailable; but AppEngine status page says everything's ok Thanks -- j...@jhw:~/work/wol_datastore$ python appengine/appcfg.py update . Application: wol-datastore; version: 1. Server: appengine.google.com. Scanning files on local disk. Scanned 500 files. Scanned 1000 files. Initiating update. 2010-11-12 15:46:27,595 WARNING appengine_rpc.py:405 ssl module not found. Without the ssl module, the identity of the remote host cannot be verified, and connections may NOT be secure. To fix this, please install the ssl module fromhttp://pypi.python.org/pypi/ssl. To learn more, seehttp://code.google.com/appengine/kb/general.html#rpcssl . Email: justin.worr...@gmail.com Password for justin.worr...@gmail.com: Cloning 1026 application files. Cloned 100 files. Cloned 200 files. Cloned 300 files. Cloned 400 files. Cloned 500 files. Cloned 600 files. Cloned 700 files. Cloned 800 files. Cloned 900 files. Cloned 1000 files. Precompilation starting. Precompilation: 461 files left. Rolling back the update. Error503: --- begin server output --- Try Again (503) An unexpected failure has occurred. Please try again. --- end server output --- -- 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-appeng...@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] Re: Blobstore upload is failing with mysterious signature verification failed redirect
I got the same problems using the blobstore. All I want is uploading files to the blobstore using AJAX(-like) functionallity. I tried http://valums.com/ajax-upload/ and http://jquery.malsup.com/form/#file-upload both javascript plugings for jQuery. All works fine in the dev environment, but in production it simply doesn't work. While digging in the response I found this signature verification failed message. Anyone any idea? On 13 nov, 22:29, Michael Bayne samskiv...@gmail.com wrote: I just added upload support to my app using the BlobStore. Everything works peachily in the dev environment, but now that I'm trying to use the functionality in production, uploads are resulting in a redirect to http://www.google.com/search?q=signature+verification+failed; which is rather mysterious to say the least. Not that those results are visible in my app, since I am doing the uploading via GWT, but when I look at the results manually, they don't yield anything particularly informative. The only thing I've been able to find on the Interwebs about this at all is one guy's tweet saying: If you find your AppEngine app on upload randomly redirecting people to a search for signature verification failed, that's a blobstore bug This was from a few days ago. No indication of any workarounds, or if perhaps this might get fixed. Is the blobstore just broken right now? -- 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-appeng...@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] Admin console is UP!
Got finally the Admin console running! -- 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-appeng...@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] Re: 500 Server Error on https://appengine.google.com
Admin console is also running! On Nov 15, 7:16 am, Greg Tracy gtr...@gmail.com wrote: I too am getting 500 errors on app uploads... -- 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-appeng...@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] Can't move down then up the directory tree for inserting of html files with {% include %}
Thanks for the help. I'm using Python 2.5 and Django Template 1.1 on app engine I can't seem to move down the dir tree for inserting of html files using {% include file %} statement Works just fine to any where up the tree, i can go up 3,4 levels just fine, but can not go down even 1 {% include ../LOGO.html %} Sample dir structure: root/lib/LOGO.html (1 level down then 1 level up ) root/LOGO.html (1 level down) root/main/home.html --tried: {% include ../LOGO.html %} ,{% include root/lib/LOGO.html %} , {% include /root/lib/logo.html %} root/main/start.py I changed TEMPLATE_DIRS setting 20 ways. Thanks. -- 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-appeng...@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] webapp2 Import Error
Hi, I'm new to web development, and particularly python development, so please forgive any obvious mistakes that I've made. Any help would be greatly appreciated. I'm trying to use webapp-improved (http://code.google.com/p/webapp- improved/) on my local Windows Vista system. The results I'm getting are: Traceback (most recent call last): File C:\Program Files (x86)\Google\google_appengine\google\appengine \tools\dev_appserver.py, line 3211, in _HandleRequest self._Dispatch(dispatcher, self.rfile, outfile, env_dict) File C:\Program Files (x86)\Google\google_appengine\google\appengine \tools\dev_appserver.py, line 3154, in _Dispatch base_env_dict=env_dict) File C:\Program Files (x86)\Google\google_appengine\google\appengine \tools\dev_appserver.py, line 527, in Dispatch base_env_dict=base_env_dict) File C:\Program Files (x86)\Google\google_appengine\google\appengine \tools\dev_appserver.py, line 2404, in Dispatch self._module_dict) File C:\Program Files (x86)\Google\google_appengine\google\appengine \tools\dev_appserver.py, line 2314, in ExecuteCGI reset_modules = exec_script(handler_path, cgi_path, hook) File C:\Program Files (x86)\Google\google_appengine\google\appengine \tools\dev_appserver.py, line 2210, in ExecuteOrImportScript exec module_code in script_module.__dict__ File C:\Users\slewis\Desktop\helloworld\helloworld.py, line 1, in module import webapp2 as webapp ImportError: No module named webapp2 My python file looks like: import webapp2 as webapp class HelloWorldHandler(webapp.RequestHandler): def get(self): self.response.out.write('Hello, World!') app = webapp.WSGIApplication([ (r'/', HelloWorldHandler), ], debug=True) def main(): app.run() if __name__ == '__main__': main() I started development using python 2.7 and got this issue, then from reading on this group that 2.5 was preferable, I switched to that, but nothing has changed. I was able to run the google app engine tutorial without errors, so I believe something is wrong with how I installed webapp2. (I uncompressed it in a separate directory, then navigated there in the command line and executed 'python setup.py install' and there were no errors on the install.) Again, any help would be greatly appreciated! Thank you. -Scott- -- 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-appeng...@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] Re: help me - channel api
You have to do the serialization by yourself and send your message as a String. -- 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-appeng...@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] incoming bandwidth of urlfetch when content_was_truncated is true
hi, everyone. i code this to fetch something: #fetch try: src_response = urlfetch.Fetch(self.url, self.request.body, self.method, headers, True, False) except urlfetch.InvalidURLError, ex: msg = invalid url: %s % self.url logging.error(msg) self.__error(400, msg) return False except urlfetch.DownloadError, ex: msg = download error: %s % ex logging.exception(msg) self.__error(503, msg) return False as you see, i set allow_truncated=True, when fetch some file large than 1M(such as 12M), gae just give me 1M, but when i look at the Quota Details, the Incoming bandwidth had increase about 10M, sometime it raise an Exception: OverQuotaError: The API call urlfetch.Fetch() required more quota than is available. it means that gae count 12M Incoming bandwidth but just give me 1M in fact, i cann't get the file size before fetch, so it's impossible to set range header before fetch. i think gae shouldn't count the true file size in Incoming bandwith. maybe someone will suggest me send a HEAD request before fetch, but the content-type is unknown, i don't think it's a good solution. -- 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-appeng...@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] Alternatives to SMS Verification
Hi, I don't have a cell phone - Is it possible to get verification code by any other means than SMS ? Uisng mail etc? -- 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-appeng...@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.
Re: [google-appengine] webapp2 Import Error
Hi Scot, Did you python setup install from the map where you unpacked webapp2? ImportError: No module named webapp2, seems python can't find webapp2 gr wim On Sat, Nov 13, 2010 at 8:54 PM, Scott Lewis scott.le...@gmail.com wrote: Hi, I'm new to web development, and particularly python development, so please forgive any obvious mistakes that I've made. Any help would be greatly appreciated. I'm trying to use webapp-improved (http://code.google.com/p/webapp- improved/) on my local Windows Vista system. The results I'm getting are: Traceback (most recent call last): File C:\Program Files (x86)\Google\google_appengine\google\appengine \tools\dev_appserver.py, line 3211, in _HandleRequest self._Dispatch(dispatcher, self.rfile, outfile, env_dict) File C:\Program Files (x86)\Google\google_appengine\google\appengine \tools\dev_appserver.py, line 3154, in _Dispatch base_env_dict=env_dict) File C:\Program Files (x86)\Google\google_appengine\google\appengine \tools\dev_appserver.py, line 527, in Dispatch base_env_dict=base_env_dict) File C:\Program Files (x86)\Google\google_appengine\google\appengine \tools\dev_appserver.py, line 2404, in Dispatch self._module_dict) File C:\Program Files (x86)\Google\google_appengine\google\appengine \tools\dev_appserver.py, line 2314, in ExecuteCGI reset_modules = exec_script(handler_path, cgi_path, hook) File C:\Program Files (x86)\Google\google_appengine\google\appengine \tools\dev_appserver.py, line 2210, in ExecuteOrImportScript exec module_code in script_module.__dict__ File C:\Users\slewis\Desktop\helloworld\helloworld.py, line 1, in module import webapp2 as webapp ImportError: No module named webapp2 My python file looks like: import webapp2 as webapp class HelloWorldHandler(webapp.RequestHandler): def get(self): self.response.out.write('Hello, World!') app = webapp.WSGIApplication([ (r'/', HelloWorldHandler), ], debug=True) def main(): app.run() if __name__ == '__main__': main() I started development using python 2.7 and got this issue, then from reading on this group that 2.5 was preferable, I switched to that, but nothing has changed. I was able to run the google app engine tutorial without errors, so I believe something is wrong with how I installed webapp2. (I uncompressed it in a separate directory, then navigated there in the command line and executed 'python setup.py install' and there were no errors on the install.) Again, any help would be greatly appreciated! Thank you. -Scott- -- 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-appeng...@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. -- gr wdo Demo free E-business: https://e-comm.appspot.com Wim den Ouden Google App Engine (cloud) -- 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-appeng...@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.
Re: [google-appengine] Alternatives to SMS Verification
https://code.google.com/intl/nl/appengine/kb/sms.html look at sms issues gr wim On Sat, Nov 13, 2010 at 10:37 PM, venugopal vasireddy venugopal.vasire...@gmail.com wrote: Hi, I don't have a cell phone - Is it possible to get verification code by any other means than SMS ? Uisng mail etc? -- 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-appeng...@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. -- gr wdo Demo free E-business: https://e-comm.appspot.com Wim den Ouden Google App Engine (cloud) -- 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-appeng...@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.
Re: [google-appengine] Re: Bulk data deletion woe
Yes I see what you're saying. Map Reduce would bring over the whole entity even though it isn't needed and would consume more CPU in fetching the entity not just the key. Seems almost like it would be nice to have an option of Map Reduce only handing off keys and leaving out the entity. On Sun, Nov 14, 2010 at 11:18 PM, Eli Jones eli.jo...@gmail.com wrote: This is just an anecdotal aside (in other words, I have not bothered to do any testing or comparison of performance).. but.. I have my own utility code that I use for batch deletes. Recently, I decided to wipe out all of the entities for one of my models, but I was too lazy to look up the exact command I needed to use in the remote console. So, I just used the new Datastore Admin page to delete them. This page uses map reduce jobs to perform deletes. From what I could tell, the map reduce delete job took up several times more CPU time (and wall clock time) than my custom delete job usually took. My usual utility class uses this method for deletes: 1. Create a query for all entities in a model with keys_only = True. 2. Fetch 100 keys. 3. Issues a deferred task to delete those 100 key names. 4. Use a cursor to fetch 100 more, and issue deferred deletes until the query returns no more entities. This is usually pretty fast.. since the only bottle neck is the time it takes to fetch 100 key names and add the deferred task. The surprising fact was that the default map reduce delete from the Datastore Admin page took so much for CPU. So, if you think you'll be doing more bulk deletes in the future, it might be useful to compare the CPU usage of a map reduce delete (using keys only and not full entities) to a method that deletes batches of 100 key names using deferred with a query cursor. Though, deleting 300,000 entities will take up a lot of CPU hours no matter what method you use. Like I said.. this is anecdotal and there could be no real difference in performance.. but the Datastore Admin delete took up way more CPU time than it seemed it should have, and I didn't bother to use it or test it again. On Sun, Nov 14, 2010 at 11:47 PM, Erik erik.e.wil...@gmail.com wrote: Thanks for the well thought response, numbers, and reality check Stephen! That makes a lot of sense when you consider parallel deletes and datastore CPU time. On Nov 14, 9:37 pm, Stephen Johnson onepagewo...@gmail.com wrote: Thank you for sharing your numbers with us. I think it's a good way for all of us to get an idea of how much things cost on the cloud, so here's my thoughts. Even though you had one shard executing the shard should be doing batch deletes and not one delete at a time. From the documentation batch deletes can do up to 500 entities in one call and would execute in parallel (perhaps not 500 all at once but with parallelism none the less). I would assume the shard would probably do about 100 or so at a time (maybe more / maybe less). Anyway, a good way to prove some parallelism must be occurring would be to do a proof by negation. So, let's assume that in fact the shard is doing one delete at a time. Looking at the System Status the latency of a single delete on an entity (probably a very simple entity with no composite indexes which would add additional overhead) is approximately 50ms to 100ms or so. If we assume 50ms per delete for latency we end up with (assuming no overhead for mapreduce/shard maintenance and spawning additional tasks, etc. which would add even more additional time). 30 entities * .05 seconds per entitiy = 15000 seconds 15000 seconds / 60 seconds per minute = 250 minutes or 4 hours 10 minutes Additionally if a delete takes approximately 100 milliseconds then 30 entities would take 8 hours 20 minutes to complete. Even an unrealistic 25ms per delete is still over two hours. Now remember this is latency (real time) and not CPU time. So even if something has latency time of 50ms it could still eat up 100ms of API CPU time. For example 50ms to delete the entity and 50ms to update the indexes (done in parallel). So if latency time is 4 hours 10 minutes and we just double latency time to approximate API CPU time we get over 8 hours of CPU time. If average delete time for your job was 75ms then latency time is approximately 6 hours and CPU time 12 hours. Your total was 11 hours billed time so if my logic is sound it seems reasonable the amount you were billed could be correct. Furthermore if we take another look at this from another angle we find that if your delete job took 15 minutes to complete then: 30 entities / 15 minutes = 2 entities per minute 2 entities per minute / 60 seconds per minute = 333.33 entities per second So, if 333.33 entities are being deleted per second serially then the average latency would be 3ms per delete which seems rather unlikely. My thoughts.
Re: [google-appengine] Re: Bulk data deletion woe
In the Python MR libs, there is a DatastoreKeyInputReader input reader. It looks like that is what's used to iterate over the entities. http://code.google.com/p/googleappengine/source/browse/trunk/python/google/appengine/ext/datastore_admin/delete_handler.py#148 Robert On Mon, Nov 15, 2010 at 13:27, Stephen Johnson onepagewo...@gmail.com wrote: Yes I see what you're saying. Map Reduce would bring over the whole entity even though it isn't needed and would consume more CPU in fetching the entity not just the key. Seems almost like it would be nice to have an option of Map Reduce only handing off keys and leaving out the entity. On Sun, Nov 14, 2010 at 11:18 PM, Eli Jones eli.jo...@gmail.com wrote: This is just an anecdotal aside (in other words, I have not bothered to do any testing or comparison of performance).. but.. I have my own utility code that I use for batch deletes. Recently, I decided to wipe out all of the entities for one of my models, but I was too lazy to look up the exact command I needed to use in the remote console. So, I just used the new Datastore Admin page to delete them. This page uses map reduce jobs to perform deletes. From what I could tell, the map reduce delete job took up several times more CPU time (and wall clock time) than my custom delete job usually took. My usual utility class uses this method for deletes: 1. Create a query for all entities in a model with keys_only = True. 2. Fetch 100 keys. 3. Issues a deferred task to delete those 100 key names. 4. Use a cursor to fetch 100 more, and issue deferred deletes until the query returns no more entities. This is usually pretty fast.. since the only bottle neck is the time it takes to fetch 100 key names and add the deferred task. The surprising fact was that the default map reduce delete from the Datastore Admin page took so much for CPU. So, if you think you'll be doing more bulk deletes in the future, it might be useful to compare the CPU usage of a map reduce delete (using keys only and not full entities) to a method that deletes batches of 100 key names using deferred with a query cursor. Though, deleting 300,000 entities will take up a lot of CPU hours no matter what method you use. Like I said.. this is anecdotal and there could be no real difference in performance.. but the Datastore Admin delete took up way more CPU time than it seemed it should have, and I didn't bother to use it or test it again. On Sun, Nov 14, 2010 at 11:47 PM, Erik erik.e.wil...@gmail.com wrote: Thanks for the well thought response, numbers, and reality check Stephen! That makes a lot of sense when you consider parallel deletes and datastore CPU time. On Nov 14, 9:37 pm, Stephen Johnson onepagewo...@gmail.com wrote: Thank you for sharing your numbers with us. I think it's a good way for all of us to get an idea of how much things cost on the cloud, so here's my thoughts. Even though you had one shard executing the shard should be doing batch deletes and not one delete at a time. From the documentation batch deletes can do up to 500 entities in one call and would execute in parallel (perhaps not 500 all at once but with parallelism none the less). I would assume the shard would probably do about 100 or so at a time (maybe more / maybe less). Anyway, a good way to prove some parallelism must be occurring would be to do a proof by negation. So, let's assume that in fact the shard is doing one delete at a time. Looking at the System Status the latency of a single delete on an entity (probably a very simple entity with no composite indexes which would add additional overhead) is approximately 50ms to 100ms or so. If we assume 50ms per delete for latency we end up with (assuming no overhead for mapreduce/shard maintenance and spawning additional tasks, etc. which would add even more additional time). 30 entities * .05 seconds per entitiy = 15000 seconds 15000 seconds / 60 seconds per minute = 250 minutes or 4 hours 10 minutes Additionally if a delete takes approximately 100 milliseconds then 30 entities would take 8 hours 20 minutes to complete. Even an unrealistic 25ms per delete is still over two hours. Now remember this is latency (real time) and not CPU time. So even if something has latency time of 50ms it could still eat up 100ms of API CPU time. For example 50ms to delete the entity and 50ms to update the indexes (done in parallel). So if latency time is 4 hours 10 minutes and we just double latency time to approximate API CPU time we get over 8 hours of CPU time. If average delete time for your job was 75ms then latency time is approximately 6 hours and CPU time 12 hours. Your total was 11 hours billed time so if my logic is sound it seems reasonable the amount you were billed could be correct. Furthermore if we take another look at this from another angle we
Re: [google-appengine] Re: Bulk data deletion woe
In the Java SDK I think one could subclass the DatastoreRecordReader to do a keys only query and return null for the entity value and use this class in lieu of the normal DatastoreRecordReader when needed. Probably similar in Python. On Mon, Nov 15, 2010 at 11:47 AM, Robert Kluin robert.kl...@gmail.comwrote: In the Python MR libs, there is a DatastoreKeyInputReader input reader. It looks like that is what's used to iterate over the entities. http://code.google.com/p/googleappengine/source/browse/trunk/python/google/appengine/ext/datastore_admin/delete_handler.py#148 Robert On Mon, Nov 15, 2010 at 13:27, Stephen Johnson onepagewo...@gmail.com wrote: Yes I see what you're saying. Map Reduce would bring over the whole entity even though it isn't needed and would consume more CPU in fetching the entity not just the key. Seems almost like it would be nice to have an option of Map Reduce only handing off keys and leaving out the entity. On Sun, Nov 14, 2010 at 11:18 PM, Eli Jones eli.jo...@gmail.com wrote: This is just an anecdotal aside (in other words, I have not bothered to do any testing or comparison of performance).. but.. I have my own utility code that I use for batch deletes. Recently, I decided to wipe out all of the entities for one of my models, but I was too lazy to look up the exact command I needed to use in the remote console. So, I just used the new Datastore Admin page to delete them. This page uses map reduce jobs to perform deletes. From what I could tell, the map reduce delete job took up several times more CPU time (and wall clock time) than my custom delete job usually took. My usual utility class uses this method for deletes: 1. Create a query for all entities in a model with keys_only = True. 2. Fetch 100 keys. 3. Issues a deferred task to delete those 100 key names. 4. Use a cursor to fetch 100 more, and issue deferred deletes until the query returns no more entities. This is usually pretty fast.. since the only bottle neck is the time it takes to fetch 100 key names and add the deferred task. The surprising fact was that the default map reduce delete from the Datastore Admin page took so much for CPU. So, if you think you'll be doing more bulk deletes in the future, it might be useful to compare the CPU usage of a map reduce delete (using keys only and not full entities) to a method that deletes batches of 100 key names using deferred with a query cursor. Though, deleting 300,000 entities will take up a lot of CPU hours no matter what method you use. Like I said.. this is anecdotal and there could be no real difference in performance.. but the Datastore Admin delete took up way more CPU time than it seemed it should have, and I didn't bother to use it or test it again. On Sun, Nov 14, 2010 at 11:47 PM, Erik erik.e.wil...@gmail.com wrote: Thanks for the well thought response, numbers, and reality check Stephen! That makes a lot of sense when you consider parallel deletes and datastore CPU time. On Nov 14, 9:37 pm, Stephen Johnson onepagewo...@gmail.com wrote: Thank you for sharing your numbers with us. I think it's a good way for all of us to get an idea of how much things cost on the cloud, so here's my thoughts. Even though you had one shard executing the shard should be doing batch deletes and not one delete at a time. From the documentation batch deletes can do up to 500 entities in one call and would execute in parallel (perhaps not 500 all at once but with parallelism none the less). I would assume the shard would probably do about 100 or so at a time (maybe more / maybe less). Anyway, a good way to prove some parallelism must be occurring would be to do a proof by negation. So, let's assume that in fact the shard is doing one delete at a time. Looking at the System Status the latency of a single delete on an entity (probably a very simple entity with no composite indexes which would add additional overhead) is approximately 50ms to 100ms or so. If we assume 50ms per delete for latency we end up with (assuming no overhead for mapreduce/shard maintenance and spawning additional tasks, etc. which would add even more additional time). 30 entities * .05 seconds per entitiy = 15000 seconds 15000 seconds / 60 seconds per minute = 250 minutes or 4 hours 10 minutes Additionally if a delete takes approximately 100 milliseconds then 30 entities would take 8 hours 20 minutes to complete. Even an unrealistic 25ms per delete is still over two hours. Now remember this is latency (real time) and not CPU time. So even if something has latency time of 50ms it could still eat up 100ms of API CPU time. For example 50ms to delete the entity and 50ms to update the indexes (done in parallel). So if latency time is 4 hours 10
[google-appengine] Re: I Need A Push In The Right Direction - Basic Design
Raney, what is it exactly youneed assistance with? Do you just want the Launch button to launch into a new page? or are you requesting assistance in building the associated logic for the Application? To have your button just open up a new page you could either use javascript onClick, or make it a submit button with target of the desired page. On Nov 15, 5:13 am, RRRaney rrrsyst...@gmail.com wrote: Good Morning, Thankyou for the fast response. I will take a look at the example. I had just come back to put the address of the site so people could see what I would like, I do not always explain very well. https://rrrsystems-demo-vamv05bnm5.appspot.com Thanks again, Raney -- 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-appeng...@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] Re: Novice getting started: advice on getting to grips with App Engine
I assume you have checked out the getting started guide already, but since no one linked it yet: http://code.google.com/appengine/docs/python/gettingstarted/ this will take you from nothing to hello world. On Nov 15, 1:30 am, Wim den Ouden wdenou...@gmail.com wrote: http://code.google.com/p/relat/wiki/gaetips gr wim On Sun, Nov 14, 2010 at 8:48 PM, Aaron Jerling aaron.jerl...@gmail.com wrote: Hi guys, I've got an idea for a web app that I'd love to put together. I started off (last week) learning PHP and SQL until someone pointed me towards app engine as a better solution / platform to launch my project. I have no python experience, limited html experience and despite going through the app engine python tutorial seemed to have 'missed' the keys to getting started. I do have programming experience (scientific languages like matlab, labview etc.), and spent the last few days working through How To Learn Python The Hard Way and have gotten through it alright. But I've got 20 pages left (out of 160) and still have no real concept on how to get started. Are there any good resources, tips or whatever that you know of to get me up to speed? cheers. -- 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-appeng...@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. -- gr wdo Demo free E-business:https://e-comm.appspot.com Wim den Ouden Google App Engine (cloud) -- 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-appeng...@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] Re: Novice getting started: advice on getting to grips with App Engine
Hi there, I have gone through that tutorial, but as I mentioned i did miss the key points, so right now I'm brushing up on python and am just starting off with using python in conjuction with app engine. Resources I've found helpful so far (I left out the ones that could have been better): For Python (my first port of call in this mission and all very good) Learn Python the Hard Way http://docs.python.org/tutorial/ http://diveintopython.org/ - Python for Software design by Allen Downey For google apps Oreilly - Programming Google Apps Engine (just working through this now) As soon as I've been through this book I'll have a look at the google apps getting started guide and docs again. On Nov 15, 7:53 pm, Ben bhym...@gmail.com wrote: I assume you have checked out the getting started guide already, but since no one linked it yet:http://code.google.com/appengine/docs/python/gettingstarted/ this will take you from nothing to hello world. On Nov 15, 1:30 am, Wim den Ouden wdenou...@gmail.com wrote: http://code.google.com/p/relat/wiki/gaetips gr wim On Sun, Nov 14, 2010 at 8:48 PM, Aaron Jerling aaron.jerl...@gmail.com wrote: Hi guys, I've got an idea for a web app that I'd love to put together. I started off (last week) learning PHP and SQL until someone pointed me towards app engine as a better solution / platform to launch my project. I have no python experience, limited html experience and despite going through the app engine python tutorial seemed to have 'missed' the keys to getting started. I do have programming experience (scientific languages like matlab, labview etc.), and spent the last few days working through How To Learn Python The Hard Way and have gotten through it alright. But I've got 20 pages left (out of 160) and still have no real concept on how to get started. Are there any good resources, tips or whatever that you know of to get me up to speed? cheers. -- 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-appeng...@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. -- gr wdo Demo free E-business:https://e-comm.appspot.com Wim den Ouden Google App Engine (cloud) -- 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-appeng...@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] Re: I Need A Push In The Right Direction - Basic Design
Hello Ben, I have a Lauch button that is not on the main page. I would like to listen for the clickevent of this button and then enter my application if it happens. I do not think that I will have any problem with the code of the Launched Application just how to get there is my problem. If I have a Submit button on the HomePage, as the default AppEngine builds as default, that is accessable with the RootPanel, there is not ant problem. How can I listen for a clickevent on the ApplicationPage.html (not the main page)? When I am on the HomePage.html, the only thing that I want to happen is navagation within the Web-Site pages. When I am on the ContactMePage.html, the only thing that I want to happen is navagation within the Web-Site pages When I am on the ApplicationPage.html I would like to listen for the Launched clickevent and then enter my AppEngine code or just navigate to the other pages code. I hope this makes sense. Thanks, Raney -- 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-appeng...@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.
Re: [google-appengine] What is latest for in version URL
Good catch. Right now it exists for backwards compatibility, but you don't actually need it to access versions as of one of the recent releases. You can get to a version at: http://version.appid.appspot.com We'll have to update our docs to reflect the change. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Mon, Nov 15, 2010 at 7:54 AM, efleming969 efleming...@gmail.com wrote: I've read that past versions of appengine made minor version numbers available via the URL (ie. major.minor.app-id.appspot.com). This is no longer available and I understand why, but what's the purpose of having the latest indication in the URL now that minor versions are no longer available? Thanks -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- 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-appeng...@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] Re: Error code 203 on simple JSP hosted on a website GAE app
My jsp are quite simple too, and I've the same issue... 11-15 02:29PM 55.213 / 500 10097ms 0cpu_ms 0kb Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.12 (KHTML, like Gecko) Chrome/9.0.576.0 Safari/534.12,gzip(gfe),gzip(gfe) 78.233.233.13 - vincent.legendre [15/Nov/2010:14:30:05 -0800] GET / HTTP/1.1 500 0 - Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.12 (KHTML, like Gecko) Chrome/9.0.576.0 Safari/ 534.12,gzip(gfe),gzip(gfe) www.fullmetalgalaxy.com ms=10097 cpu_ms=0 api_cpu_ms=0 cpm_usd=0.000128 exit_code=203 W 11-15 02:30PM 05.298 A serious problem was encountered with the process that handled this request, causing it to exit. This is likely to cause a new process to be used for the next request to your application. If you see this message frequently, you should contact the App Engine team. (Error code 203) How can we contact the App Engine team ? On 28 sep, 02:42, kg kang...@gmail.com wrote: I have seen this message about 8 times in the 2 minutes and then a request succeeded. What is actually happening here? Is there something the app can do to resolve? The JSP just does a simple redirect to another url. Are there others experiencing similar issues? 09-27 06:35PM 05.617 A serious problem was encountered with the process that handled this request, causing it to exit. This is likely to cause a new process to be used for the next request to your application. If you see this message frequently, you should contact the App Engine team. (Errorcode203) Thanks. -- 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-appeng...@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.
Re: [google-appengine] Re: I Need A Push In The Right Direction - Basic Design
Hi Raney, Maybe I am misunderstanding, but I would say (based on the terminology you're using) you might want to find yourself an HTML tutorial. Here is some basic information on how you can make a button open a link: http://www.javascriptkit.com/howto/buttonr2.shtml Robert On Mon, Nov 15, 2010 at 17:26, RRRaney rrrsyst...@gmail.com wrote: Hello Ben, I have a Lauch button that is not on the main page. I would like to listen for the clickevent of this button and then enter my application if it happens. I do not think that I will have any problem with the code of the Launched Application just how to get there is my problem. If I have a Submit button on the HomePage, as the default AppEngine builds as default, that is accessable with the RootPanel, there is not ant problem. How can I listen for a clickevent on the ApplicationPage.html (not the main page)? When I am on the HomePage.html, the only thing that I want to happen is navagation within the Web-Site pages. When I am on the ContactMePage.html, the only thing that I want to happen is navagation within the Web-Site pages When I am on the ApplicationPage.html I would like to listen for the Launched clickevent and then enter my AppEngine code or just navigate to the other pages code. I hope this makes sense. Thanks, Raney -- 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-appeng...@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. -- 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-appeng...@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] Is percent encoding valid in URL to the images service (from get_serving_url)?
Hi folks, I am trying to determine if this is a Google bug or not. I have images stored in the blobstore and use get_serving_url() to get URLs to them. These URLs always have a least one equals sign (=). If the sign is encoded as %3D, then the images service returns 404. Example: Works: http://lh4.ggpht.com/n6Tg_8uEu-nS_5ugZ4L5FpFwZ4koEozGfgpo3B84hjxcGRENdX31xzW_r7lD2u7lEd99hxn7jiRULxKA4D8=s400 404: http://lh4.ggpht.com/n6Tg_8uEu-nS_5ugZ4L5FpFwZ4koEozGfgpo3B84hjxcGRENdX31xzW_r7lD2u7lEd99hxn7jiRULxKA4D8%3Ds400 The URL is getting encoded by Facebook so I have no control over it. It seems like a Google bug since %3D is the correct escape for =. Is there anything I'm missing? -Chris Link to Stack Overflow question: http://stackoverflow.com/questions/4179906/ -- 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-appeng...@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] Re: I Need A Push In The Right Direction - Basic Design
Hello Robert, I do not seem to be explaining myself very well, as usual. I think that I have a fair understanding of HTML basics. I have coded, complied and deployed three pages to an AppEngine Address: https://rrrsystems-demo-vamv05bnm5.appspot.com https://rrrsystems-demo-vamv05bnm5.appspot.com/HomePage.html https://rrrsystems-demo-vamv05bnm5.appspot.com/TrainingOpenings.html https://rrrsystems-demo-vamv05bnm5.appspot.com/ContactInformation.html All are behaving as I would like. I would like to listen for the “Launch:” button on the TrainigOpenings.html Page. When this button is clicked I would like to enter my AppEngine code. I have seen on the GreetingApplication generated by the Eclipse Goolge Web Application how to go about this with the “Submit” button on the home page.(this shows me all kinds of great information about my ServerInfo and the User-Agent) I would like to get things going with the “Launch” button on the: https://rrrsystems-demo-vamv05bnm5.appspot.com/TrainingOpenings.html I do not want the “Launch” button to redirect to another AppEngine Address as I will need to access some of the data in other Applications (RegisteredUser data, HostAgency data, SCSEPStaff data, SCSEPParticipant data)…… After I get this down I will probably add things for the Hosts( allow them to do things like change the phone, address). Hope this helps, Thanks, Raney -- 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-appeng...@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.
Re: [google-appengine] Jin Tie wants to chat
Could Gtalk provide the html button to trigger it ? Best Regards Tom 2010/11/15 Jin Tie yong.li...@gmail.com I've been using Google Talk and thought you might like to try it out. We can use it to call each other for free over the internet. Here's an invitation to download Google Talk. Give it a try! --- Jin Tie wants to stay in better touch using some of Google's coolest new products. If you already have Gmail or Google Talk, visit: http://mail.google.com/mail/b-1c8bee9573-d051767bb9--iMS-YszaZ15DE9054mXCDuhZfQ You'll need to click this link to be able to chat with Jin Tie. To get Gmail - a free email account from Google with over 2,800 megabytes of storage - and chat with Jin Tie, visit: http://mail.google.com/mail/a-1c8bee9573-d051767bb9--iMS-YszaZ15DE9054mXCDuhZfQ Gmail offers: - Instant messaging right inside Gmail - Powerful spam protection - Built-in search for finding your messages and a helpful way of organizing emails into conversations - No pop-up ads or untargeted banners - just text ads and related information that are relevant to the content of your messages All this, and its yours for free. But wait, there's more! By opening a Gmail account, you also get access to Google Talk, Google's instant messaging service: http://www.google.com/talk/ Google Talk offers: - Web-based chat that you can use anywhere, without a download - A contact list that's synchronized with your Gmail account - Free, high quality PC-to-PC voice calls when you download the Google Talk client We're working hard to add new features and make improvements, so we might also ask for your comments and suggestions periodically. We appreciate your help in making our products even better! Thanks, The Google Team To learn more about Gmail and Google Talk, visit: http://mail.google.com/mail/help/about.html http://www.google.com/talk/about.html (If clicking the URLs in this message does not work, copy and paste them into the address bar of your browser). -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- 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-appeng...@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] Re: I Need A Push In The Right Direction - Basic Design
Hello Robert, I think that I have the basics of HTML down ( you can view the source). I have a harder time explaining what it is that I am trying to do. I have defined and coded the three HTML pages and deployed them to: http://rrrsystems-demo-vamv05bnm5.appspot.com The Site and the HTML pages work just fine. I can navigate and all is well. When I am on the page, http://rrrsystems-demo-vamv05bnm5.appspot.com/TrainingOpenings.html I would like to listen for the click event of the Launch button on this page and then enter my AppEngine code. Actually go to the TrainingOpenings: Application. (Not a seperate Site, I will need data from here in the other Applications) If I look at the GreetingApplication that is created by the AppEngine Web Application, I get there by the Submit button on the home page. I would like to get there with the Launch button on: http://rrrsystems-demo-vamv05bnm5.appspot.com/TrainingOpenings.html This is not the home page. I cannot seem to get the onLoadModule to listen for other HTML page events, I think that it is something simple, just cant see it. Does this explain what I would like to do any better? Thanks, Raney -- 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-appeng...@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.
Re: [google-appengine] Is percent encoding valid in URL to the images service (from get_serving_url)?
Maybe you can try to replace as: http://lh4.ggpht.com/n6Tg_8uEu-nS_5ugZ4L5FpFwZ4koEozGfgpo3B84hjxcGRENdX31xzW_r7lD2u7lEd99hxn7jiRULxKA4D8?s=400 -- 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-appeng...@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.
Re: [google-appengine] Re: I Need A Push In The Right Direction - Basic Design
Hi Raney, I may be showing my own ignorance here, but I don't think I've ever heard of onLoadModule? You might want to mention if you are using Python or Java, and if you are using anything like GWT, Flash / Flex, Silverlight, or a Java applet. The typically way to 'enter' your application code is to have a URL for it. So you might map the URL http://rrrsystems-demo-vamv05bnm5.appspot.com/trainingapp/; to your Python application or servlet. Your users will not be leaving your site, just going to another area of your application. When your users click the Launch button it will take them to your training application. Robert On Mon, Nov 15, 2010 at 19:21, RRRaney rrrsyst...@gmail.com wrote: Hello Robert, I think that I have the basics of HTML down ( you can view the source). I have a harder time explaining what it is that I am trying to do. I have defined and coded the three HTML pages and deployed them to: http://rrrsystems-demo-vamv05bnm5.appspot.com The Site and the HTML pages work just fine. I can navigate and all is well. When I am on the page, http://rrrsystems-demo-vamv05bnm5.appspot.com/TrainingOpenings.html I would like to listen for the click event of the Launch button on this page and then enter my AppEngine code. Actually go to the TrainingOpenings: Application. (Not a seperate Site, I will need data from here in the other Applications) If I look at the GreetingApplication that is created by the AppEngine Web Application, I get there by the Submit button on the home page. I would like to get there with the Launch button on: http://rrrsystems-demo-vamv05bnm5.appspot.com/TrainingOpenings.html This is not the home page. I cannot seem to get the onLoadModule to listen for other HTML page events, I think that it is something simple, just cant see it. Does this explain what I would like to do any better? Thanks, Raney -- 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-appeng...@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. -- 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-appeng...@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] Re: Too many Warning: Request was aborted after waiting too long... under not so high load
Thanks for the responses. Transferring the failed uploads to task queue sounds very attractive for my case (a win32 client app uploading data). I'll take a closer look. Bests, Will -- 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-appeng...@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] How import datas to BigTable from my local mysql ?
hi all, How import datas to BigTable from my local mysql ? -- 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-appeng...@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] How import datas to BigTable from my local mysql ?
hi all. How import datas to BigTable from my local mysql ? -- 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-appeng...@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.
Re: [google-appengine] How import datas to BigTable from my local mysql ?
You've got a few good options. Check out: http://code.google.com/appengine/docs/python/tools/uploadingdata.html Although, I generally find it easier to write my own 'services' for importing data. Robert On Mon, Nov 15, 2010 at 22:31, YF CAO caoyongfeng0...@gmail.com wrote: hi all, How import datas to BigTable from my local mysql ? -- 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-appeng...@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. -- 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-appeng...@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] Re: 500 Server Error on https://appengine.google.com
I also got a 500 error when using CaptionTube. -- 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-appeng...@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] Re: deploy failures
I am getting a similar error, very frustrating... -g. On Nov 9, 2:47 pm, Erik erik.e.wil...@gmail.com wrote: I have also been getting constant deployment errors with Java deployment for the past couple days, seems like something is funny on the google side, don't think my connection is flaky: Nov 9, 2010 7:18:59 AM com.google.apphosting.utils.config.AbstractConfigXmlReader getTopLevelNode SEVERE: Received IOException parsing the input stream for /home/erik/ workspace/wikihop/war/WEB-INF/web.xml java.net.ConnectException: Connection timed out at java.net.PlainSocketImpl.socketConnect(Native Method) ... SEVERE: Received exception processing /home/erik/workspace/wikihop/war/ WEB-INF/web.xml com.google.apphosting.utils.config.AppEngineConfigException: Received IOException parsing the input stream for /home/erik/workspace/wikihop/ war/WEB-INF/web.xml at com.google.apphosting.utils.config.AbstractConfigXmlReader.getTopLevelNode( AbstractConfigXmlReader.java: 210) ... Bad configuration: Received IOException parsing the input stream for / home/erik/workspace/wikihop/war/WEB-INF/web.xml Caused by: Connection timed out -- 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-appeng...@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.