[appengine-java] Re: Datastore: is numeric ID unique for all entities of one type?
As for your main question, I assume from the API :: Key = A datastore GUID. A Key instance uniquely identifies an entity across all apps, and includes all information necessary to fetch the entity from the datastore with DatastoreService.get(Key). you can get an entity by key: Entity get(Key key) Retrieves the Entity with the specified Key. which is convertable to String using the KeyFactory's keyToString(Key key) function or convertable to long using the Key getId() func On Nov 16, 4:46 am, elvin e.v.c...@gmail.com wrote: Good day. As far as documentation states, The key value includes the key of the entity group parent (if any) and either the app-assigned string ID or the system-generated numeric ID. To create the object with an app- assigned string ID, you create the Key value with the ID and set the field to the value. To create the object with a system-assigned numeric ID, you leave the key field null. Is this the id that can be accessed via Key#getId() call? I assume it is. My main question is: is this numeric ID guaranteed to be unique for all entities of the same type? If yes, how do you retrieve the entity using this id? I tried using PersistenceManager#getObjectById(), but it does not find my entity. I guess this is related to the fact that my entity is child in an entity group, thus its keys' string representation would not be MyClass (10) (which is created when I use KeyFactory to create key from an entity type and a numeric ID) but MyParent(20)/MyClass(10). Thanks in advance, Evgeny. -- 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=.
[appengine-java] Discussion on will-it-play-in-app-engine
I have been trying to use Batik SVG Toolkit (http:// xmlgraphics.apache.org/batik/) to generate images on GAE with no luck. I get a ClassNotFoundError on org/w3c/dom/svg/SVGDocument. I have included ALL the Batik jars in my application but can't seem to locate which jar this class should be in. Your help would be greatly appreciated. It would be great to add Batik Status: COMPATIBLE to the list. Although it seems this project hasn't released anything in over 1.5 years. Best wishes, Dan -- 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=.
[appengine-java] Re: Datastore: is numeric ID unique for all entities of one type?
Try new KeyFactory.Builder(parentKind, id).addChild(childKind, id).getKey (); On Nov 16, 4:46 am, elvin e.v.c...@gmail.com wrote: Good day. As far as documentation states, The key value includes the key of the entity group parent (if any) and either the app-assigned string ID or the system-generated numeric ID. To create the object with an app- assigned string ID, you create the Key value with the ID and set the field to the value. To create the object with a system-assigned numeric ID, you leave the key field null. Is this the id that can be accessed via Key#getId() call? I assume it is. My main question is: is this numeric ID guaranteed to be unique for all entities of the same type? If yes, how do you retrieve the entity using this id? I tried using PersistenceManager#getObjectById(), but it does not find my entity. I guess this is related to the fact that my entity is child in an entity group, thus its keys' string representation would not be MyClass (10) (which is created when I use KeyFactory to create key from an entity type and a numeric ID) but MyParent(20)/MyClass(10). Thanks in advance, Evgeny. -- 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=.
[appengine-java] Re: Querying sub objects with JDOQL in GAE/J
It is not supported in Google App Engine JPA/JDO http://code.google.com/intl/pl/appengine/docs/java/datastore/usingjdo.html#Unsupported_Features_of_JDO Join queries. You cannot use a field of a child entity in a filter when performing a query on the parent kind. Note that you can test the parent's relationship field directly in query using a key. --- The only way is to denormalization. Simple duplicate fields in Employ and ContactInfo you want to query on. -- 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=.
[appengine-java] Re: case sensitivity
Thanks Rusty, I've already searched there and have seen the suggestions. I have been having a hard time believing that there is no way to do this when using google app engine but am more or less convinced at this point. On Nov 16, 6:06 pm, Rusty Wright rwright.li...@gmail.com wrote: http://groups.google.com/group/google-appengine-java/search?group=goo... Kris wrote: I'm more concerned about the proper way to do this generically. I can't realistically store duplicates of every string based field that I may want to search for. On Nov 16, 11:36 am, Rusty Wright rwright.li...@gmail.com wrote: The recommended approach is to store the userName in all lower case, as an additional field/column, and then do the toLowerCase on the incoming parameter user name when you do the query and use that field/column that was stored in lower case. Kris wrote: Is there any way to perform a JDO query on google app engine using a case insensitive string comparison? e.g. For example, Query query = pm.newQuery(User.class, userName.toLowerCase() == user password == pass); query.declareParameters(String user, String pass); query.setUnique(true); User user = (User) query.execute(userName.toLowerCase(), password); Of course GAE does not support the usage of toLowerCase() in the filter string. There's probably a terribly simple way to do this that I'm just not aware of. -- 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=. -- 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=. -- 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=.
[appengine-java] Re: Task queue concurrency
As a follow up on this -- task queue throttles at queries per second, not dequeues per second. The current limit is 20 qps. You can't fool it by using long running request handlers. I tried it in production. Still looking for ways to get more than 20 qps for background jobs. Has anyone successfully done this? I would consider using an external box to generate inbound traffic if that's the only way, although I'm reluctant to do that. -- James On Oct 28, 12:00 pm, James Cooper jamespcoo...@gmail.com wrote: aha! I missed that. I wonder if task invocations/second means dequeues/second. If it means dequeues/second then in theory you could write a request handler that burns through a queue of work items in the datastore, re- queueing itself and exiting after 25 seconds and achieve 250 CPU seconds/second of concurrency. Is that crazy talk? I hope these limits go up when Tasks Queues exits beta. Google is selling us computer time but is setting some fairly low limits on what we're allowed to buy. 10 cores of 1.2ghz CPU time is roughly equivalent to a modern 4 core desktop machine right? -- James On Oct 28, 12:27 pm, Scott Hernandez scotthernan...@gmail.com wrote: The docs here seem to indicate that dequeuing happens at 5/sec (default and 10 max).http://code.google.com/appengine/docs/java/taskqueue/overview.html On Oct 27, 8:41 am, James Cooper jamespcoo...@gmail.com wrote: Hi there, Last night I experimented with task queues to see what level of concurrency I could achieve when running on the live environment. Summary of the test app: - Bulk load 30,000 entities of a given type (3 properties / entity object). - Command line job I ran from my PC that hit an URL to queue the entries - This program was multi-threaded so I could simulate a bit of load (10 concurrent threads) - Queueing URL created a task queue entry within the same app - 2nd URL handled the task queue request and stored entity to the Datastore I watched the task queue dashboard for a few minutes and observed a few things: - Enqueue rate quickly outpaced dequeue rate - I was enqueing at about 12 requests / second, but dequeuing at 4 requests / second - GAE did not appear to increase the dequeue rate over time in response to my queue depth Result: It took a very long time to dequeue 30,000 tasks (over 2 hours). It seemed that GAE was running one instance of my app. Expected: Much higher throughput. Is this expected behavior? It seems that given the 30 second request limit that task queues are an important way to increase throughput (alaMapReduce). But the swarm of app instances never seemed to arrive. thanks -- James -- 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=.
Re: [appengine-java] Discussion on will-it-play-in-app-engine
On Tue, Nov 17, 2009 at 7:02 AM, Dan Dubois uvico...@googlemail.com wrote: I have been trying to use Batik SVG Toolkit (http:// xmlgraphics.apache.org/batik/) to generate images on GAE with no luck. I get a ClassNotFoundError on org/w3c/dom/svg/SVGDocument. Perhaps you need the Java binding for SVG from http://www.w3.org/TR/SVG/java.html ? I have included ALL the Batik jars in my application but can't seem to locate which jar this class should be in. Your help would be greatly appreciated. It would be great to add Batik Status: COMPATIBLE to the list. Although it seems this project hasn't released anything in over 1.5 years. Best wishes, Dan -- 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=. -- 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=.
[appengine-java] Relationship Problems...
I have read a lot of posts with people having trouble with accessing the child objects of their parent but i haven't found a solution to my problem. So i want to have Shared objects per Users. Such as: public class User { private Key key; private String name; private String email; private ListKey projects; } public class Project { private Key key; private String description } how would i query for all project a user has, remembering that two users can own the same project. Is there an equivilent to the IN statement in sql where i can just query select from + Project.class + where key in (keyParam), then define keyParam as a ListKey or something. Anyways, i can't figure out how do this, and 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=.
[appengine-java] Re: the question in ubuntu9.10 and eclipse 3.5
I install eclipse 3.5.1 from aptitude repository and have install AppEngine. But I see error (opened bug on http://code.google.com/p/google-web-toolkit/issues/detail?id=4240). I also search libstrc but found this only: sudo aptitude search libstdc v libstdc++- dev - i libstdc+ +6 - The GNU Standard C++ Library v3 p libstdc++6-4.1- dbg - The GNU Standard C++ Library v3 (debugging files) p libstdc++6-4.1- dev - The GNU Standard C++ Library v3 (development files) p libstdc++6-4.1- doc - The GNU Standard C++ Library v3 (documentation files) p libstdc++6-4.1- pic - The GNU Standard C++ Library v3 (shared library subset kit) p libstdc++6-4.2- dbg - The GNU Standard C++ Library v3 (debugging files) p libstdc++6-4.2- dev - The GNU Standard C++ Library v3 (development files) p libstdc++6-4.2- doc - The GNU Standard C++ Library v3 (documentation files) p libstdc++6-4.2- pic - The GNU Standard C++ Library v3 (shared library subset kit) p libstdc++6-4.3- dbg - The GNU Standard C++ Library v3 (debugging files) p libstdc++6-4.3- dev - The GNU Standard C++ Library v3 (development files) p libstdc++6-4.3- doc - The GNU Standard C++ Library v3 (documentation files) p libstdc++6-4.3- pic - The GNU Standard C++ Library v3 (shared library subset kit) p libstdc++6-4.4- dbg - The GNU Standard C++ Library v3 (debugging files) p libstdc++6-4.4- dev - The GNU Standard C++ Library v3 (development files) p libstdc++6-4.4- doc - The GNU Standard C++ Library v3 (documentation files) p libstdc++6-4.4- pic - The GNU Standard C++ Library v3 (shared library subset kit) and not present version 5. On 9 ноя, 15:51, Iqbal Yusuf Dipu iqbalyusufd...@gmail.com wrote: @Roy thanks. After I installed libstdc++.so.5 GWT is running fine. Iqbal On Nov 8, 11:33 pm, Roy Smith roy.smith@googlemail.com wrote: The clue is libstdc++.so.5: cannot open shared object file: No such file or directory Try googling this along with apt-get. 9.10 switched from stdc5 to stdc6, so you need to install the legacy stdc5 package. It's a common problem with 9.10 and nothing to do with Eclipse or GAE On Mon, Nov 9, 2009 at 5:08 AM, Iqbal Yusuf Dipu iqbalyusufd...@gmail.comwrote: I'm a total newbi as far as Ubuntu/Linux is concern. I'm using Ubuntu 9.10, Eclipse 3.5 and having the problem as mentioned above even though I've set my environment as export GDK_NATIVE_WINDOWS=1 ** Unable to load Mozilla for hosted mode ** java.lang.UnsatisfiedLinkError: /home/iyusuf/bin/packages/eclipse3.5/ plugins/com.google.gwt.eclipse.sdkbundle.linux_1.7.1.v200909221731/gwt- linux-1.7.1/mozilla-1.7.12/libxpcom.so: libstdc++.so.5: cannot open shared object file: No such file or directory at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1778) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1674) at java.lang.Runtime.load0(Runtime.java:770) at java.lang.System.load(System.java:1003) at com.google.gwt.dev.shell.moz.MozillaInstall.load (MozillaInstall.java:190) at com.google.gwt.dev.BootStrapPlatform.initHostedMode (BootStrapPlatform.java:53) at com.google.gwt.dev.HostedModeBase.init(HostedModeBase.java:362) at com.google.gwt.dev.SwtHostedModeBase.init(SwtHostedModeBase.java: 127) at com.google.gwt.dev.HostedMode.init(HostedMode.java:271) at com.google.gwt.dev.HostedMode.main(HostedMode.java:230) -- 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=.
[appengine-java] XMPP getPresence response not valid?
Is anybody having problem with xmpp.getPresence not providing valid presence information for GTalk clients? Using very simple function to check the availability of a GTalk client: XMPPService xmpp = XMPPServiceFactory.getXMPPService(); if (xmpp.getPresence(agentJid).isAvailable()) { log.info(agentJid.toString() + is available (added to list)); } else { log.info(agentJid.toString() + is not available); } getPresence always returns the same presence status for a user regardless of the user real status. I've tried this with GTalk clients on both GMail and Apps domains. The result is exactly the same. This is extremely blocking for our application as we need to validate the presence of a group of GTalk clients to determine what to do with a request. Thanks in advance for your help, Jerome. -- 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=.
[appengine-java] Configuring JSF 2.0 to run on Google App Engine
I'm attempting to configure JSF 2.0 to run on Google App Engine using the following setup: Apache Xalan-J 2.9.0 Google AppEngine for Java SDK v1.2.5 Sun Java ServerFaces 2.0 FCS Unified Expression Language 1.1 API (el-api-1.1.jar) and Implementation (el-impl-1.1jar) I followed the procedure indicated in http://java.wildstartech.com/Java-Platform-Enterpr...to-run-on-the-google-appengine However, I am getting the following errors on startup. I was wondering if anyone has experienced this problem. WARNING: Failed startup of context com.google.apphosting.utils.jetty.devappenginewebappcont...@14b081b {/,C:\workspace\JSFTemplate\war} com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! null at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java: 354) at com.sun.faces.config.ConfigureListener.contextInitialized (ConfigureListener.java:219) at org.mortbay.jetty.handler.ContextHandler.startContext (ContextHandler.java:530) at org.mortbay.jetty.servlet.Context.startContext(Context.java:135) at org.mortbay.jetty.webapp.WebAppContext.startContext (WebAppContext.java:1218) at org.mortbay.jetty.handler.ContextHandler.doStart (ContextHandler.java:500) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java: 448) at org.mortbay.component.AbstractLifeCycle.start (AbstractLifeCycle.java:40) at org.mortbay.jetty.handler.HandlerWrapper.doStart (HandlerWrapper.java:117) at org.mortbay.component.AbstractLifeCycle.start (AbstractLifeCycle.java:40) at org.mortbay.jetty.handler.HandlerWrapper.doStart (HandlerWrapper.java:117) at org.mortbay.jetty.Server.doStart(Server.java:217) at org.mortbay.component.AbstractLifeCycle.start (AbstractLifeCycle.java:40) at com.google.appengine.tools.development.JettyContainerService.startContainer (JettyContainerService.java:152) at com.google.appengine.tools.development.AbstractContainerService.startup (AbstractContainerService.java:116) at com.google.appengine.tools.development.DevAppServerImpl.start (DevAppServerImpl.java:218) at com.google.appengine.tools.development.DevAppServerMain $StartAction.apply(DevAppServerMain.java:162) at com.google.appengine.tools.util.Parser$ParseResult.applyArgs (Parser.java:48) at com.google.appengine.tools.development.DevAppServerMain.init (DevAppServerMain.java:113) at com.google.appengine.tools.development.DevAppServerMain.main (DevAppServerMain.java:89) Caused by: java.lang.NullPointerException at com.sun.faces.util.Util.loadClass(Util.java:200) at com.sun.faces.config.processor.AbstractConfigProcessor.loadClass (AbstractConfigProcessor.java:312) at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processHandlerClass (FaceletTaglibConfigProcessor.java:416) at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processTags (FaceletTaglibConfigProcessor.java:370) at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processTagLibrary (FaceletTaglibConfigProcessor.java:313) at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.process (FaceletTaglibConfigProcessor.java:262) at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java: 337) ... 19 more Any assistance is much appreciated. Thanks. -- 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=.
[appengine-java] Exception When Uploading Application To AppEngine
I am beginning to see this problem when uploading my application to the AppEngine. Here is the stack trace: com.google.appengine.tools.admin.AdminException: Unable to update app: Error writing to server 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:148) 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 writing to server at sun.reflect.GeneratedConstructorAccessor169.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.net.www.protocol.http.HttpURLConnection.getChainedException (Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at java.net.HttpURLConnection.getResponseCode(Unknown Source) at com.google.appengine.tools.admin.ServerConnection.send (ServerConnection.java:129) at com.google.appengine.tools.admin.ServerConnection.post (ServerConnection.java:95) at com.google.appengine.tools.admin.AppVersionUpload.send (AppVersionUpload.java:432) at com.google.appengine.tools.admin.AppVersionUpload.uploadFile (AppVersionUpload.java:335) at com.google.appengine.tools.admin.AppVersionUpload.doUpload (AppVersionUpload.java:105) at com.google.appengine.tools.admin.AppAdminImpl.update (AppAdminImpl.java:56) ... 4 more I don't know what the cause of this may be, I am seeing it with two of our apps that we created. We have been able to upload in the past every time without any problems, and since we started seeing this error, we have not been able to upload. I have even tried deleting the entire src folder and deploying, no luck. Creating a simple test application through Eclipse works just fine. We have tried uploading with both the appCfg tool and Eclipse, same error. We have experienced this with AppEngine 1.2.2 and 1.2.6. These are the steps that happen every time: After successful compilation of GWT... Compilation succeeded -- 14.631s Creating staging directory Scanning for jsp files. Scanning files on local disk. Scanned 250 files. Scanned 500 files. Scanned 750 files. Scanned 1000 files. Initiating update. Cloning 284 static files. Cloned 100 files. Cloned 200 files. Cloning 747 application files. Cloned 100 files. Cloned 200 files. Cloned 300 files. Cloned 400 files. Cloned 500 files. Cloned 600 files. Cloned 700 files. Uploading 43 files. Rolling back the update. java.io.IOException: Error writing to server Has anybody seen anything similar? Please help -- 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=.
Re: [appengine-java] Embedded objects come back null in unit tests
Nick, What's likely happening here is that the fields you need are being lazily loaded. Properties that aren't indexed like Text or Blobs are retrieved when you call the appropriate getter. For instance, if I have a model Car with a Text Description field, I would have to do this: // How to get a null Description PersistenceManager pm = PMF.get().getPersistenceManager(); Car car = pm.getObjectById(Car.class, someId); pm.close(); car.getDescription(); // This is NULL // How to get a description PersistenceManager pm = PMF.get().getPersistenceManager(); Car car = pm.getObjectById(Car.class, someId); car.getDescription(); pm.close(); car.getDescription(); // This is not NULL Can you try retrieving the embedded class before checking for a value? Your debugger will list it as NULL, but if you have a debugger that has evaluate in context capability, you can call the getter and check the object again. The field will appear populated. We did this originally to follow the JDO spec, however, we've received feedback that it's confusing to the majority of our developers, so we'll be changing this behavior to load all fields eagerly. We'll document this so that JDO veterans will be aware of this behavior. On Sun, Nov 15, 2009 at 8:32 PM, Nick Bonatsakis nbonatsa...@gmail.comwrote: Hi All, I have followed the instructions on how to create the appropriate classes for JUnit testing and have a fairly simple object hierarchy. I have one class that includes a few embedded objects, they are all correctly annotated with JDO annotations (i have compared them directly to the example jdo classes that ship with GAE). I create an instance of the parent object, set all the fields including the embedded ones, then used the PersistenceManager to make the instance persisted. When i query for all instances of the class, I get back the right number of instances, the non-embedded fields are there, but all of the embedded fields have null values. I also tried writing a simple test using the AddressBookEntry class, and see the same behavior when looking in the debugger, that code is as follows: @Test public void testAddy(){ AddressBookUtils.insertNew (John,Doe,Hart,CT,8448445); PersistenceManager pm = PMF.get().getPersistenceManager(); Query q = pm.newQuery(AddressBookEntry.class); List l = (List) q.execute(); } Anyone have any pointers on how to resolve this? Thanks! -- 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=. -- Ikai Lan Developer Programs Engineer, 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=.
[appengine-java] Is AppEngine down? My site is super-slow, static resources not loading
My site was fine yesterday, but right now it's really slow and static resources like CSS files and images are not loading. Is anyone else experiencing this? My site is www.jmccabe.com/jim/ - Jim -- 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=.
[appengine-java] Re: Is AppEngine down? My site is super-slow, static resources not loading
Strange, now it's all good. But for a good 5-10 minutes, the site was unusable. Not just for me in Seattle either - my sister in New York had the same 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=.
Re: [appengine-java] Re: case sensitivity
Resistance is futile. Kris wrote: Thanks Rusty, I've already searched there and have seen the suggestions. I have been having a hard time believing that there is no way to do this when using google app engine but am more or less convinced at this point. On Nov 16, 6:06 pm, Rusty Wright rwright.li...@gmail.com wrote: http://groups.google.com/group/google-appengine-java/search?group=goo... Kris wrote: I'm more concerned about the proper way to do this generically. I can't realistically store duplicates of every string based field that I may want to search for. On Nov 16, 11:36 am, Rusty Wright rwright.li...@gmail.com wrote: The recommended approach is to store the userName in all lower case, as an additional field/column, and then do the toLowerCase on the incoming parameter user name when you do the query and use that field/column that was stored in lower case. Kris wrote: Is there any way to perform a JDO query on google app engine using a case insensitive string comparison? e.g. For example, Query query = pm.newQuery(User.class, userName.toLowerCase() == user password == pass); query.declareParameters(String user, String pass); query.setUnique(true); User user = (User) query.execute(userName.toLowerCase(), password); Of course GAE does not support the usage of toLowerCase() in the filter string. There's probably a terribly simple way to do this that I'm just not aware of. -- 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=. -- 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=. -- 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=. -- 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=.
Re: [appengine-java] Relationship Problems...
You could have a class UserProject class UserProject { private Key userKey; private Key projectKey; } Then make User.projects a ListProject and fill it with their projects right after you fetch the User (and coat it with Collections.unmodifiableList() as a reminder that it should be read only). And make User.projects transient and not persistent. I don't know if that's a recommended approach. bvkimball wrote: I have read a lot of posts with people having trouble with accessing the child objects of their parent but i haven't found a solution to my problem. So i want to have Shared objects per Users. Such as: public class User { private Key key; private String name; private String email; private ListKey projects; } public class Project { private Key key; private String description } how would i query for all project a user has, remembering that two users can own the same project. Is there an equivilent to the IN statement in sql where i can just query select from + Project.class + where key in (keyParam), then define keyParam as a ListKey or something. Anyways, i can't figure out how do this, and 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=. -- 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=.
[appengine-java] Looking for Bulk Loader beta testers
Hi App Engine developers, We're working on some improvements and additions to the bulk loader to make it easier to move data between the App Engine Datastore and other data files you may have. If you're doing this right now, we're looking for some beta testers. Two specific issues we're addressing at this time are: * More language-neutral: Java developers, this will help you! * More format-neutral: If you use some format other than CSV, this will help you! If you're interested, fill out the form at https://spreadsheets.google.com/viewform?formkey=dC15V2hwczhpZ1VVWFhPZGhXR1dydUE6MQ to get started. --Matthew -- 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=.
[appengine-java] Re: Is AppEngine down? My site is super-slow, static resources not loading
Tried it again, two different requests to www.jmccabe.com timed out. -- 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=.
Re: [appengine-java] Re: Concurrency In Transaction
Is there some way to pause before retrying the database transaction? If you don't, then it seems to me that the processes that are banging into each other are going to keep failing. I'd like to add a pause for a random amount of time in the catch block. leszek wrote: http://code.google.com/intl/pl/appengine/docs/java/datastore/transactions.html Look at the next code snippet === for (int i = 0; i NUM_RETRIES; i++) { pm.currentTransaction().begin(); ClubMembers members = pm.getObjectById(ClubMembers.class, k12345); members.incrementCounterBy(1); try { pm.currentTransaction().commit(); break; } catch (JDOCanRetryException ex) { if (i == (NUM_RETRIES - 1)) { throw ex; } } } In Google App Engine optimistic transaction model is applied. There is no any global block, every request starts transaction but only one is allowed to run through it, the second and next get and exception and should run some logic to handle this exception. Here it tries to rerun the transaction (hoping that the first already has finished it) You can also return error message to the client and enable switch try again or any other rescue plan. --~--~-~--~~~---~--~~ 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=.
[appengine-java] Re: Is AppEngine down? My site is super-slow, static resources not loading
I have more information on this now. If I navigate to the active version from the App Engine control panel, it loads up super fast and works great. But the domain support from Google Apps is not working. I will file a ticket with them instead of treating this like a GAE issue. - Jim -- 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=.
[appengine-java] Re: Concurrency In Transaction
On Nov 17, 2:59 pm, Rusty Wright rwright.li...@gmail.com wrote: Is there some way to pause before retrying the database transaction? If you don't, then it seems to me that the processes that are banging into each other are going to keep failing. I'd like to add a pause for a random amount of time in the catch block. It is not necessary to pause before retrying because if a transaction fails with a 'RetryException' it is only because some other transaction was committed and that other transaction made some changes that are incompatible with the failed transactions changes. So... suppose you kick off 10 transactions at once. At *most* only 9 of those transactions will fail with a RetryException. If you retry those 9 then at *most* 8 will fail, and so on -- 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=.
[appengine-java] How to resize images with high quality?
I resized images(.gif format) with App Engine for Java, ImagesService . Make them smaller. But I found the quality of resized image was much worse than I expected. Text on images was not clear. I alse resized them with PhotoShop. The quality of images which resized by PhotoShop are much better than images which resized by App Engine for Java. It it a big problem for my. Could you help me? Thanks -- 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=.
Re: [appengine-java] Re: case sensitivity
Hi. I agree with Kris in that this feature is absolutely necessary. However, maybe this feature will be included in this other more general issue http://code.google.com/p/googleappengine/issues/detail?id=217 . Maybe someone from Google can tell us what's the best way to do it, or whether we can expect it soon by being included in some other issue. Regards, Esteban On Tue, Nov 17, 2009 at 5:19 PM, Rusty Wright rwright.li...@gmail.comwrote: Resistance is futile. Kris wrote: Thanks Rusty, I've already searched there and have seen the suggestions. I have been having a hard time believing that there is no way to do this when using google app engine but am more or less convinced at this point. On Nov 16, 6:06 pm, Rusty Wright rwright.li...@gmail.com wrote: http://groups.google.com/group/google-appengine-java/search?group=goo. .. Kris wrote: I'm more concerned about the proper way to do this generically. I can't realistically store duplicates of every string based field that I may want to search for. On Nov 16, 11:36 am, Rusty Wright rwright.li...@gmail.com wrote: The recommended approach is to store the userName in all lower case, as an additional field/column, and then do the toLowerCase on the incoming parameter user name when you do the query and use that field/column that was stored in lower case. Kris wrote: Is there any way to perform a JDO query on google app engine using a case insensitive string comparison? e.g. For example, Query query = pm.newQuery(User.class, userName.toLowerCase() == user password == pass); query.declareParameters(String user, String pass); query.setUnique(true); User user = (User) query.execute(userName.toLowerCase(), password); Of course GAE does not support the usage of toLowerCase() in the filter string. There's probably a terribly simple way to do this that I'm just not aware of. -- 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=. -- 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=. -- 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=. -- 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=. -- 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=.
Re: [appengine-java] Re: Concurrency In Transaction
Ah, thanks. So if I knew how many servers my cloud is made of then I should use that number for my MAX_RETRIES. ;-) I'm curious about how others are handling the exceptions. The JDOCanRetryException is subclassed by other exceptions that don't seem like things I'd want to retry, but perhaps I don't understand the subtleties. Here's what I'm doing; it's an AOP gizmo, courtesy of Spring. The pjp.proceed() is where my transaction wrapped method is called. Looks clunky to me, given that it's not readily apparent why it's doing what it does. public Object retry(final ProceedingJoinPoint pjp) throws Throwable { this.log.debug(called); JDOException exception = new JDOException(oops; too many retries); int retryCount = 0; while (retryCount++ this.maxRetries) { try { return (pjp.proceed()); } catch (final JDOUserException ex) { exception = ex; break; // fail } catch (final JDOCanRetryException ex) { exception = ex; // retry } catch (final JDOException ex) { exception = ex; /** * to quote Google's documentation: If any action * fails due to the requested entity group being in * use by another process, JDO throws a * JDODataStoreException or a JDOException, caused by a * java.util.ConcurrentModificationException. */ if (!(ex.getCause() instanceof ConcurrentModificationException)) break; // fail // retry } this.log.debug(retryCount: {}, exception: {}, Integer.valueOf(retryCount), ExceptionUtils.getFullStackTrace(exception)); } throw (exception); } ted stockwell wrote: On Nov 17, 2:59 pm, Rusty Wright rwright.li...@gmail.com wrote: Is there some way to pause before retrying the database transaction? If you don't, then it seems to me that the processes that are banging into each other are going to keep failing. I'd like to add a pause for a random amount of time in the catch block. It is not necessary to pause before retrying because if a transaction fails with a 'RetryException' it is only because some other transaction was committed and that other transaction made some changes that are incompatible with the failed transactions changes. So... suppose you kick off 10 transactions at once. At *most* only 9 of those transactions will fail with a RetryException. If you retry those 9 then at *most* 8 will fail, and so on -- 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=. -- 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=.
Re: [appengine-java] How to resize images with high quality?
Can you convert its format with the images service? Gif is 8 bits per pixel so if it's resizing it in that format I can understand why it would end up ugly (when it's merging pixels it's choosing the result color from the existing limited 256 color palette). If you can convert its format, try converting it to tiff (24 bits, not 8), resize it, then convert it back to gif. If you can't specify 24 bits for the tiff then it may be a waste of time because it may do it in 8 bit mode. sea wrote: I resized images(.gif format) with App Engine for Java, ImagesService . Make them smaller. But I found the quality of resized image was much worse than I expected. Text on images was not clear. I alse resized them with PhotoShop. The quality of images which resized by PhotoShop are much better than images which resized by App Engine for Java. It it a big problem for my. Could you help me? Thanks -- 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=. -- 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=.
Re: [appengine-java] Re: Concurrency In Transaction
I think my try/catch is missing a catch at the end: catch (final Throwable ex) { exception = ex; break; // fail } Rusty Wright wrote: Ah, thanks. So if I knew how many servers my cloud is made of then I should use that number for my MAX_RETRIES. ;-) I'm curious about how others are handling the exceptions. The JDOCanRetryException is subclassed by other exceptions that don't seem like things I'd want to retry, but perhaps I don't understand the subtleties. Here's what I'm doing; it's an AOP gizmo, courtesy of Spring. The pjp.proceed() is where my transaction wrapped method is called. Looks clunky to me, given that it's not readily apparent why it's doing what it does. public Object retry(final ProceedingJoinPoint pjp) throws Throwable { this.log.debug(called); JDOException exception = new JDOException(oops; too many retries); int retryCount = 0; while (retryCount++ this.maxRetries) { try { return (pjp.proceed()); } catch (final JDOUserException ex) { exception = ex; break; // fail } catch (final JDOCanRetryException ex) { exception = ex; // retry } catch (final JDOException ex) { exception = ex; /** * to quote Google's documentation: If any action * fails due to the requested entity group being in * use by another process, JDO throws a * JDODataStoreException or a JDOException, caused by a * java.util.ConcurrentModificationException. */ if (!(ex.getCause() instanceof ConcurrentModificationException)) break; // fail // retry } this.log.debug(retryCount: {}, exception: {}, Integer.valueOf(retryCount), ExceptionUtils.getFullStackTrace(exception)); } throw (exception); } ted stockwell wrote: On Nov 17, 2:59 pm, Rusty Wright rwright.li...@gmail.com wrote: Is there some way to pause before retrying the database transaction? If you don't, then it seems to me that the processes that are banging into each other are going to keep failing. I'd like to add a pause for a random amount of time in the catch block. It is not necessary to pause before retrying because if a transaction fails with a 'RetryException' it is only because some other transaction was committed and that other transaction made some changes that are incompatible with the failed transactions changes. So... suppose you kick off 10 transactions at once. At *most* only 9 of those transactions will fail with a RetryException. If you retry those 9 then at *most* 8 will fail, and so on -- 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=. -- 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=.
[appengine-java] Re: XMPP getPresence response not valid?
Hi. Though it is likely already to have tried. If the state is [is not available] please invite it from GMailchat or GTalk to XMPP Addresses ([app...@appspot.com] or [anyth...@app-id.appspotchat.com],etc.) Please confirm Gtalk display that XMPP Addresses ([app...@appspot.com] or [anyth...@app-id.appspotchat.com],etc.) is online and confirm presence status on the GppEngine side. Please refer to the following links for details of XMPP Addresses. http://code.google.com/intl/us/appengine/docs/java/xmpp/overview.html Thanks. On 11月18日, 午前1:52, timzon jerome.bre...@gmail.com wrote: Is anybody having problem with xmpp.getPresence not providing valid presence information for GTalk clients? Using very simple function to check the availability of a GTalk client: XMPPService xmpp = XMPPServiceFactory.getXMPPService(); if (xmpp.getPresence(agentJid).isAvailable()) { log.info(agentJid.toString() + is available (added to list));} else { log.info(agentJid.toString() + is not available); } getPresence always returns the same presence status for a user regardless of the user real status. I've tried this with GTalk clients on both GMail and Apps domains. The result is exactly the same. This is extremely blocking for our application as we need to validate the presence of a group of GTalk clients to determine what to do with a request. Thanks in advance for your help, Jerome. -- 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=.
[appengine-java] GAE/J with Flex Session
first request: login by username and pwd, and create the session _session = new FbdanciSession(); _session.setUser(user); FlexContext.getFlexSession().setAttribute(client, _session); second request: update the _session _session = FlexContext.getFlexSession().getAttribute(client); _session.setName(I am not null); third request: print the name _session = FlexContext.getFlexSession().getAttribute(client); System.out.println(_session.getUser());// the reuslt is not null; System.out.println(_session.getName());// the reuslt is null; I don't know what happened , could anyone help me out; advance thanks -- 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=.
[google-appengine] Re: pattern for getting one record and updating it...
db.get is a function of the google datastore api (google.appengine.ext.db) and it will fetch any entity from the datastore given its key. Have a read of api docs specifically http://code.google.com/appengine/docs/python/datastore/functions.html And its probably worth looking at the getting started section if you dont understand what db.get is doing. Rgds T On Nov 15, 2:04 am, deostroll deostr...@gmail.com wrote: Don't understand the db.get(some_key) part...why is it possible to do such a call in the first place...? I mean wht is so special in the db model we've defined which allows us to do a db.get()...? --deostroll -- 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=.
[google-appengine] Re: ViewDoesNotExist at /join No module named atom.service
Hello All, I am a python newbie. My friend, who is a python guru solved it for me. I just had to add '/vendor' directory in PYTHONPATH. I have solved this on my local instance. I haven't done it yet on appengine though. Regards, Cage On Nov 15, 2:06 pm, Cage vasantha.kesh...@gmail.com wrote: Hello, I have been trying to setup jaiku microblogging engine on appengine. I could successfully load the homepage. However, when I click on 'Join' button it is giving the below pasted error. I can furnish the complete stack trace if it would help. Please help me with this. Regards, Cage Request Method: GET Request URL: http://inchara01.appspot.com/join Exception Type: ViewDoesNotExist Exception Value: Could not import join.views. Error was: No module named atom.service Exception Location: /base/data/home/apps/ inchara01/1.337765706044725588/django.zip/django/core/urlresolvers.py in _get_callback, line 132 Python Executable: /base/ Python Version: 2.5.2 Python Path: ['/base/data/home/apps/inchara01/1.337765706044725588', 'atom.zip', 'cleanliness.zip', 'oauth.zip', 'elementtree.zip', 'beautifulsoup.zip', 'simplejson.zip', 'markdown.zip', 'wsgiref.zip', 'epydoc.zip', 'django.zip', 'gdata.zip', '/base/data/home/apps/ inchara01/1.337765706044725588/django.zip', '/base/python_dist/lib/ python25.zip', '/base/python_lib/versions/third_party/django-0.96', '/ base/python_dist/lib/python2.5/', '/base/python_dist/lib/python2.5/ plat-linux2', '/base/python_dist/lib/python2.5/lib-tk', '/base/ python_dist/lib/python2.5/lib-dynload', '/base/python_lib/versions/1', '/base/data/home/apps/inchara01/1.337765706044725588/'] Server time: Sun, 15 Nov 2009 08:58:23 + -- 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=.
[google-appengine] Re: pattern for getting one record and updating it...
Hi Is there any particular reason why the api_key and scriptid couldn't be used to make a entity key ? ie obj = WorkTracker(key_name = %s:%s % (api_key,scriptid)) Then you can retrieve it by key using Model.get_by_key_name(key_names, parent=None) e.g. obj = WorkTracker.get_by_key_name( %s:%s % (api_key,scriptid)) This is just one way of doing it without a query. You data model may preclude you from doing this, for instance you want the WorkTracker to be a child (in the same transaction group as some other entitities) then you need to know the ancestor. If that is the case and you don't know the ancestor to use in get_by_key_name, then get the record with obj = WorkTracker.all().filter('api_key = ',api_key).filter('script_id = ',script_id).get() assuming that combination of api_key and script_id is unique. This will be slower than accessing the entity directly by its key. Rgds T On Nov 15, 4:22 am, deostroll deostr...@gmail.com wrote: If u r looking for a scenario...I have a table called WorkTracker define like this: class WorkTracker(db.Model): api_key = db.StringProperty() scriptid = db.StringProperty() status = db.StringProperty() trials = db.IntegerProperty() There is a scheduled task which does its work based on scriptid and api_key...the task processes only 1 scriptid at a time (1 scripid per request). I am supposed to update the status of that particular record based on how the scheduled task was executed. So how do I write the update inside the scheduled job? Don't understand how 2 use db.get() in this context...there is no key_name... --deostroll On Nov 14, 11:04 pm, deostroll deostr...@gmail.com wrote: Don't understand the db.get(some_key) part...why is it possible to do such a call in the first place...? I mean wht is so special in the db model we've defined which allows us to do a db.get()...? --deostroll -- 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=.
Re: [google-appengine] Re: When naked domain will be available again
I suggest default to www and let clients handle it. When blank domain unreachable, set standard so that client moves to www.[domain -- 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=.
[google-appengine] Re: Limit on image size very low
Sure, my only application of the imaging API is to reduce the size of images that users upload, to display the small size on the web. It wouldn't happen very often, either (resize once, display n times). My only idea now is to maybe go through some other service that has an API - a photosharing service, for example. It is getting unnecessarily complicated, though. On Nov 17, 1:14 pm, Mikhail Kashkin mkash...@gmail.com wrote: Google App Engine is mostly oriented to Web applications. 1Mb size is enough for full screen pictures for most monitors. May be this one of the reasons. -- 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=.
[google-appengine] Why do I get https://www.google.com/accounts/DisplayUnlockCaptcha when using remote_api
Hi I am pushing about 20,000 entities from Plone to Appengine via the remote_api and every so often (200-300 entities (my guess is it is exactly 200) I start getting reponses from the remote_api that say Please go to https://www.google.com/accounts/DisplayUnlockCaptcha and verify you are a human. Then try again. 2009-11-17 13:47:26 INFO root Exception sending Rollback: Traceback (most recent call last): File /opt/ktstudio/zope/instances/prod/swantafe.buildout/ google_appengine/google/appengine/api/datastore.py, line 1989, in RunInTransactionCustomRetries tx.handle, resp) File /opt/ktstudio/zope/instances/prod/swantafe.buildout/ google_appengine/google/appengine/api/apiproxy_stub_map.py, line 72, in MakeSyncCall apiproxy.MakeSyncCall(service, call, request, response) File /opt/ktstudio/zope/instances/prod/swantafe.buildout/ google_appengine/google/appengine/api/apiproxy_stub_map.py, line 266, in MakeSyncCall rpc.CheckSuccess() File /opt/ktstudio/zope/instances/prod/swantafe.buildout/ google_appengine/google/appengine/api/apiproxy_rpc.py, line 111, in CheckSuccess raise self.exception NameError: global name 'txdata' is not defined Surley repeated use of the remote_api shouldn't make our google overlords think that I am some evil spamming robot. (What I am doing is robot like, but it is authenticated and it is my application and I am not spamming anyone ;-.) Is there some sort of limit to the number of calls that can be made before we have to reconnect or create a new remote_api connection ? As obviously something is triggering this reponse from google. Rgds Tim -- 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=.
Re: [google-appengine] Limit on image size very low
Isn't there another image library you could use to resize? On 11/17/09, Bjoern bjoer...@googlemail.com wrote: Sure, my only application of the imaging API is to reduce the size of images that users upload, to display the small size on the web. It wouldn't happen very often, either (resize once, display n times). My only idea now is to maybe go through some other service that has an API - a photosharing service, for example. It is getting unnecessarily complicated, though. On Nov 17, 1:14 pm, Mikhail Kashkin mkash...@gmail.com wrote: Google App Engine is mostly oriented to Web applications. 1Mb size is enough for full screen pictures for most monitors. May be this one of the reasons. -- 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=. -- Sent from my mobile device -- 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=.
[google-appengine] Re: When naked domain will be available again
You can't use amazon elastic load balancer with naked domains either. So this is not limited to google. It is a artifact of using cnames. Which I think is reasonable. T On Nov 17, 8:05 pm, Mikhail Kashkin mkash...@gmail.com wrote: quick answer: never. Naked domains cannt be CNAME aliases so only way to land them is chain to specific IP address. That mean all your traffic will go to only one computer. Google use another way to balance loading. So only way to help your users is buy hosting for naked IP and redirect all requests to full name. On Nov 14, 9:02 pm, dudu eduardopich...@gmail.com wrote: Anyone knows if will naked domains be available agina on google appengine and google apps? I need short url to my app be accessable to mobile devices more easy =[ -- 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=.
Re: [google-appengine] Google App Engine server down ?
same here... unable to update apps but apps seems to be working fine... -- 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=.
[google-appengine] Re: Google App Engine server down ?
I am seeing intermittant dashboard failure, transaction timeouts, DeadLineExceededErrors .. T On Nov 17, 11:31 pm, Prashant antsh...@gmail.com wrote: same here... unable to update apps but apps seems to be working fine... -- 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=.
[google-appengine] Re: Google App Engine server down ?
I had similar errors, app completely down, now seems to be back up. On Nov 17, 4:39 pm, arbi arbin...@gmail.com wrote: In fact I canno't even connect to appengine.google.com ! App completely down :( On 17 nov, 16:35, Benjamin bsaut...@gmail.com wrote: Yikes. Server error on my end.https://appengine.google.com/ also can't publish updates from eclipse. On Nov 17, 10:34 am, Tim Hoffman zutes...@gmail.com wrote: I am seeing intermittant dashboard failure, transaction timeouts, DeadLineExceededErrors .. T On Nov 17, 11:31 pm, Prashant antsh...@gmail.com wrote: same here... unable to update apps but apps seems to be working fine... -- 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=.
[google-appengine] Re: Google App Engine server down ?
Due to an underlying problem with bigtable, Google App Engine experienced a partial outage from 7:20-7:45am. Datastore operations became very slow (550ms average latency), which resulted in a high backlog of requests. The backlog resulted in higher latency for most applications and requests during this period, and the overall HTTP error rate climbed from 3% to 17%. The incident has passed, but we are working with the bigtable team to resolve the underlying problem and prevent a future re-occurrence. Justin Haugh Software Engineer Google App Engine On Nov 17, 7:50 am, Nevin Freeman nevin.free...@gmail.com wrote: I had similar errors, app completely down, now seems to be back up. On Nov 17, 4:39 pm, arbi arbin...@gmail.com wrote: In fact I canno't even connect to appengine.google.com ! App completely down :( On 17 nov, 16:35, Benjamin bsaut...@gmail.com wrote: Yikes. Server error on my end.https://appengine.google.com/ also can't publish updates from eclipse. On Nov 17, 10:34 am, Tim Hoffman zutes...@gmail.com wrote: I am seeing intermittant dashboard failure, transaction timeouts, DeadLineExceededErrors .. T On Nov 17, 11:31 pm, Prashant antsh...@gmail.com wrote: same here... unable to update apps but apps seems to be working fine... -- 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=.
[google-appengine] Edit models with key lists
I have a model M defined: class M: ... categories = db.ListProperty(db.Key) I'm trying to figure out a way to ensure that when a user chooses to edit an instance of M they are presented with an edit page that: 1) has a list of checkboxes for each category 2) each category that belongs to the instance of M being edited is preselected (prechecked) Since django templates aren't very powerful, I can't do the comparison of the set of all categories vs the set of categories belonging to M within the template (and I guess I shouldn't). Can someone point me to the correct pattern for doing this? Thanks, Reza -- 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=.
Re: [google-appengine] Edit models with key lists
I usually tackle these kinds of problems with Javascript. In the page you generate, write javascript commands to check the boxes you need. function setChecks() { {% for c in model.categories %} document.getElementById({{ c }}).checked = true; {% endfor %} } ... {% for c in categories %} input type=checkbox id={{ c.key }} {% endfor %} On Nov 17, 2009, at 12:23 PM, reza wrote: I have a model M defined: class M: ... categories = db.ListProperty(db.Key) I'm trying to figure out a way to ensure that when a user chooses to edit an instance of M they are presented with an edit page that: 1) has a list of checkboxes for each category 2) each category that belongs to the instance of M being edited is preselected (prechecked) Since django templates aren't very powerful, I can't do the comparison of the set of all categories vs the set of categories belonging to M within the template (and I guess I shouldn't). Can someone point me to the correct pattern for doing this? Thanks, Reza -- 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=. -- 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=.
[google-appengine] Increasing task queue quotas
Hi, I'm evaluating GAE suitability for one of my clients. It is a B2B app with very low organic web traffic. However, users upload lists of data that need to be processed in the background. In the absence of native MapReduce support, my plan is to use task queues. But to meet the performance needs of this application, I need to burst to relatively high levels of concurrency. My question is about the discrepancy in the GAE quotas for inbound web traffic vs. task queues. Inbound web traffic can burst to: 500 qps Task queues burst to: 20 qps In my mind, the total concurrency that GAE would provide an app is equal to: inbound qps + task queue qps + cron qps. Given that task queues are implemented as web request handlers, I see little infrastructural reason to distinguish between task queue and inbound traffic. Is it possible to request a task queue quota increase to 500 qps? If not is there a technical reason for this? thanks -- James -- 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=.
[google-appengine] dashboard server error 500
i've got a server error 500 when logging into my dashboard: - Server Error A server error has occurred. Return to Applications screen » - (this is the applications screen) this affects all apps... xr-api is one. can't get anything from the dashboard for diagnosis. google: help. what's going on, what to do in cases like these? Best - Martin Casey 512.484.9690 /c mar...@caseyis.com /e -- 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=.
[google-appengine] Re: Google App Engine server down ?
Same here, getting Server Error (500). -- 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=.
[google-appengine] dashboard server error 500
i've got a server error 500 when logging into my dashboard: - Server Error A server error has occurred. Return to Applications screen » - (this is the applications screen) this affects all apps... xr-api is one. can't get anything from the dashboard for diagnosis. google: help. what's going on, what to do in cases like these? Best - Martin Casey 512.484.9690 /c mar...@caseyis.com /e -- 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=.
[google-appengine] How can I redirect www.mydomain.com to my appspot app/ website
Hi All, I have built my website in wshyit.appspot.com, I need to redirect my domain URL www.hyit.com to land on this (wshyit.appspot.com). we are registered at Network solutions what should I input in the A records for www in Network solutions can any one help me how can I do it , its very urgent for me currently our website is not working please make this as very urgent request and hep me out. Thanks in advance Adminhyit -- 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=.
[google-appengine] Where is my data - in Relation to Data Protection Laws - US? EU? Elsewhere
Dear All, I have a successful app engine site up and running and although I don't care where the data is - it's out there somewhere, I would like to know so as to be able to understand the implications of Data Protection Laws - for instance is it in the US, EU or elsewhere? With Best Regards Charles -- 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=.
[google-appengine] appcfg.py upload_data failing early
I am having trouble getting the bulk uploader to work. I have been following the tutorial here:http://code.google.com/appengine/docs/ python/tools/uploadingdata.html. When I enter the following command (from winodows, using PowerShell) appcfg.py upload_data --config_file=src/friend_loader.py -- filename=frienddata.csv --kind=Friend ./src/ I get the following error: Usage: appcfg.py [options] upload_data directory appcfg.py: error: Expected directory argument. This seems to happen no matter how I change the order of the arguments, where the files are or any other combination that I have tried. Any thoughts appreciated. -- 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=.
[google-appengine] Re: Limit on image size very low
I totally agree. The 1MB size limit for database entities could remain for all I care. Just give me the chance to resize my users' 5MB images to ~300k versions. Besides, the 10MB request size limit seems out of place when seen beside the image api size limit. On Nov 16, 9:32 pm, Bjoern bjoer...@googlemail.com wrote: The latter - it throws an error if the image you try to manipulate is bigger than 1MB in memory. On Nov 16, 8:03 pm, Eli Jones eli.jo...@gmail.com wrote: I haven't used the Image api.. but.. do you mean the limit of 1MB for storing entities in the Datastore? Or, does it just throw errors if you try to manipulate an image in memory that is over 1MB? If you're just trying to get a 1MB image into the datastore, you could break it up into 1mb chunks before sticking it in the 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.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=.
[google-appengine] Re: Struggling to Upload a CSV file to AppEngine Datastore
The commandline reported SyntaxError: invalid syntax. i've uploaded bulk elements via csv multiple times and the instructions worked perfectly. I'm sure they did, and I am sure this is my error, not the docs. Luckily, this does not apply personally anymore - I ended up doing something different - but I would love a response anyway, for future reference. On Nov 16, 7:47 pm, Greg Tracy greg.tr...@att.net wrote: what was the exact error or symptom? i'm reluctant to repeat the how- to guide. http://code.google.com/appengine/docs/python/tools/uploadingdata.html i've uploaded bulk elements via csv multiple times and the instructions worked perfectly. the sections you actually have to implement are: 1. setting up remote_api 2. creating loader classes 3. preparing your data then issue the following from the command line... appcfg.py upload_data --config_file=your loader script from step 2.py --filename=your CSV file.csv --kind=your db.Model class name app-directory On Nov 16, 11:43 am, Benjamin Mayo wondersofthebr...@googlemail.com wrote: Bear with me here. I have never used python at the *commandline* before. Ever. I have a .CSV file containing the database I would like to upload to my GAE datastore. I have followed the documentation provided, but the python shell keeps returning errors (syntax: update_data). Please can someone step me through how to import the CSV file into AppEngine. Thankyou for any help you can give, which - I promise - is greatly appreciated. -- 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=.
[google-appengine] Re: Creating ancestor to handle transactions
You need to create the parent's key, but you don't need to create a parent entity in the datastore. You can use k = models.Parent(key_name='parent_key') to create a parent node and then simply use k as you've been using it (without the put or get). (When you specify a key-name, the model instance has a key even though it hasn't been put.) You can also create the parent key directly with parent_key = db.Key.from_path(models.Parent.kind(), 'parent_key') and use parent_key where you've been using k. (The documentation for db.Model says that the value of parent can be an instance that has a valid key or a key.) Yes, ancestor queries with such keys works even though there's no corresponding entity in the datastore. On Nov 11, 1:31 pm, Simo Salminen ssalm...@gmail.com wrote: I have database entities that I want to change in transaction. For this I have to create an entity group. However, the entities don't have any natural parent entity, so I have created a dummy parent entity. Is there another good way to do this? Currently I am using the system below. First, I have following data model. class Event(db.Model): date = db.DateTimeProperty(required=True) name = db.StringProperty(required=True) I have created a dummy parent: class Parent(db.Model): pass Creating parent and defining the parent for the entity (this code is inside the transaction): try: k = db.get(parent_key) except db.BadKeyError: k = models.Parent(key_name=parent_key) k.put() ancestor_key = k.key() q = db.GqlQuery('SELECT * WHERE ANCESTOR IS :1', ancestor_key) # (using the query results here, code clipped) e = models.Event(date=date, name=name, parent=k) e.put() Can I avoid creating this dummy Parent model, and satisfy the entity group/transaction requirement in more elegant way? -- 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=.
Re: [google-appengine] Where is my data - in Relation to Data Protection Laws - US? EU? Elsewhere
I believe the only active data-centers are currently in the US. But that could change, you cant rely on any specific location. App Engine engineers have said that at least in the short term to medium there is no plans to be able specify a geographical location. 2009/11/17 Charles char...@r495.com: Dear All, I have a successful app engine site up and running and although I don't care where the data is - it's out there somewhere, I would like to know so as to be able to understand the implications of Data Protection Laws - for instance is it in the US, EU or elsewhere? With Best Regards Charles -- 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=. -- Barry - www.nearby.org.uk - www.geograph.org.uk - -- 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=.
Re: [google-appengine] Re: Limit on image size very low
Has everyone here actully stared the issue tracker request? http://code.google.com/p/googleappengine/issues/detail?id=1422 thats far more likly to be taken notice of. -- 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=.
[google-appengine] Re: Can I be the owner-proprietary but not the person who pay?
Thanks Mikhail. On Nov 17, 6:58 am, Mikhail Kashkin mkash...@gmail.com wrote: Last week I have talk with GAE engineer in Moscow GDD and asked same question. He said that Google know abut this problem and it is in roadmap. On Nov 16, 4:14 pm,frankabelfrank.abel...@gmail.com wrote: Hi all? I'm just wandering if exist a way that someone pay my the rent of the App Engine but I keep the ownership of the application. I mean, somebody pay, but I have full control so when I want change the person who is paying or pay my selft, no problem. Cheers Frank Abel -- 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=.
[google-appengine] Re: Why do I get https://www.google.com/accounts/DisplayUnlockCaptcha when using remote_api
Hi Tim, Can you tell me the appid so we can look into this further? Note that the transaction error is interesting--are you seeing lots of transaction failures and thus retrying the same call repeatedly? --Matthew On Nov 17, 5:54 am, Tim Hoffman zutes...@gmail.com wrote: Hi I am pushing about 20,000 entities from Plone to Appengine via the remote_api and every so often (200-300 entities (my guess is it is exactly 200) I start getting reponses from the remote_api that say Please go tohttps://www.google.com/accounts/DisplayUnlockCaptcha and verify you are a human. Then try again. 2009-11-17 13:47:26 INFO root Exception sending Rollback: Traceback (most recent call last): File /opt/ktstudio/zope/instances/prod/swantafe.buildout/ google_appengine/google/appengine/api/datastore.py, line 1989, in RunInTransactionCustomRetries tx.handle, resp) File /opt/ktstudio/zope/instances/prod/swantafe.buildout/ google_appengine/google/appengine/api/apiproxy_stub_map.py, line 72, in MakeSyncCall apiproxy.MakeSyncCall(service, call, request, response) File /opt/ktstudio/zope/instances/prod/swantafe.buildout/ google_appengine/google/appengine/api/apiproxy_stub_map.py, line 266, in MakeSyncCall rpc.CheckSuccess() File /opt/ktstudio/zope/instances/prod/swantafe.buildout/ google_appengine/google/appengine/api/apiproxy_rpc.py, line 111, in CheckSuccess raise self.exception NameError: global name 'txdata' is not defined Surley repeated use of the remote_api shouldn't make our google overlords think that I am some evil spamming robot. (What I am doing is robot like, but it is authenticated and it is my application and I am not spamming anyone ;-.) Is there some sort of limit to the number of calls that can be made before we have to reconnect or create a new remote_api connection ? As obviously something is triggering this reponse from google. Rgds Tim -- 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=.
[google-appengine] Debug GAE project
Hi, I am new to GAE. I have created a project and would like to know how to debug my application. What I am trying to achieve is that when I launch my application, I want to see the control where it is. I want to verify if my application is talking to my services that I am calling. When I tried to debug with eclipse, I dont hit the break point on my java service. Any help will be highly appreciated. Thanks, K -- 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=.
[google-appengine] Re: Struggling to Upload a CSV file to AppEngine Datastore
i believe a syntax error refers to an invalid command line argument. can you copy and paste the command with all its arguments here in this thread? On Nov 17, 12:20 pm, Benjamin Mayo wondersofthebr...@googlemail.com wrote: The commandline reported SyntaxError: invalid syntax. i've uploaded bulk elements via csv multiple times and the instructions worked perfectly. I'm sure they did, and I am sure this is my error, not the docs. Luckily, this does not apply personally anymore - I ended up doing something different - but I would love a response anyway, for future reference. On Nov 16, 7:47 pm, Greg Tracy greg.tr...@att.net wrote: what was the exact error or symptom? i'm reluctant to repeat the how- to guide. http://code.google.com/appengine/docs/python/tools/uploadingdata.html i've uploaded bulk elements via csv multiple times and the instructions worked perfectly. the sections you actually have to implement are: 1. setting up remote_api 2. creating loader classes 3. preparing your data then issue the following from the command line... appcfg.py upload_data --config_file=your loader script from step 2.py --filename=your CSV file.csv --kind=your db.Model class name app-directory On Nov 16, 11:43 am, Benjamin Mayo wondersofthebr...@googlemail.com wrote: Bear with me here. I have never used python at the *commandline* before. Ever. I have a .CSV file containing the database I would like to upload to my GAE datastore. I have followed the documentation provided, but the python shell keeps returning errors (syntax: update_data). Please can someone step me through how to import the CSV file into AppEngine. Thankyou for any help you can give, which - I promise - is greatly appreciated. -- 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=.
[google-appengine] Re: Application Timeouts - More than usual
Hi Ikai, I was getting these error in a lot of places, mostly reads or memcache hits some time. Mail API also was having some timeouts :-( Most of the time what got me worried was my users (I tested it myself) were getting the stack trace for the deadline exceeded error on their browser. I am using Django 0.96 for dev, so even if there was an error the user should be sent to my default 500 page. What I can gather from this is that the process of sending the response was also deadlining. Also since this keeps happening in random I was also not able to trace it out. I have sent a stack trace of the errors that occurred today as a mail to you. Thank You for the response and sorry for my delay. Thanks, Arun Shanker Prasad. On Nov 17, 3:19 am, Ikai L (Google) ika...@google.com wrote: Arun, Which actions are triggering the DeadlineExceededError? What are you trying to do in these actions? On Fri, Nov 13, 2009 at 5:43 AM, Arun Shanker Prasad arunshankerpra...@gmail.com wrote: Hi Ikai, I had replied with the application id. I am still getting these errors at random, were you able to have a look. class 'google.appengine.runtime.DeadlineExceededError' Thanks, Arun Shanker Prasad. On Nov 11, 3:52 am, Ikai L (Google) ika...@google.com wrote: Arun, Are you still seeing these issues? Please let us know your application ID if you are. On Mon, Nov 9, 2009 at 7:30 AM, Arun Shanker Prasad arunshankerpra...@gmail.com wrote: Hi, My application seems to be throwing a lot of DeadLine exceeded errors this morning. There was no changes uploaded. This seems to have cropped up suddenly this morning. Anyone else facing this? Or is it just me? Thanks, Arun Shanker Prasad. -- Ikai Lan Developer Programs Engineer, 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.comgoogle-appengine%2Bunsubscrib e...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=. -- Ikai Lan Developer Programs Engineer, 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=.
[google-appengine] Looking for Bulk Loader beta testers
Hi App Engine developers, We're working on some improvements and additions to the bulk loader to make it easier to move data between the App Engine Datastore and other data files you may have. If you're doing this right now, we're looking for some beta testers. Two specific issues we're addressing at this time are: * More language-neutral: Java developers, this will help you! * More format-neutral: If you use some format other than CSV, this will help you! If you're interested, fill out the form at https://spreadsheets.google.com/viewform?formkey=dC15V2hwczhpZ1VVWFhPZGhXR1dydUE6MQ to get started. --Matthew -- 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=.
[google-appengine] CNAME mapping stopped working 25 minutes ago
I'm hoping this is a support forum. If it isn't please let me know. As of 30 minutes ago my app is not reachable via my custom domain, but it is reachable by appspot domain. This hangs: http://game.warfareincorporated.com/stats/leaderboard but this works: http://wigamestats.appspot.com/stats/leaderboard This is a new problem; it's been working fine. These are my dns settings: $ dig game.warfareincorporated.com ; DiG 9.6.0-APPLE-P2 game.warfareincorporated.com ;; global options: +cmd ;; Got answer: ;; -HEADER- opcode: QUERY, status: NOERROR, id: 3854 ;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;game.warfareincorporated.com. IN A ;; ANSWER SECTION: game.warfareincorporated.com. 3105 IN CNAME ghs.google.com. ghs.google.com. 302821 IN CNAME ghs.l.google.com. ghs.l.google.com. 59 IN A 74.125.53.121 ;; Query time: 26 msec ;; SERVER: 192.168.0.1#53(192.168.0.1) ;; WHEN: Tue Nov 17 13:23:11 2009 ;; MSG SIZE rcvd: 107 Thanks for your help. -- 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=.
[google-appengine] Re: CNAME mapping stopped working 25 minutes ago
I reported this issue on the Google App Help Forum. No word yet. http://www.google.com/support/forum/p/Google+Apps/thread?tid=2030728333d3a1a8hl=en On Nov 17, 1:26 pm, techboy scot...@gmail.com wrote: I'm hoping this is a support forum. If it isn't please let me know. As of 30 minutes ago my app is not reachable via my custom domain, but it is reachable by appspot domain. This hangs: http://game.warfareincorporated.com/stats/leaderboard but this works: http://wigamestats.appspot.com/stats/leaderboard This is a new problem; it's been working fine. These are my dns settings: $ dig game.warfareincorporated.com ; DiG 9.6.0-APPLE-P2 game.warfareincorporated.com ;; global options: +cmd ;; Got answer: ;; -HEADER- opcode: QUERY, status: NOERROR, id: 3854 ;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;game.warfareincorporated.com. IN A ;; ANSWER SECTION: game.warfareincorporated.com. 3105 IN CNAME ghs.google.com. ghs.google.com. 302821 IN CNAME ghs.l.google.com. ghs.l.google.com. 59 IN A 74.125.53.121 ;; Query time: 26 msec ;; SERVER: 192.168.0.1#53(192.168.0.1) ;; WHEN: Tue Nov 17 13:23:11 2009 ;; MSG SIZE rcvd: 107 Thanks for your help. -- 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=.
[google-appengine] Re: CNAME mapping stopped working 25 minutes ago
hi, I am getting the same problem for my domain as well. lookbookstoresus.appspot.com is working fine but the domain mapping from www.lookbookstores.com stopped working... Hoping we can get this issue sortedlet me know if you find something out...I'll do the same if I do. Thanks, -Steven On Nov 17, 1:26 pm, techboy scot...@gmail.com wrote: I'm hoping this is a support forum. If it isn't please let me know. As of 30 minutes ago my app is not reachable via my custom domain, but it is reachable by appspot domain. This hangs: http://game.warfareincorporated.com/stats/leaderboard but this works: http://wigamestats.appspot.com/stats/leaderboard This is a new problem; it's been working fine. These are my dns settings: $ dig game.warfareincorporated.com ; DiG 9.6.0-APPLE-P2 game.warfareincorporated.com ;; global options: +cmd ;; Got answer: ;; -HEADER- opcode: QUERY, status: NOERROR, id: 3854 ;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;game.warfareincorporated.com. IN A ;; ANSWER SECTION: game.warfareincorporated.com. 3105 IN CNAME ghs.google.com. ghs.google.com. 302821 IN CNAME ghs.l.google.com. ghs.l.google.com. 59 IN A 74.125.53.121 ;; Query time: 26 msec ;; SERVER: 192.168.0.1#53(192.168.0.1) ;; WHEN: Tue Nov 17 13:23:11 2009 ;; MSG SIZE rcvd: 107 Thanks for your help. -- 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=.
[google-appengine] Domain Setup Not working
hello, My app lookbookstoresus.appspot.com is set up to work with domain www.lookbookstores.com (set up using google sites and CNAME on godaddy). This was working fine until this morning, but somehow, even though the app is accessible at lookbookstoresus.appspot.com, I am unable to access it at www.lookbookstores.com. This is hapenning to all my apps hosted on appengine, and it is not an issue with godaddy since I use eurodns.com for one of my domains and am getting the same error there as well. I rechecked the google sites and godaddy etc and all of it is set up correctly, and the apps were working fine with the domain masking util this morning. Please help Thanks, -Steven -- 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=.
Re: [google-appengine] Re: CNAME mapping stopped working 25 minutes ago
Google Apps users: We're looking into it right now. We'll update everyone when we get to the bottom of this. -- Ikai Lan Developer Programs Engineer, 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=.
[google-appengine] Re: CNAME mapping stopped working 25 minutes ago
It's working fine again. On Nov 17, 1:44 pm, Ikai L (Google) ika...@google.com wrote: Google Apps users: We're looking into it right now. We'll update everyone when we get to the bottom of this. -- Ikai Lan Developer Programs Engineer, 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=.
[google-appengine] Re: How can I redirect www.mydomain.com to my appspot app/ website
I do not remember where i have seen it but it works when we create a simple redirection of the www subdomain pointing on your main domain. My solution is to create a .htaccess file and put the following into it : Options +FollowSymlinks RewriteEngine on RewriteBase / RewriteCond %{HTTP_HOST} ^progidea.com$ RewriteRule ^(.*) http://www.%{HTTP_HOST}/$1 [QSA,L,R=301] This file is located on the server that manage my domain name. and the www subdomain point on the htaccess's directory. If someone has better ? On 17 nov, 13:19, Admin HyIT admin.h...@gmail.com wrote: Hi All, I have built my website in wshyit.appspot.com, I need to redirect my domain URLwww.hyit.comto land on this (wshyit.appspot.com). we are registered at Network solutions what should I input in the A records for www in Network solutions can any one help me how can I do it , its very urgent for me currently our website is not working please make this as very urgent request and hep me out. Thanks in advance Adminhyit -- 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=.
[google-appengine] Cross-domain authentication for Google Accounts?
Hi all, Has anyone implemented cross-domain authentication using Google Accounts sign-in? What do I mean: Let's say I have 2 domains www.example1.com www.example2.com both pointing to the same example.appspot.com (using Google Aps). If a user signed in to www.examples1.com I want he/she was recognized as an authenticated when it visit www.example2.com (i.e. pass credentials from example1 to example2). First of all, do you think is it possible at all? Second - if yes, can anyone share implementation or point to any useful resources? I believe any insight on this will be greatly appreciated my many developers. Hope to hear from Nick or other googlers. -- 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=.
[google-appengine] Re: Limit on image size very low
Or not. On Nov 18, 6:11 am, Barry Hunter barrybhun...@googlemail.com wrote: Has everyone here actully stared the issue tracker request? http://code.google.com/p/googleappengine/issues/detail?id=1422 thats far more likly to be taken notice of. -- 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=.
[google-appengine] Re: Cross-domain authentication for Google Accounts?
Some clarification. I have idea how to pass cookies from one domain to another. But I afraid the cookies will be linked to the original exmaple1 domain so they would not work at example2. Would be great to get confirmation before spending time on testing a solution that probably would not work by design. On Nov 17, 10:19 pm, Sharp-Developer.Net alexander.trakhime...@gmail.com wrote: Hi all, Has anyone implemented cross-domain authentication using Google Accounts sign-in? What do I mean: Let's say I have 2 domainswww.example1.comwww.example2.comboth pointing to the same example.appspot.com (using Google Aps). If a user signed in towww.examples1.comI want he/she was recognized as an authenticated when it visitwww.example2.com(i.e. pass credentials from example1 to example2). First of all, do you think is it possible at all? Second - if yes, can anyone share implementation or point to any useful resources? I believe any insight on this will be greatly appreciated my many developers. Hope to hear from Nick or other googlers. -- 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=.
[google-appengine] Re: When naked domain will be available again
You can give you users short domains like EXAMPLE.COM/KEY In your DNS setting setup forwaring the EXMAPLE.COM to WWW.EXAMPLE.COM Then EXAMPLE.COM/KEY will be redirected to WWW.EXAMPLE.COM/KEY and then you can redirect to whenever needed. This is 2 redirect instead of 1 but I guess users wan't notice it much. Alex On Nov 17, 2:14 pm, Tim Hoffman zutes...@gmail.com wrote: You can't use amazon elastic load balancer with naked domains either. So this is not limited to google. It is a artifact of using cnames. Which I think is reasonable. T On Nov 17, 8:05 pm, Mikhail Kashkin mkash...@gmail.com wrote: quick answer: never. Naked domains cannt be CNAME aliases so only way to land them is chain to specific IP address. That mean all your traffic will go to only one computer. Google use another way to balance loading. So only way to help your users is buy hosting for naked IP and redirect all requests to full name. On Nov 14, 9:02 pm, dudu eduardopich...@gmail.com wrote: Anyone knows if will naked domains be available agina on google appengine and google apps? I need short url to my app be accessable to mobile devices more easy =[ -- 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=.
[google-appengine] Re: Why do I get https://www.google.com/accounts/DisplayUnlockCaptcha when using remote_api
Hi Mathew Appid sent in mail. (Need to keep the site relatively unpublic for about 1 more week) Here is some additional information. I encountered this problem last week - see this thread http://groups.google.com.au/group/google-appengine/browse_thread/thread/47d0c685c802e8d7/27567828edc5884c?lnk=gstq=Tim+Hoffman#27567828edc5884c I found then that I would hit the barrier at exactly 200 puts In this round of tests (will be our prod instance) I was doing the transactions a little different and pushing via from two seperate connections from the same ec2 instance (rather than from my home connection.) It appears that again I was hitting the problem and a combined total (across the 2 connections ) of 200 puts (not 100% certain on this as I wasn't counting puts because some of the records had lots of puts - and I was tracking documents not puts). As I mentioned in my email I am not retrying transactions, and there is no point becuase the minute I get this particular error I can't get anything else through to appengine over the remote_api (not even a get) Rgds Tim On Nov 18, 3:57 am, Matthew Blain matthew.bl...@google.com wrote: Hi Tim, Can you tell me the appid so we can look into this further? Note that the transaction error is interesting--are you seeing lots of transaction failures and thus retrying the same call repeatedly? --Matthew On Nov 17, 5:54 am, Tim Hoffman zutes...@gmail.com wrote: Hi I am pushing about 20,000 entities from Plone to Appengine via the remote_api and every so often (200-300 entities (my guess is it is exactly 200) I start getting reponses from the remote_api that say Please go tohttps://www.google.com/accounts/DisplayUnlockCaptcha and verify you are a human. Then try again. 2009-11-17 13:47:26 INFO root Exception sending Rollback: Traceback (most recent call last): File /opt/ktstudio/zope/instances/prod/swantafe.buildout/ google_appengine/google/appengine/api/datastore.py, line 1989, in RunInTransactionCustomRetries tx.handle, resp) File /opt/ktstudio/zope/instances/prod/swantafe.buildout/ google_appengine/google/appengine/api/apiproxy_stub_map.py, line 72, in MakeSyncCall apiproxy.MakeSyncCall(service, call, request, response) File /opt/ktstudio/zope/instances/prod/swantafe.buildout/ google_appengine/google/appengine/api/apiproxy_stub_map.py, line 266, in MakeSyncCall rpc.CheckSuccess() File /opt/ktstudio/zope/instances/prod/swantafe.buildout/ google_appengine/google/appengine/api/apiproxy_rpc.py, line 111, in CheckSuccess raise self.exception NameError: global name 'txdata' is not defined Surley repeated use of the remote_api shouldn't make our google overlords think that I am some evil spamming robot. (What I am doing is robot like, but it is authenticated and it is my application and I am not spamming anyone ;-.) Is there some sort of limit to the number of calls that can be made before we have to reconnect or create a new remote_api connection ? As obviously something is triggering this reponse from google. Rgds Tim -- 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=.
[google-appengine] Re: How can I redirect www.mydomain.com to my appspot app/ website
Have you naked domain redirect to www.hyit.com and then setup the DNS CNAME for www.hyit.com to ghs.google.com, you can use http://www.everydns.com/index.php to setup the DNS. better yet, try this article, which explains everything: http://code.google.com/appengine/articles/domains.html On Nov 17, 6:19 am, Admin HyIT admin.h...@gmail.com wrote: Hi All, I have built my website in wshyit.appspot.com, I need to redirect my domain URLwww.hyit.comto land on this (wshyit.appspot.com). we are registered at Network solutions what should I input in the A records for www in Network solutions can any one help me how can I do it , its very urgent for me currently our website is not working please make this as very urgent request and hep me out. Thanks in advance Adminhyit -- 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=.
[google-appengine] Re: Google App Engine server down ?
It is now 2:34pm PST and my google mail is not connecting to the server. It stopped abruptly. I can't seem to send emails. Is anyone having the same problem? On Nov 17, 7:40 am, Delo dennis.logem...@gmail.com wrote: Same here, getting Server Error (500). -- 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=.
Re: [google-appengine] Re: CNAME mapping stopped working 25 minutes ago
Google Apps customers, Between 11:25am and 3:49pm Pacific Time, there was a production issue for Google Apps customers causing custom domains to intermittently fail to redirect or proxy. The outages have subsided, but we'll continue to monitor the services closely. We'll have to add Custom Domains to the Google Apps Status page: http://www.google.com/appsstatus#hl=en This issue is also being tracked on the Google Apps known issues page: http://www.google.com/support/a/bin/static.py?page=known_issues.cs -- Ikai Lan Developer Programs Engineer, 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=.
[google-appengine] datastore viewer delay
Hello, I removed all the records from a model but when I checked the data viewer they were still there for atleast 15 minutes afterwards. When I delete a record is it actually deleted immediately, or just scheduled for deletion? thanks, Richard -- 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=.
[google-appengine] Cron job syntax
Is it possible to specify various times in a Cron schedule, like: - description: do this job url: /atThisURL schedule: every mon,tue,wed,thu,fri,sat 06:00,07:00,08:00,09:00,10:00,13:00,17:00 From the spec, it does not look like you can. Hate to waste 7 cron jobs on this one task. 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=.
[google-appengine] Accessing the Data Store from outside application
Hey, I hava an app which generates a lot of user data which is stored in the data store. At various intervals I wish to process this data using an application running on my pc, is this possible? I.e. looping through all the users in the data store, accessing/ modifying a field of that user object and then saving the changes to the data store. 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=.
Re: [google-appengine] Re: Admin dashboard chart shows only last 18 hours instead of 24
This issue has been resolved. Can those of you that have been affected please check your dashboards? On Tue, Nov 10, 2009 at 10:27 PM, Prashant antsh...@gmail.com wrote: check my app also - *gaewcmsdemo* --~--~-~--~~~---~--~~ 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%2bunsubscr...@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 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=.
[google-appengine] Re: Using handle_exception()
I'm not sure if this is the best way, since I'm pretty new to Python, but here's an example showing testing for CapabilityDisabledError. I think the exception you're looking for is called OverQuotaError. def handle_exception(self, exception, debug_mode): if isinstance(exception, CapabilityDisabledError): #Do something... On Nov 16, 4:34 pm, herbie 4whi...@o2.co.uk wrote: Hi GAE experts My handler class overrides handle_exception(exception, debug_mode) to catch any exceptions not already dealt with. I'm sure I'm being dumb, but it's not obvious to me how test the 'exception' argument to see if it is a 'CPU usage over quota' exception? 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=.
[google-appengine] Re: Increasing task queue quotas
I'm not sure about what you want to do but just a thought: have you considered Amazon Elastic MapReduce ? It's sure doable with task queues but you're likely to encounter various limitation problems as you cite. On Nov 18, 1:46 am, James Cooper jamespcoo...@gmail.com wrote: Hi, I'm evaluating GAE suitability for one of my clients. It is a B2B app with very low organic web traffic. However, users upload lists of data that need to be processed in the background. In the absence of native MapReduce support, my plan is to use task queues. But to meet the performance needs of this application, I need to burst to relatively high levels of concurrency. My question is about the discrepancy in the GAE quotas for inbound web traffic vs. task queues. Inbound web traffic can burst to: 500 qps Task queues burst to: 20 qps In my mind, the total concurrency that GAE would provide an app is equal to: inbound qps + task queue qps + cron qps. Given that task queues are implemented as web request handlers, I see little infrastructural reason to distinguish between task queue and inbound traffic. Is it possible to request a task queue quota increase to 500 qps? If not is there a technical reason for this? thanks -- James -- 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=.
Re: [google-appengine] datastore viewer delay
Model will always show in dataviewer. The only way I find to not show it is re-define you Model class without any property, and deploy it again. 2009/11/18 Baron richar...@gmail.com: Hello, I removed all the records from a model but when I checked the data viewer they were still there for atleast 15 minutes afterwards. When I delete a record is it actually deleted immediately, or just scheduled for deletion? thanks, Richard -- 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=. -- 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=.
[google-appengine] Re: Admin dashboard chart shows only last 18 hours instead of 24
Was fixed earlier this week for me, thank you On Nov 17, 8:53 pm, Ikai L (Google) ika...@google.com wrote: This issue has been resolved. Can those of you that have been affected please check your dashboards? On Tue, Nov 10, 2009 at 10:27 PM, Prashant antsh...@gmail.com wrote: check my app also - *gaewcmsdemo* --~--~-~--~~~---~--~~ 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.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~--- -- Ikai Lan Developer Programs Engineer, 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=.
[google-appengine] Re: How can I redirect www.mydomain.com to my appspot app/ website
For faster paybacks, I put an index.html in the subdomains' root folders and insert this in that file. ..blah blah.. body onload=location.href='http:// where_i_want_this_to_redirect.com'; ..and blah blah. On Nov 17, 3:15 pm, Mohamed Diarra mohdia...@gmail.com wrote: Have you naked domain redirect towww.hyit.comand then setup the DNS CNAME forwww.hyit.comto ghs.google.com, you can usehttp://www.everydns.com/index.php to setup the DNS. better yet, try this article, which explains everything:http://code.google.com/appengine/articles/domains.html On Nov 17, 6:19 am, Admin HyIT admin.h...@gmail.com wrote: Hi All, I have built my website in wshyit.appspot.com, I need to redirect my domain URLwww.hyit.comtoland on this (wshyit.appspot.com). we are registered at Network solutions what should I input in the A records for www in Network solutions can any one help me how can I do it , its very urgent for me currently our website is not working please make this as very urgent request and hep me out. Thanks in advance Adminhyit -- 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=.