[appengine-java] cache expiration
In my application, I get values from captors Each value has a 5 minute validity. Each read from a captor cost a lot, so I've tried to put it in the GAE cache My code (JCache or low level api) is working with the cache as long as I don't use the exoiration delay. When I use the expiration delay, it works fine as long as the expiration delay isn't spent. After, a get(key) on the cache always gives null and a put(key,value) doesn't change that. The same problem seems to be describded here http://groups.google.com/group/google-appengine-java/browse_thread/thread/4e562762f13d932e/a974365a918b279d?lnk=gstq=JCache+expirationpli=1 and in other messages on the web Here is a view of my code on the low level API key = num; foo = (String)cache.get(key); if (foo == null) { foo = /* get the value */ cache.put(key, foo, exp, MemcacheService.SetPolicy.SET_ALWAYS); } resp.setContentType(text/xml); resp.getOutputStream().print(foo); } where exp is declared as a global by static Expiration exp = Expiration.byDeltaSeconds(300); -- 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] XMPP : Sendinvitation failed with xx...@gmail.com
I was trying to send an invitation to a gmail id and the gmail user is logged in through GTALK and i am getting following message, what can be the reason for this ? Nested in javax.servlet.ServletException: java.lang.IllegalArgumentException: Invalid jabber ID: JID: x...@gmail.com: java.lang.IllegalArgumentException: Invalid jabber ID: JID: x...@gmail.com at com.google.appengine.api.xmpp.XMPPServiceImpl.sendInvitation(XMPPServiceImpl.java: 82) Thanks, Rahul -- 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] JTidy
I am trying to use JTidy in Eclipse. I add JTidy jar to the build path and add the jar again as the source attachment. When I make a tidy object it shows up as a org.w3c.tidy.Tidy. but when I run my app i get the error java.lang.NoClassDefFoundError: org/w3c/tidy/Tidy. Am I not adding the jar correctly? Does JTidy not work on google 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.
Re: [appengine-java] JTidy
Make sure you put it in your war/WEB-INF/lib directory On 19 Mar 2010, at 21:36, WillSpecht wrote: I am trying to use JTidy in Eclipse. I add JTidy jar to the build path and add the jar again as the source attachment. When I make a tidy object it shows up as a org.w3c.tidy.Tidy. but when I run my app i get the error java.lang.NoClassDefFoundError: org/w3c/tidy/Tidy. Am I not adding the jar correctly? Does JTidy not work on google 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-java@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] Is it possible to add a member to a detached object's collection that wasn't itself detached?
In case my subject line was confusing, I'll elaborate: Let's say I have a parent object that has a collection of children. I detach that parent object and intentionally omit the collection of children from the fetch group, in order to avoid fetching the potentially numerous children. Then, I want to add a new child to that parent's collection. I thought I would be able to add that child to the parent's empty un- detached collection, and thus have a child-collection size of 1, and then have that child be added to the parent's collection of children when the parent is attached. This code gave me an illegal access of field that wasn't detached, if you want to access this field please detach it exception. The reason that I thought this was possible was the following lines from the JDO docs: If you don't detach a field of an object, you cannot access the value for that field while the object is detached. If you don't detach a field of an object, you can update the value for that field while detached, and thereafter you can access the value for that field. (http://www.jpox.org/docs/1_2/jdo/attach_detach.html) The second line pertains to what I'm doing (updatingthe value for the field while detached), but I guess in so doing I am also trying to access the value for the field. In short, is what I'm trying to do possible? Cheers, Mike -- 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 memcache get clean when new version deployed and made to be the default one?
The *anything* can be side-effects all over the code so I found it easier to deal with it in one place. Here is the code to get the version number. Perhaps there is a simpler way. String getAppVer() { String sPath = System.getProperty(user.dir); if (sPath == null) return 99; int nIX = sPath.lastIndexOf(/); if (nIX 0) return 888; return sPath.substring(nIX+1); } Steve On Mar 19, 1:17 pm, Jeff Schnitzer j...@infohazard.org wrote: There is a simpler solution to this: If you fetch something from memcache, and *anything* goes wrong, treat it as if you got back an empty result. The problem will eventually take care of itself. Jeff On Fri, Mar 19, 2010 at 4:19 AM, Steve Pritchard steve...@gmail.com wrote: Thats why I used the version number string (available in the System.properties) to be part of my key. I was using MemCache to store path names (among other things) and it broke every time I deployed. Steve Pritchard On Mar 18, 10:03 pm, John Patterson jdpatter...@gmail.com wrote: No. On 19 Mar 2010, at 08:37, opok wrote: Hi all, does memcache get clean when new version deployed and made to be the default one? -- 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-java@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 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] Re: Filter's static variable is lost
Hi, you could use a Servlet Content Listener, which will tell you when the Servlet context starts / stops ... you'll at least know when Google are loading or unloading your app. But this doesn't help solving the problem I described above. if you truly have to do some initialization each time the JVM starts, I mean the opposite. I don't want to do initialization every time Google loads my app. I will convert all static variables into datastore entries. Instead, I want to save the state for a lifetime, until a new deployment is made. I think you assumed I was writing about loading, but I meant deployment. So, my question is how to determine a new deployment(uploading the new application with the same version name) in my app programatically. Thanks, Ali On Mar 19, 7:31 pm, Peter Ondruska peter.ondru...@gmail.com wrote: You should first test that Context destroy is called as I recall from earlier discussion that this may not be used in GAE/J On Mar 19, 5:49 pm, Conor Power iamco...@gmail.com wrote: you could use a Servlet Content Listener, which will tell you when the Servlet context starts / stops ... you'll at least know when Google are loading or unloading your app. from reading your email however, it seems like there maybe a little confusion around app initialization. if you truly have to do some initialization each time the JVM starts, you won't want to store initialized in the datastore as if / when other instances are spun up they will be in an inconsistent state than what you want. it seems like you want this initialized state on a per context basis. C On Fri, Mar 19, 2010 at 3:18 PM, John Patterson jdpatter...@gmail.comwrote: Deploying a new version has no effect on data stored in the datastore. What do you mean by initialize your app. If you are referring to loading data into memory then that needs to be done for every instance of your app that is loaded. Not just once per deployment. On 19 Mar 2010, at 19:10, Ali Ok wrote: Ok, I understood this one. However, I think you should warn the developers not to use static variables at all, in a large and red styled documentation paragraph. In this case, assume that every static variable is converted, and they all being set from Datastore. However, this does not solve the problem. Let me explain an example: * After deployment, at the first request, let me put a flag, initialized=true, into datastore * On later requests, my app does not need to be initialized, since I get initialized=true from Datastore. Everything is cool. * Let's make a new deployment to App Engine at this stage. * After deployment of a new version, my app needs to be intialized again * In the code, once again I check my initialized flag from Datastore is true, since a new deployment doesn't clear the stored data, right? * How to determine that a new deployment is made, and the initialization needs to be run again? What are the effects of a new deployment to the Datastore? Thanks for your replies, Ali On 18 Mart, 22:34, Don Schwarz schwa...@google.com wrote: Unlike most Java hosting providers, we load and unload your code on JVMs as your load patterns change. This will result in static variable static being lost, and as a result you should only expect durability of data stored in the datastore. Transient data should generally be stored in memcache, although data may be evicted from memcache as well. For more information, see: http://code.google.com/appengine/kb/java.html#What_Causes_Loading_Req... On Thu, Mar 18, 2010 at 9:34 AM, Ali Ok al...@aliok.com.tr wrote: Hi, I am trying to implement Google App Engine support for Myfaces 2. You can see the work [1] [2]. At the moment, I am making some trials to identify the problem at [2]. I am experiencing an interesting problem. My filter's static variable is lost after some time(ie. 3 minutes) I have a filter like this: public class TestFilter implements Filter { ... private static String myStaticVariable; public void doFilter(ServletRequest arg0, ServletResponse arg1, FilterChain arg2) throws IOException, ServletException { log.warning(myStaticVariable + myStaticVariable); if(myStaticVariable==null) myStaticVariable = someValue; arg2.doFilter(arg0, arg1); } ... } When I make the first request, myStaticVariable is set to someValue. If I make a request in a short period (ie. 20 seconds), I see that value of myStaticVariable is still someValue. However, after 3 minutes, when I make another request, I see that myStaticVariable is set to its default value (null). Why are my static variables are gone? Am I doing something wrong? I can understand that the reconstruction of the filter and
[appengine-java] Re: Datastore Delete raises wrong exception
Thanks Don for confirming this. I filed an issue at http://code.google.com/p/googleappengine/issues/detail?id=2993 And please keep in mind that dev server should behave in the same way as the production server in this case. -- 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] XMPP : Sendinvitation failed with xx...@gmail.com
Hi, I tried. The following source think that it was able to execute it normally. String sendEmail = @gmail.com; JID jid = new JID(sendEmail); XMPPService xmpp = XMPPServiceFactory.getXMPPService(); xmpp.sendInvitation(jid); When this source doesn't operate normally, it is likely to have to think about other causes. Good luck Please try. thanks. I was trying to send an invitation to a gmail id and the gmail user is logged in through GTALK and i am getting following message, what can be the reason for this ? Nested in javax.servlet.ServletException: java.lang.IllegalArgumentException: Invalid jabber ID: JID: x...@gmail.com: java.lang.IllegalArgumentException: Invalid jabber ID: JID: x...@gmail.com at com.google.appengine.api.xmpp.XMPPServiceImpl.sendInvitation(XMPPServiceImpl. java: 82) Thanks, Rahul -- 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: Hard Deadline Exceeded and High CPU
Hey Ken, I'm having the same issue as you, did you find a reasonable resolution? It surprises me that this isn't talked about more as it happens with just a basic Grails app as you mentioned. It makes me think there's something trivial I need to do to get it to work. Best of luck, Gav On Mar 8, 12:30 am, Ken evotur...@gmail.com wrote: Actually my app is written in Groovy onGrails. It is supposed to be supported by App Engine and seems to work OK, with a few warts and this problem. Unfortunately it means I probably don't have as much control over application start up times as I might with another framework. Is there any way to increase the amount of time my app is allowed to spend spinning up? If not, then app engine really doesn't support Groovy onGrails. We should probably note this stuff somewhere. On Mar 7, 6:08 pm, John Patterson jdpatter...@gmail.com wrote: The Jetty server is not used again after an error so another one has to be spun-up for you next request. The only thing you can do about it is tackle the HDEEs which is not always easy. It sounds like they might be due to long start-up time? If so there are a number of tactics you can use to reduce this: Use lazy initialization as much as possible. Split your app into a user facing version and an admin version that share the same datastore If you use Guice try using the non-AOP version that does not enhance classes at startup Spring - not sure but others mentioned turning off classpath scanning Try reducing external jar dependencies - not sure how much affect loading these has If the cause of the HDEEs is that your requests take a long time then you'll need to reduce processing time Try using the Deferred class: http://groups.google.com/group/google-appengine-java/browse_thread/th... On 8 Mar 2010, at 05:37, Ken wrote: I am getting HardDeadlineExceededErrors. What do you mean that the instance will be disposed? What can I do about it? Thank you. On Mar 7, 5:18 pm, John Patterson jdpatter...@gmail.com wrote: If there are errors like HardDeadlineExceededError then the server instance will be disposed. Could this be the problem? On 8 Mar 2010, at 05:09, Ken wrote: I was just looking in the logs after making numerous requests to my application. Something is seriously wrong. I'm even having high CPU on static files. In one request it took 45 seconds of CPU to return the favicon.ico file. I guess this is really related to starting a server instance, but if that's true then the server is going down after only a few seconds of use. It is starting the server handling a request and a few seconds later dropping the server. It isn't even staying up a minute. On Mar 7, 3:13 pm, Ken evotur...@gmail.com wrote: I have a very simple Groovy onGrailsapplication installed that uses only a single table. The application is really just the scaffolded edits on this table with very few modifications to make it work. So it doesn't really do anything. About one in five clicks result in an error. The exception is a Hard Deadline Exceeded and there is a warning about the CPU limit as well. Randomly a request will take around 30 seconds of CPU for no reason. There is no change in the code. There is no change to the data. The exact same request will return with essentially no latency and then it will take 30 seconds of CPU. I thought this might be some kind of weirdness withGrails, but there are several issues listed that seem to be related to same issue: http://code.google.com/p/googleappengine/issues/detail?id=2621http:// ... ?id=2840http://code.google.com/p/googleappengine/issues/detail?id=2691http:// ... ?id=2837http://code.google.com/p/googleappengine/issues/detail?id=2846 I've stared them all because they all are likely related to the same problem I'm having. I was hoping that someone here knew what was going on and might be able to help me resolve it. In one of the messages above someone mentions moving an application to another shard to solve the problem. What does this mean? Is it really a potential solution? Thank you. -- 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-java@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-java@googlegroups.com . To unsubscribe from this group, send email to
[appengine-java] Re: Unable to upload application
Some of admin console pages (Application settings or Admin logs for example) are unavailable too On Mar 19, 1:26 am, Peter Ondruska peter.ondru...@gmail.com wrote: I am trying to upload my application but it fails everytime: com.google.appengine.tools.admin.AdminException: Unable to update app: Error posting to URL:https://appengine.google.com/api/appversion/create?app_id=f72dzzn5q5q... 500 Internal Server Error Server Error (500) A server error has occurred. at com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java: 62) at com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.deploy(AppEngin eBridgeImpl.java: 271) at com.google.appengine.eclipse.core.deploy.DeployProjectJob.runInWorkspace(De ployProjectJob.java: 145) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorksp aceJob.java: 38) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) Caused by: java.io.IOException: Error posting to URL:https://appengine.google.com/api/appversion/create?app_id=f72dzzn5q5q... 500 Internal Server Error Server Error (500) A server error has occurred. at com.google.appengine.tools.admin.ServerConnection.send(ServerConnection.jav a: 149) at com.google.appengine.tools.admin.ServerConnection.post(ServerConnection.jav a: 82) at com.google.appengine.tools.admin.AppVersionUpload.send(AppVersionUpload.jav a: 532) at com.google.appengine.tools.admin.AppVersionUpload.beginTransaction(AppVersi onUpload.java: 349) at com.google.appengine.tools.admin.AppVersionUpload.doUpload(AppVersionUpload .java: 111) at com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java: 56) ... 4 more -- 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: Unable to upload application
Same here On Mar 19, 1:50 am, Huebi konrad.hueb...@googlemail.com wrote: here as well :( On 18 Mrz., 23:42, François Masurel fm2...@mably.com wrote: Same problem here too :-( On 18 mar, 23:30, Sandeep Sathaye sandeep.sath...@gmail.com wrote: I am having the same problem. On Thu, Mar 18, 2010 at 6:26 PM, Peter Ondruska peter.ondru...@gmail.comwrote: I am trying to upload my application but it fails everytime: com.google.appengine.tools.admin.AdminException: Unable to update app: Error posting to URL: https://appengine.google.com/api/appversion/create?app_id=f72dzzn5q5q... 500 Internal Server Error Server Error (500) A server error has occurred. at com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java: 62) at com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.deploy(AppEngin eBridgeImpl.java: 271) at com.google.appengine.eclipse.core.deploy.DeployProjectJob.runInWorkspace(De ployProjectJob.java: 145) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorksp aceJob.java: 38) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) Caused by: java.io.IOException: Error posting to URL: https://appengine.google.com/api/appversion/create?app_id=f72dzzn5q5q... 500 Internal Server Error Server Error (500) A server error has occurred. at com.google.appengine.tools.admin.ServerConnection.send(ServerConnection.jav a: 149) at com.google.appengine.tools.admin.ServerConnection.post(ServerConnection.jav a: 82) at com.google.appengine.tools.admin.AppVersionUpload.send(AppVersionUpload.jav a: 532) at com.google.appengine.tools.admin.AppVersionUpload.beginTransaction(AppVersi onUpload.java: 349) at com.google.appengine.tools.admin.AppVersionUpload.doUpload(AppVersionUpload .java: 111) at com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java: 56) ... 4 more -- 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: [appengine-java] Unable to upload application
I encountered this error when I was trying to deploy a disabled application May be worth checking the status of your application. This option is available from Administration section. I have tried this as we speak, and at the moment, the app engine admin utility is not responding. I am getting Server Error (500) - A server error has occurred. May be some maintenance work happening? On Fri, Mar 19, 2010 at 9:26 AM, Peter Ondruska peter.ondru...@gmail.comwrote: I am trying to upload my application but it fails everytime: com.google.appengine.tools.admin.AdminException: Unable to update app: Error posting to URL: https://appengine.google.com/api/appversion/create?app_id=f72dzzn5q5qtversion=2; 500 Internal Server Error Server Error (500) A server error has occurred. at com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java: 62) at com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.deploy(AppEngineBridgeImpl.java: 271) at com.google.appengine.eclipse.core.deploy.DeployProjectJob.runInWorkspace(DeployProjectJob.java: 145) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java: 38) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) Caused by: java.io.IOException: Error posting to URL: https://appengine.google.com/api/appversion/create?app_id=f72dzzn5q5qtversion=2; 500 Internal Server Error Server Error (500) A server error has occurred. at com.google.appengine.tools.admin.ServerConnection.send(ServerConnection.java: 149) at com.google.appengine.tools.admin.ServerConnection.post(ServerConnection.java: 82) at com.google.appengine.tools.admin.AppVersionUpload.send(AppVersionUpload.java: 532) at com.google.appengine.tools.admin.AppVersionUpload.beginTransaction(AppVersionUpload.java: 349) at com.google.appengine.tools.admin.AppVersionUpload.doUpload(AppVersionUpload.java: 111) at com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java: 56) ... 4 more -- 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: Hard Deadline Exceeded and High CPU
This is being actively looked into; http://jira.codehaus.org/browse/GRAILSPLUGINS-1736 On Mar 8, 12:30 am, Ken evotur...@gmail.com wrote: Actually my app is written in Groovy onGrails. It is supposed to be supported by App Engine and seems to work OK, with a few warts and this problem. Unfortunately it means I probably don't have as much control over application start up times as I might with another framework. Is there any way to increase the amount of time my app is allowed to spend spinning up? If not, then app engine really doesn't support Groovy onGrails. We should probably note this stuff somewhere. On Mar 7, 6:08 pm, John Patterson jdpatter...@gmail.com wrote: The Jetty server is not used again after an error so another one has to be spun-up for you next request. The only thing you can do about it is tackle the HDEEs which is not always easy. It sounds like they might be due to long start-up time? If so there are a number of tactics you can use to reduce this: Use lazy initialization as much as possible. Split your app into a user facing version and an admin version that share the same datastore If you use Guice try using the non-AOP version that does not enhance classes at startup Spring - not sure but others mentioned turning off classpath scanning Try reducing external jar dependencies - not sure how much affect loading these has If the cause of the HDEEs is that your requests take a long time then you'll need to reduce processing time Try using the Deferred class: http://groups.google.com/group/google-appengine-java/browse_thread/th... On 8 Mar 2010, at 05:37, Ken wrote: I am getting HardDeadlineExceededErrors. What do you mean that the instance will be disposed? What can I do about it? Thank you. On Mar 7, 5:18 pm, John Patterson jdpatter...@gmail.com wrote: If there are errors like HardDeadlineExceededError then the server instance will be disposed. Could this be the problem? On 8 Mar 2010, at 05:09, Ken wrote: I was just looking in the logs after making numerous requests to my application. Something is seriously wrong. I'm even having high CPU on static files. In one request it took 45 seconds of CPU to return the favicon.ico file. I guess this is really related to starting a server instance, but if that's true then the server is going down after only a few seconds of use. It is starting the server handling a request and a few seconds later dropping the server. It isn't even staying up a minute. On Mar 7, 3:13 pm, Ken evotur...@gmail.com wrote: I have a very simple Groovy onGrailsapplication installed that uses only a single table. The application is really just the scaffolded edits on this table with very few modifications to make it work. So it doesn't really do anything. About one in five clicks result in an error. The exception is a Hard Deadline Exceeded and there is a warning about the CPU limit as well. Randomly a request will take around 30 seconds of CPU for no reason. There is no change in the code. There is no change to the data. The exact same request will return with essentially no latency and then it will take 30 seconds of CPU. I thought this might be some kind of weirdness withGrails, but there are several issues listed that seem to be related to same issue: http://code.google.com/p/googleappengine/issues/detail?id=2621http:// ... ?id=2840http://code.google.com/p/googleappengine/issues/detail?id=2691http:// ... ?id=2837http://code.google.com/p/googleappengine/issues/detail?id=2846 I've stared them all because they all are likely related to the same problem I'm having. I was hoping that someone here knew what was going on and might be able to help me resolve it. In one of the messages above someone mentions moving an application to another shard to solve the problem. What does this mean? Is it really a potential solution? Thank you. -- 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-java@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-java@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
[appengine-java] Error During Eclipse Install
I have been able to get the GWT plugin and GWT Web SDK installed ok through Eclipse, but I get this error when I try to install the App Engine SDK: An error occurred while collecting items to be installed session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Collect, operand=, action=). Error closing the output stream for osgi.bundle,com.google.appengine.eclipse.sdkbundle. 1.3.1,1.3.1.v201002101412 on repository file:/C:/Documents%20and %20Settings/Administrator/My%20Documents/eclipse/. Error unzipping C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp \com.google.appengine.eclipse.sdkbundle. 1.3.1_1.3.1.v2010021014127093477679547686438.jar: invalid entry size (expected 9729129 but got 9732484 bytes) The 2nd number (number got) always changes, sometimes its less, sometimes more. I have tried to download/install this plugin 10 times all with the same error. Eclipse SDK Version: 3.5.2 Build id: M20100211-1343 Java: 1.6.0_18 Windows XP x64. Anyone have any ideas? -- 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: Parallel Asynchronous Datastore Commands with Twig 1.0
I'm interested in the asynchronous datastore commands. How does it work behind the scenes? I'm using the low level datastore API and think asynchronous writes could be really useful for my project. I browsed through the low level api docs, but couldn't find a way to do an asynchronous command. -- 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.
[google-appengine] Can't deploy
What am I doing wrong? E:\google_appengineset HTTP_PROXY=http://192.168.1.101:8080 E:\google_appengineappcfg.py --insecure update X Application: XX; version: . Server: appengine.google.com. Scanning files on local disk. Initiating update. 2010-03-19 08:25:31,369 WARNING appengine_rpc.py:399 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 from http://pypi.python.org/pypi/ssl . To learn more, see http://code.google.com/appengine/kb/general.html#rpcssl . Email: X Password for X: Error 302: --- begin server output --- HTML HEAD TITLEMoved Temporarily/TITLE /HEAD BODY BGCOLOR=#FF TEXT=#00 H1Moved Temporarily/H1 The document has moved A HREF=https://www.google.com/accounts/ ClientLoginher e/A. /BODY /HTML --- 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: interval intersection - datastore modeling
@scott: they are unbounded floating point values On Mar 18, 10:16 am, Scott Ellis sje...@gmail.com wrote: are they dates? floating point values? values on a scale from 1 to 5? all of the above? On 18 March 2010 19:28, jeremy jeremy.a...@gmail.com wrote: i have objects which store a 'start' and 'end' position. given an arbitrary interval, i'd like to return all objects with which it intersects. can anyone think of an approach to modeling this on datastore? -- 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: interval intersection - datastore modeling
@tristan: there's nothing difficult about individual intersection tests. the issue is that i can only perform inequality operations on a single property. how do i match both the end and the beginning - is there someway to encode them in the same property? On Mar 18, 3:31 pm, Tristan tristan.slomin...@gmail.com wrote: sounds like the 3D graphics guys solved this problem... if you post the solution perhaps i'll be able to suggest on how to do it in a datastore On Mar 18, 4:16 am, Scott Ellis sje...@gmail.com wrote: are they dates? floating point values? values on a scale from 1 to 5? all of the above? On 18 March 2010 19:28, jeremy jeremy.a...@gmail.com wrote: i have objects which store a 'start' and 'end' position. given an arbitrary interval, i'd like to return all objects with which it intersects. can anyone think of an approach to modeling this on datastore? -- 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%2Bunsubscrib e...@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: Does App Engine throttle requests from a particular IP address?
An update. As an experiment, instead of sending the requests sequentially in the loop I now send every request from within a new thread. It improved things quite a bit. The requests arrive to the server milliseconds apart. The end result is that the client is done within about 5 seconds for the same work load that used to take 12 sec/item (overall that's about 2 orders of magnitude faster) However, instead of 200-500 ms it now takes more than 4 _seconds_ for a single request to complete on the server. Assuming app engine allocates 30 handlers per app you would think 25 items could have been processed at the same time as not much else was happening in the app at the same time. However it definitely looks like all the requests were processed by the same single handler. Any clues? -- 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: interval intersection - datastore modeling
Hi You might want to have a look at how geohash http://en.wikipedia.org/wiki/Geohash does things. I know it doesn't correspond with what you want but it might give you some ideas. T On Mar 19, 7:37 pm, jeremy jeremy.a...@gmail.com wrote: @tristan: there's nothing difficult about individual intersection tests. the issue is that i can only perform inequality operations on a single property. how do i match both the end and the beginning - is there someway to encode them in the same property? On Mar 18, 3:31 pm, Tristan tristan.slomin...@gmail.com wrote: sounds like the 3D graphics guys solved this problem... if you post the solution perhaps i'll be able to suggest on how to do it in a datastore On Mar 18, 4:16 am, Scott Ellis sje...@gmail.com wrote: are they dates? floating point values? values on a scale from 1 to 5? all of the above? On 18 March 2010 19:28, jeremy jeremy.a...@gmail.com wrote: i have objects which store a 'start' and 'end' position. given an arbitrary interval, i'd like to return all objects with which it intersects. can anyone think of an approach to modeling this on datastore? -- 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%2Bunsubscrib e...@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] Entity Index vs. Cursors
Hi John, The indexing described in Brett's talk address a different issue - that of (potentially very) large numbers of index entries for a single entity. Cursors will help with some queries on this type of index, but probably won't affect your general approach. -Nick On Thu, Mar 18, 2010 at 6:47 PM, jpuopolo puop...@gmail.com wrote: All, With the introduction of Query Cursors, do we still need to implement entity indexes for rigid ordering and efficient paging? In Brett Slatkin's talk on Building Scalable Web Apps with GAE, he discussed how to create a blog - and uses the index technique; however, query cursors seem to go a long way in fulfilling the need - ? Thoughts? Thanks, John -- 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. -- Nick Johnson, Developer Programs Engineer, App Engine Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number: 368047 -- 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] Found error when I use BlobProperty and template in my app
Hi, On Thu, Mar 18, 2010 at 4:52 AM, schinghu schin...@gmail.com wrote: Hi all, When I use app engine to develop a simple website, uploading image using html form, I met the following error: [template is used in my application] -- Traceback (most recent call last): File /tools/google/google_appengine/google/appengine/ext/webapp/ __init__.py, line 507, in __call__ handler.get(*groups) File /mnt/hgfs/share/cloud/app/netcoc/netcoc.py, line 53, in get self.response.out.write(template.render(template_file, to_template_values)) File /tools/google/google_appengine/google/appengine/ext/webapp/ template.py, line 80, in render t = load(template_path, debug) File /tools/google/google_appengine/google/appengine/ext/webapp/ template.py, line 108, in load template = django.template.loader.get_template(file_name) File /tools/google/google_appengine/lib/django/django/template/ loader.py, line 80, in get_template template = get_template_from_string(source, origin, template_name) File /tools/google/google_appengine/lib/django/django/template/ loader.py, line 88, in get_template_from_string return Template(source, origin, name) File /tools/google/google_appengine/lib/django/django/template/ __init__.py, line 158, in __init__ self.nodelist = compile_string(template_string, origin) File /tools/google/google_appengine/lib/django/django/template/ __init__.py, line 174, in compile_string return parser.parse() File /tools/google/google_appengine/lib/django/django/template/ __init__.py, line 273, in parse compiled_result = compile_func(self, token) File /tools/google/google_appengine/lib/django/django/template/ defaulttags.py, line 544, in do_for nodelist_loop = parser.parse(('endfor',)) File /tools/google/google_appengine/lib/django/django/template/ __init__.py, line 254, in parse filter_expression = self.compile_filter(token.contents) File /tools/google/google_appengine/lib/django/django/template/ __init__.py, line 338, in compile_filter return FilterExpression(token, self) File /tools/google/google_appengine/lib/django/django/template/ __init__.py, line 558, in __init__ raise TemplateSyntaxError, Could not parse the remainder: %s % token[upto:] TemplateSyntaxError: Could not parse the remainder: () -- This is my Model: -- class MsgTable(db.Model): user= db.UserProperty() image = db.BlobProperty() content = db.StringProperty(multiline=True) date= db.DateTimeProperty(auto_now_add=True) -- This is the data sent to template -- to_template_values = { 'MsgRs': MsgRs, 'url': url, 'url_txt': url_txt, } template_file = os.path.join(os.path.dirname(__file__), 'index.htm') self.response.out.write(template.render(template_file, to_template_values)) -- This is the final part: index.htm and Image app: -- html head link type=text/css rel=stylesheet href=/css/main.css / /head body {% for item in MsgRs %} img src=image?image_id={{ item.key() }}/img {% if item.user %} b{{ item.user.nickname }}/b wrote: {% else %} An anonymous person wrote: {% endif %} blockquote{{ item.content|escape }}/blockquote {% endfor %} form action=/sign method=post divtextarea name=content rows=3 cols=60/textarea/div divinput type=file name=image//div divinput type=submit value=Sign Guestbook/div /form a href={{ url }}{{ url_txt }}/a /body /html -- class Image (webapp.RequestHandler): def get(self): item = db.get(self.request.get(image_id)) if item.image: self.response.headers['Content-Type'] = image/png self.response.out.write(item.image) else: self.response.out.write(No image)
[google-appengine] Help with 414 Request-URI Too Large
One of my apps is a short url service for personal use. Today I tried to shorten a URL that works fine with Google Charts API:- http://chart.apis.google.com/chart?cht=lxychs=720x410chxt=x,ychg=10,20chxr=0,0,200|1,0,100chd=t:0,15,15,16,16,17,18,21,22,24,26,29,34,45,62,70,88,100|0,0,15,26,31,35,39,42,45,50,54,57,60,63,66,70,73,76|0,17,17,18,18,18,19,19,20,20,21,22,25,29,62,65,69,80,99,135|0,0,5,9,15,21,29,37,43,47,52,56,59,63,66,70,73,76,79,82|0,5,6,6,6,7,7,8,9,12,15,17,18,20,22,27,33,35,52,66,88,97,118|0,0,6,10,16,20,24,28,31,35,38,41,45,48,51,55,58,61,64,67,70,74,77|0,23,23,23,24,24,25,26,27,31,34,38,45,54,85,96,115|0,0,9,20,34,44,47,50,54,57,60,64,67,70,74,77,80|0,13,14,14,15,24,32,35,37,47,57,70,73,77,81,91,96,102|0,0,5,9,12,15,19,23,26,30,33,36,39,42,45,49,52,55|0,11,12,12,12,13,15,16,17,17,19,22,29,46,58,61,63,71,90,97,102|0,0,10,17,23,28,31,34,38,42,46,49,52,55,59,62,65,69,72,75,79|0,2,2,2,5,18,31,38,47,60,65,77,87,96,105|0,0,4,8,12,15,19,22,25,28,31,35,38,41,45|0,20,21,21,21,22,22,23,25,37,69,98,114|0,0,24,48,59,65,69,72,76,79,82,85,89|0,28,28,28,29,29,30,31,32,34,59,75,95,106|0,0,20,41,52,56,60,65,68,71,75,78,81,85|0,17,18,18,18,19,20,21,22,24,25,27,33,41,49,66,69,79,82,102|0,0,8,17,24,29,33,36,40,45,48,51,54,58,61,64,67,70,74,77|0,5,5,6,6,6,7,9,14,15,17,18,20,24,30,37,48,54,60,65,78,93,104|0,0,4,9,14,18,24,27,30,34,38,41,45,49,52,55,59,62,65,68,71,75,78chco=ff9900,1a00ff,80ff00,ff00e6,00e6ff,fae30a,9900ff,9f5734,00,7b9f34,3090c0chxt=x,y,x,ychxl=2:||Duration+in+ms||3:||%|chdl=Arcor/Vodafone+4+DE|DynGuide|GC-Net+DK|Google+Public+DNS|Hurricane+Electric+IPv6|IS+Interned+NL|Localhost+IPv6|OpenDNS-2|UltraDNS-2|ViaNetworks+3+DE|broadcom-3+DKchtt=Namebench+on+mirror.ipv6.chaz6.com.+(2010-03-19) However, when I tried to shorten this with my AppEngine app, I received the error Request-URI Too Large The requested URL /new.html... is too large to process. Given that the URI is 1610 characters, I should not have thought the addition of my endpoint new.html?href= would make much difference. I was able to make a short url with no problem using tinyurl.com. Is there anyway to inrease the maximum URI length accepted by my app? -- 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 with 414 Request-URI Too Large
Since Google Groups has mangled my link, you can find the correct url at http://tinyurl.com/ybshhp8. Perhaps someone from Groups could fix the url parser. -- 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: Help with 414 Request-URI Too Large
However the href= will need url encoding (in particular the 's), so that pushes the length upto 2588 chars. Depending on how you generating the link, perhaps an idea would be to accept links in the form http://chart.apis.google.com.shorten.myapp.appspot.com/chart?cht=lxych Then the bit after the / doesnt need any additional url encoding - its exactly as it would be at the end point. On 19 March 2010 14:56, Chris Hills c...@chaz6.com wrote: Since Google Groups has mangled my link, you can find the correct url at http://tinyurl.com/ybshhp8. Perhaps someone from Groups could fix the url parser. -- 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] Accessing user account information through the users object
Why is that the users object returned for the logged in user isn't being populated with ALL of the details for that's user's account? Specifically, there is odd behavior for the nickname. Gmail accounts seem to pull out the name in front of '@gmail.com' as the nickname, but other logins - that are valid Google accounts - will use the entire email rather than the real name of that user. Why isn't the built-in API providing better access to the actual account data? Am I required to implement the Google Account API (http:// code.google.com/apis/accounts/) to get the real information about the user? 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] Accessing user account information through the users object
Nickname is the name of a Google account. When you login to any Google services with a Google account, you can type the entire email or just the user name of your Gmail account. It's a litter convenient for the Gmail user, so dose in GAE. If you really want the email address, you can call email() method instead. -- keakon 2010/3/19 Greg Tracy g...@gregtracy.com: Why is that the users object returned for the logged in user isn't being populated with ALL of the details for that's user's account? Specifically, there is odd behavior for the nickname. Gmail accounts seem to pull out the name in front of '@gmail.com' as the nickname, but other logins - that are valid Google accounts - will use the entire email rather than the real name of that user. Why isn't the built-in API providing better access to the actual account data? Am I required to implement the Google Account API (http:// code.google.com/apis/accounts/) to get the real information about the user? 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. -- 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: Server Error
cocoslive is a High Score server, and now almost all the games are throwing the Deadline exception. this is another example: class 'google.appengine.runtime.DeadlineExceededError': Traceback (most recent call last): File /base/data/home/apps/cocoslive/1.340556897570839124/api.py, line 694, in main run_wsgi_app(application) File /base/python_lib/versions/1/google/appengine/ext/webapp/ util.py, line 97, in run_wsgi_app run_bare_wsgi_app(add_wsgi_middleware(application)) File /base/python_lib/versions/1/google/appengine/ext/webapp/ util.py, line 115, in run_bare_wsgi_app result = application(env, _start_response) File /base/python_lib/versions/1/google/appengine/ext/webapp/ __init__.py, line 509, in __call__ handler.post(*groups) File /base/data/home/apps/cocoslive/1.340556897570839124/api.py, line 651, in post casted_value = self.cast_value_to_type( arg, value ) File /base/data/home/apps/cocoslive/1.340556897570839124/api.py, line 131, in cast_value_to_type result = query.fetch(1)[0] File /base/python_lib/versions/1/google/appengine/ext/db/ __init__.py, line 1616, in fetch raw = raw_query.Get(limit, offset, rpc=rpc) File /base/python_lib/versions/1/google/appengine/api/ datastore.py, line 1183, in Get limit=limit, offset=offset, prefetch_count=limit, **kwargs)._Get(limit) File /base/python_lib/versions/1/google/appengine/api/ datastore.py, line 1110, in _Run datastore_pb.QueryResult(), rpc) File /base/python_lib/versions/1/google/appengine/api/ datastore.py, line 176, in _MakeSyncCall rpc.wait() File /base/python_lib/versions/1/google/appengine/api/ apiproxy_stub_map.py, line 460, in wait self.__rpc.Wait() File /base/python_lib/versions/1/google/appengine/api/ apiproxy_rpc.py, line 112, in Wait rpc_completed = self._WaitImpl() File /base/python_lib/versions/1/google/appengine/runtime/ apiproxy.py, line 108, in _WaitImpl rpc_completed = _apphosting_runtime___python__apiproxy.Wait(self) -- 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: Accessing user account information through the users object
What I'd like access to is everything inside the account profile. There is a real name for google acounts. Even non-gmail google accounts. I'm surprised the users object doesn't give me access to this so I was wondering what others were doing. Do I need to implement the Google Account API? This seems like it would be a common problem from app engine developers that are leveraging the google accounts infrastructure for their apps. On Mar 19, 10:37 am, 风笑雪 kea...@gmail.com wrote: Nickname is the name of a Google account. When you login to any Google services with a Google account, you can type the entire email or just the user name of your Gmail account. It's a litter convenient for the Gmail user, so dose in GAE. If you really want the email address, you can call email() method instead. -- keakon 2010/3/19 Greg Tracy g...@gregtracy.com: Why is that the users object returned for the logged in user isn't being populated with ALL of the details for that's user's account? Specifically, there is odd behavior for the nickname. Gmail accounts seem to pull out the name in front of '@gmail.com' as the nickname, but other logins - that are valid Google accounts - will use the entire email rather than the real name of that user. Why isn't the built-in API providing better access to the actual account data? Am I required to implement the Google Account API (http:// code.google.com/apis/accounts/) to get the real information about the user? 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 athttp://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: Server Error
I would like to mention that I didn't modify anything on the server. From 1 day to another the server started to throw this error :-( -- 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: How can I efficiently retrieve entities for a list of keys? (Java)
Depending on the list of keys, it might be faster to use a query. I have a case, where I have a sorted list of key names and the there is no other key in the datastore that is bigger than the first key and smaller than the last key of the list. I experimented a bit, and for me, the following solution was significantly faster than getting all keys with a batch get. SELECT * FROM Model WHERE __key__ = :key_first ORDER BY __key__ (and fetching length(list) entities) I don't know if your list of keys has a similar structure, but I thought it could help you. -Ulrich Josh Rehman wrote: Thanks! Knew it had to be in there somewhere. :) http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/DatastoreService.html#get(java.lang.Iterable) http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/DatastoreService.html#get%28java.lang.Iterable%29 On Thu, Mar 18, 2010 at 5:39 PM, Tristan tristan.slomin...@gmail.com mailto:tristan.slomin...@gmail.com wrote: look in DatastoreService get() On Mar 18, 7:33 pm, JavaJosh javaj...@gmail.com mailto:javaj...@gmail.com wrote: BTW in python this would be db.get(keys). :) On Mar 18, 5:32 pm, JavaJosh javaj...@gmail.com mailto:javaj...@gmail.com wrote: Hi, I'd like to use the low-level datastore API (Java) to deference a (potentially long) list of keys into their respective Entities. I've scoured the API and searched messages in this group, and don't see any answers. I primarily looked for a method on Query that takes a Collection or Array of Keys. Didn't find it. For now I can get by with a for loop. Ghetto but it works. I'd like to do better. 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-appengine@googlegroups.com mailto:google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com mailto:google-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. -- 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: Server Error
Did the transaction code change ? Did the DEFAULT_TRANSACTION_RETRIES change in the last update ? -- 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: Pre-release 1.3.2 SDKs available
Just writing to report that I have not tried any of the new features but at a minimum my regression tests passed. Thanks and keep up the good work!! PK www.gae123.com On Mar 16, 8:31 pm, Jason (Google) apija...@google.com wrote: Hi Everyone. Just a quick note that we just uploaded pre-release 1.3.2 SDKs for Python and Java to our Google Code project page: http://code.google.com/p/googleappengine/downloads/list Both pre-release SDKs include RELEASE_NOTE files that indicate what's new, but the App Engine back-ends have not yet been updated, so please don't try to use these new features in production just yet. Please test your existing applications locally using the new SDK and report any bugs as soon as possible. Our next general release will likely follow in the next couple of weeks barring any unforeseen issues. Thanks, - Jason -- 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: Server Error
I'm getting tons of Deadline Exceeded Errors also Somebody screwed something up. On Mar 19, 10:37 am, riq ricardoques...@gmail.com wrote: Did the transaction code change ? Did the DEFAULT_TRANSACTION_RETRIES change in the last update ? -- 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: Server Error
Can anybody can help us ? I'm paying more than $80 per week for this service! Did the API change ? Do we need to update something ? -- 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: Server Error
On Mar 19, 6:54 pm, riq ricardoques...@gmail.com wrote: Can anybody can help us ? I'm paying more than $80 per week for this service! Did the API change ? Do we need to update something ? It looks like you're hitting the 30 second timeout limit during a fetch from the datastore. How many entities are you fetching in this query? Does the number fetched constantly increase the more usage your app gets? -- 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: Pre-release 1.3.2 SDKs available
On Mar 17, 4:29 pm, Alkis Evlogimenos evlogime...@gmail.com wrote: Strong means all replicas will have the updates after a write returns and all reads after the write will see those updates. On Mar 17, 7:24 pm, Nickolas Daskalou n...@daskalou.com wrote: According to the post mortem from the last outage, the eventually consistent option will have higher latency (=bad) than the strongly consistent option, in exchange for higher availability during an unexpected failure (=good). definitely good questions. there are two distinct features here that are getting confused. the eventually consistent read feature in 1.3.2 is *not* the same as the higher availability using synchronous replication feature described in the postmortem, http://groups.google.com/group/google-appengine/browse_thread/thread/a7640a2743922dcf . the eventually consistent read feature in 1.3.2 only affects reads, not writes. the current strongly consistent reads always read from the primary replica. eventually consistent reads may also read from the secondary replica, in cases when the data in the primary replica is temporarily unavailable. in those cases, the secondary replica may not have received the latest updates, so the returned data may be stale. in other words, this increases availability at the cost of consistency. the read may also be slower than usual, since the secondary replica is usually farther away. however, this eventually consistent read feature does *not* change the datastore's current master/slave replication design described in http://googleappengine.blogspot.com/2009/09/migration-to-better-datastore.html . that means that it doesn't affect writes. the upcoming synchronous replication feature described in the postmortem is different. it only affects writes, not reads. we haven't finalized the details yet, but at a high level, it will allow you to write atomically to multiple replicas at once, using paxos, as described in http://code.google.com/events/io/sessions/TransactionsAcrossDatacenters.html . this will increase write latency, but will provide additional safety against outages. incidentally, it will also mean that eventually consistent reads of data written with synchronous replication will *always* return the most recent data. -- 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: Post-mortem for February 24th, 2010 outage
On Mar 5, 9:10 am, Chris cskjoldb...@gmail.com wrote: Right now you guys have to make GAE _both_ reliable and fast. That's what we expect. It may very well be next to impossible to do both but you have to keep trying...and having a bunch of hard-core GAE engineers continously trying will probably land us all in a pretty happy place a year or two down the line ;-) On Mar 18, 2:33 am, Jan Z jan.zawad...@gmail.com wrote: By making distinctions such as this one, you're fundamentally shifting your direction away from what ought to be (and has been?) a key design principle. unfortunately, hard tradeoffs are at the core of most serious engineering. it may be cliched, but there's generally no free lunch. are you hungry enough to pay for that lunch? or would you rather save the money instead? there's no single right answer to that question; it depends on the person and the situation. choices like this are similar. i discussed this in detail in http://code.google.com/events/io/sessions/TransactionsAcrossDatacenters.html ; see slide 33 for the executive summary. in essence, you're fighting against things like the speed of light and queueing in core backbone routers in major internet peering points, which are difficult to impossible to change. specifically, 1) the only known distributed consensus protocol is paxos, 2) paxos requires two round trips, and 3) getting packets between datacenters in different physical locations takes time. multiply that time by four (for the two round trips), add in disk seeks on either end, and your writes will always be significantly slower than local writes in only one datacenter. there isn't really any way around that. at least, not until maybe quantum computing, or wormholes. :P this is an important general lesson that we've learned in the developer group at google. tradeoffs like these are inherent in engineering, and there's usually no one size fits all. one choice is right for some apps, but not for the others. given that, the interesting question isn't whether to offer the option. we have to. the interesting question - if any - is what the default should be. (also see my post on synchronous replication vs. eventually consistent reads, http://groups.google.com/group/google-appengine/browse_thread/thread/ca31fe630d73c3d3#d4e0651cd8051c63 ) -- 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: Pre-release 1.3.2 SDKs available
btw, i just wrote a related post on why we're offering these options at all: http://groups.google.com/group/google-appengine/browse_thread/thread/a7640a2743922dcf#388f334236edaeaf -- 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: Pre-release 1.3.2 SDKs available
I hope urlfetch can support the default ftp port (21), and increase the max response size to 10MB. -- keakon -- 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: How can I efficiently retrieve entities for a list of keys? (Java)
On Fri, Mar 19, 2010 at 9:04 AM, Ulrich mierendo...@googlemail.com wrote: Depending on the list of keys, it might be faster to use a query. I have a case, where I have a sorted list of key names and the there is no other key in the datastore that is bigger than the first key and smaller than the last key of the list. I experimented a bit, and for me, the following solution was significantly faster than getting all keys with a batch get. SELECT * FROM Model WHERE __key__ = :key_first ORDER BY __key__ (and fetching length(list) entities) I don't know if your list of keys has a similar structure, but I thought it could help you. I'd love to do some benchmarking - however my key selection is pretty specialized (via list membership on a child entity, per Brett Slatkin's RelationalIndex notion in his Google IO talk). It's good to know, however, that I can pull bulk entities in this way in a very fast way - useful, if nothing else, for pagination in an admin interface. Thanks for the tip. -- 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 500 on Application Settings page and Admin Logs page. Can't deploy.
Same here :-( Nothing reported on the status page (for now) : http://code.google.com/status/appengine/ On 19 mar, 00:06, Jérémy Selier jerem.sel...@gmail.com wrote: Hi there, On the appengine admin panel of one of my app, when I try to access the pages : - Admin Logs - Application Settings I got: Server Error A server error has occurred. Return to Applications screen » When I try to deploy the app I also got something similar: Error 500: --- begin server output --- Server Error (500) A server error has occurred. --- end server output --- I tried to rollback manually without success. I don't know if there's something wrong with my code or if it's a problem on GAE side? Help appreciated! Thanks! -- Jeremy -- 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 do i run a python interactive shell with google appengine configurations loaded?
hi, i wanted to test my entities in a python interactive shell. but i am getting an error because some application configurations are not loaded. has anyone done it before? how can i run an interactive shell with all the required app configs? 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: Error 500 on Application Settings page and Admin Logs page. Can't deploy.
me too On Mar 18, 11:09 pm, Anekdotz anekdotz.se...@gmail.com wrote: Hey there, I just experienced the same issue. Looks like a GAE-side problem On Mar 18, 7:06 pm, Jérémy Selier jerem.sel...@gmail.com wrote: Hi there, On the appengine admin panel of one of my app, when I try to access the pages : - Admin Logs - Application Settings I got: Server Error A server error has occurred. Return to Applications screen » When I try to deploy the app I also got something similar: Error 500: --- begin server output --- Server Error (500) A server error has occurred. --- end server output --- I tried to rollback manually without success. I don't know if there's something wrong with my code or if it's a problem on GAE side? Help appreciated! Thanks! -- Jeremy -- 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 500 on Application Settings page and Admin Logs page. Can't deploy.
Same problem here. Well, I can get to the Admin Logs, but not to the Application Settings. Also, most importantly, deployment fails. :-( Johan -- 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] PolyModel _kind_map shortcomings
Hello Group, I am in the process of writing an application that manages many diverse kinds of data, with a Connection model that connects any two fragments of information together. I originally evaluated a couple of ways to store this data (regular models, a single expando type, etc) until I was eventually convinced PolyModels would solve my design issues. I have written the application with a root polymodel called 'E', which everything in the application eventually inherits from. Examples: E-Person E-Role-Doctor E-Geoarea-Code-Zip Reasons for choosing this design pattern: 1) Ability to query for properties that exist on E, and so are shared by every model. 2) Reference properties can link to anything, because a link to E is a link to any other model. 3) Organization for property inheritance seemed to make sense 4) Very little or no performance impact in testing However, I have run into a number of problems with this design model. First, PolyModel subclasses aren't registered in the _kind_map, yes? Which means, as far as I can tell, that I can't do very basic queries on E. For example, E.all().fetch(100) fails with a No implementation for class error, presumably because the subclasses it returns have not been imported. Same when I try to use a PolyModel using the bulk uploader tool - it also checks the _kind_map for the entity you're trying to create. How can I fix this? Is there a way to register my sub-polymodels in the _kind_map, or a way to automatically import the module a class belongs to once it is looked for? If there is no way to fix these problems, I'm open to other ways to solve. Thanks in advance, -sam -- 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 read admin log, can't deploy
+1 On Mar 18, 11:18 pm, Koen Bok k...@madebysofa.com wrote: +1 On Mar 19, 12:10 am, Anekdotz anekdotz.se...@gmail.com wrote: +1 On Mar 18, 7:00 pm, Николай Тенев tenev.niko...@gmail.com wrote: +1 2010/3/19 Pavel Kaplin pavel.kap...@gmail.com +1 On 19 мар, 00:55, skk shantanu.ka...@gmail.com wrote: When I tried to deploy version of my app mybharatbyrail, I get an error Unable to update: java.io.IOException: Error posting to URL: http://appengine.google.com/api/appversion/create?app_id=mybharatbyra... 500 Internal Server Error So I tried to look at the admin log via the Administration section of the web based account console: I get a SERVER error 500 when I try to look at the admin log. This happens to all 3 versions of the app. My other apps - pestalozzi-village and bharatbyrail are ok - in terms of being able to see the admin log. Its only all versions of mybharatbyrail that's gives me an error. The Google APP Engine system status doesn't show anything for the Java version. Is this me or you ? This has been happening for the last 1 hour. Ideas -skk -- 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%2Bunsubscrib e...@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: Can't create a account : You have sent too many SMS verification
Same problem here. I'm trying from Brazil and my carrier is Oi(Sao Paulo/SP). Already sent SMS trouble form yesterday but no answer until now... I'm a long time Google user, any way to get around this? Thanks On 8 mar, 20:36, Trond trond.gjels...@leapglobal.com wrote: Yes this fixed my problem, thanks. A little confusing, since there was no selection on the service provider after choosing country. Some service providers go by several names. Got it right at the end. The page also does not explain that it will fix the problem I had. It seemed to be only fixing can not receiveSMS issues. But it did fix it. Thanks again. On Mar 9, 1:08 am, Nick Johnson (Google) nick.john...@google.com wrote: Hi, If you are having trouble withSMSverification, or want an additional account activated, please fill out the following form: http://appengine.google.com/waitlist/sms_issues (This is from the following FAQhttp://code.google.com/appengine/kb/sms .html#error ) Once you fill out this form, you should receive access within a day or two. Happy coding, Nick Johnson On Mon, Mar 8, 2010 at 12:08 PM, Trond trond.gjels...@leapglobal.comwrote: I have the same problem as Moretto. My problem was that I signed on App Engine using a gmail account. Then I decided to cancel the App Engine Account. Then I cancelled the whole gmail account. After buying a Google Apps Account, I can not get verified, because the App Engine still remembers my mobile number from that App Engine I cancelled!!! How can I fix this problem?? I have to say that it is far better ways to do this, e.g. requiring a Google Checkout account. On Feb 23, 3:18 am, Ikai L (Google) ika...@google.com wrote: Go ahead and add yourself to the manual verification waitlist: https://* appengine*.google.com/*waitlist*/sms_issues On Sun, Feb 21, 2010 at 6:45 PM, Moretto mala...@gmail.com wrote: I'm trying to create a google app engine but the following error happens: You have sent too manySMSverification What should i do? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com . To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2Bunsubscrib e...@googlegroups.comgoogle-appengine%2Bunsubscrib e...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Enginehttp:// googleappengine.blogspot.com|http://twitter.com/app_engine -- 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%2Bunsubscrib e...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Nick Johnson, Developer Programs Engineer, App Engine Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number: 368047 -- 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: Storage for geo-points
Thank you for your reply. I have two opensource projects taking two slots and this one would take yet another. So I wrote as detailed as possible description of making its demo run on localhost with dev_appsver. If a couple more opensource projects would come up I would definitely fill the form. On Mar 18, 10:14 am, Wesley C (Google) wesc+...@google.com wrote: generally we cannot change the maximum number of applications you can unless you can demonstrate and justify a legitimate reasons why you need more applications. in other words, it's not impossible but just not likely. if you still want to try this, go fill out the form you can access from:http://code.google.com/appengine/kb/billing.html#cpu -- wesley - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Core Python Programming, Prentice Hall, (c)2007,2001 Python Fundamentals, Prentice Hall, (c)2009 http://corepython.com wesley.j.chun :: wesc+...@google.com developer relations :: google app engine -- 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] Add Google App Engine application to iGoogle
Hi, I want to show my application GAE application in iGoogle. Can it be done? If yes please let me know the process -- 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] Suggestions on implementing aggregate like datastore functionality
Hello... I'm writing a django based app on GAE and I have models that I need to calculate things like averages, max, min, and other similar aggregate functions across various fields amongst entities in the datastore. Typically with a relational db this is accomplished with a standard query, but not with GAE. I've decided that it would be best to implement a different model to keep track of all of the averages, totals, etc. whenever updates are made. Originally I was thinking that I could offload the processing to the taskqueue, which sounded like a good idea, but before I get myself in too deep I want to check to see if anyone has a better suggestion to implement such tasks. I expect that the data in my application will be significant so an efficient solution is needed. Thanks in advance. Patrick -- 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] deleted Google Account now can't access Google App Engine App
I am new to Google App Engine and has created a domain and application. I deleted my Google Account and now cannot update my Google App Engine applications. Is there anyway to recover this? Pla -- 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.