[appengine-java] Eclipse (GWT) fails to run google webapplication.
I've installed Eclipse(Indigo) and Java jdk1.7.0_01. I also installed the google appengine plugin with GWT SDK 2.4.0 and App Engine SDK 1.5.5 included. The Java jdk1.7.0_01 is checked in the Eclipse preferences, installed JRE's. When I create a new google webapplication as a project in Eclipse with an example code, everything appears to be running normally and the google webapplication is being created as a project in Eclipse. But when I try to run the project, the console comes up with the following anouncement: Loading modules com.demo.Demo [ERROR] Unable to find 'com/demo/Demo.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source? [ERROR] shell failed in doStartup method How can I solve this problem? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/G2uxRvDgDhEJ. 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.
[appengine-java] Best way to optimize a bulk update?
Hi, I'm trying to optimize my use of the Datastore. One of my slowest operations reads all of the entities from a table and updates the information in them all. I currently do this like so: PersistenceManager pm = PMF.get().getPersistenceManager(); Extent extent = pm.getExtent(Users.class); for(Object userObj : extent) { User user = (User)userObj; // only update active users if(user.isActive()) { // // in here I set some fields for each active user // } } // closs all fields and automatically save all the User objects extent.closeAll(); My User class is a POJO with various getters/setters for the data. It contains 13 fields and the primary key is a string. What is the best way to improve this? The User table currently only has 100 or so users but it could potentially grow to thousands. This operation runs every 10 minutes via cron and it takes about 30-40 seconds to complete!! What happens when extent.closeAll() is called? will it do multiple writes or is it a batch save? I'm currently using GAE v1.5.1 but am looking to move to v1.6 in the near future. Thanks, J -- 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.
[appengine-java] Server response status code 500. Increase the limit requests per second.
Hello, I have a problem with the server response status code 500. This occurs when server load tests sends more than 17 requests per second. Which is a way to increase the limit Requests/Second to more high? Thanks. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/EczZ9rrwDIYJ. 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.
Re: [appengine-java] Re: Chat Time!
hi,are you working on java -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/dxTJL68SbaMJ. 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.
[appengine-java] Joins Concept in GQL Using Java
Does any body know how to implement joins in GQL -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/qDWjp365DSUJ. 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.
[appengine-java] failed to compile jsp files
my Guestbook.jsp files currently is written as %@ page contentType=text/html;charset=UTF-8 language=java % html /html This is a blank jsp file. It is run without problems locally, but when I try to deploy on web it would give me failed to compile jsp files. From research, the most probable cause for this is that I haven't set a classpath for jdk, and the project is primarily running on jre. However, I am not sure how to address that problem. What I have tried so far are 1)changing system environmental variables, 2)changing compiler settings under project- properties - Java compiler, 3)playing around with Java Build Path. I think I can solve the problem if I know exactly what I have to do with the Java Build Path. I tried JRE System Library from the Build Path, but then I would get a different error message that I need a JVM. I've tried adding the jdk/bin directory somehow into the build path, but I might have done it wrong. Could somebody please help me? Thank you very much for your help and valuable time. -- 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.
[appengine-java] Strange NPE on app start-up
I just got a strange NPE during a frontent startup: Uncaught exception from servlet javax.servlet.UnavailableException: java.lang.NullPointerException at org.mortbay.jetty.servlet.ServletHolder.makeUnavailable(ServletHolder.java:415) at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:458) at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:263) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:685) at org.mortbay.jetty.servlet.Context.startContext(Context.java:140) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at com.google.apphosting.runtime.jetty.AppVersionHandlerMap.createHandler(AppVersionHandlerMap.java:202) at com.google.apphosting.runtime.jetty.AppVersionHandlerMap.getHandler(AppVersionHandlerMap.java:171) at com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:123) at com.google.apphosting.runtime.JavaRuntime$RequestRunnable.run(JavaRuntime.java:392) at com.google.tracing.TraceContext$TraceContextRunnable.runInContext(TraceContext.java:449) at com.google.tracing.TraceContext$TraceContextRunnable$1.run(TraceContext.java:455) at com.google.tracing.TraceContext.runInContext(TraceContext.java:695) at com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java:333) at com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContext(TraceContext.java:325) at com.google.tracing.TraceContext$TraceContextRunnable.run(TraceContext.java:453) at com.google.apphosting.runtime.ThreadGroupPool$PoolEntry.run(ThreadGroupPool.java:162) at java.lang.Thread.run(Thread.java:679) Have anyone seen that before? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/RaJNyLHv4hMJ. 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.
[appengine-java] Deploying GWT Application without Obfuscation (Pretty Mode)
I'm using Eclipse to upload my GWT application to GAE. I can't seem to figure out how to set output style for the GAE upload from obfuscated to pretty. Any assistance greatly appreciated! -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/pyl0qdKE6FoJ. 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.
[appengine-java] app engine in educational environments? Some thoughts please..
I teach a data structures class at a small university. One of the problems I face is connecting the theoretical to the practical...and inspiring students to dig in and learn more. I have been toying with the idea of app engine for my upcoming spring class...(Though I am not sure I have enough time to prepare it) Assuming the students already have a basic understanding of java...could it be possible they could do java based projects... web sites..without battling too much learning the app engine tools? My hope would be that I could start out very basic and simple projects..but with the rich environment, students would be inspired to learn more and practice/play with the technology learning more. Thoughts on that aspect? Thanks! -Mike -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/tsjZzPDYLpUJ. 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.
[appengine-java] Re: Templating Frameworks
I've made a little research on templating engines for Java when building my little CMS for GAE and also chose Freemarker - they say it's faster and also its JAR loads faster than Velocity which is important for GAE that needs to reload app's JARs after some period of inactivity because of its distributed nature. -- 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.
Re: [appengine-java] Re: Templating Frameworks
I've used many different Java templating systems over the years and been terribly disappointed with all of them... until recently. I started using Cambridge Templates: http://code.google.com/p/cambridge/ Here's a good intro document: http://blog.erdincyilmazel.com/ The docs are a little rough and it doesn't have a huge community behind it, but the product is solid and the code is clean. The author is extremely responsive to bugfixes and enhancements. The best thing about Cambridge is the syntax works *very* well with HTML and HTML editors. The template inheritance mechanism is a very elegant way to apply common elements to multiple pages - this feature alone is worth gold. Performance is good. I recommend it. Jeff -- 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.
Re: [appengine-java] Best way to optimize a bulk update?
John, It looks like you only need to modify the 'active' user objects. In that case, you would want to use a Query that filters on the 'active' field, rather than fetching all User objects via an Extent. In addition, as your app scales it will probably make sense to break up your work into smaller batches using the Task Queue and Query Cursors ( http://code.google.com/appengine/docs/java/datastore/jdo/queries.html#Query_Cursors). Fetch a batch of the user objects. Then, use the query cursor-- obtained from the query results-- to enqueue a task to process the next batch of objects starting at that cursor point, and so on. To speed things up, you can enqueue the next task before you start processing the objects returned from the current query. On Fri, Nov 11, 2011 at 5:47 AM, John Clarke clarke...@gmail.com wrote: Hi, I'm trying to optimize my use of the Datastore. One of my slowest operations reads all of the entities from a table and updates the information in them all. I currently do this like so: PersistenceManager pm = PMF.get().getPersistenceManager(); Extent extent = pm.getExtent(Users.class); for(Object userObj : extent) { User user = (User)userObj; // only update active users if(user.isActive()) { // // in here I set some fields for each active user // } } // closs all fields and automatically save all the User objects extent.closeAll(); My User class is a POJO with various getters/setters for the data. It contains 13 fields and the primary key is a string. What is the best way to improve this? The User table currently only has 100 or so users but it could potentially grow to thousands. This operation runs every 10 minutes via cron and it takes about 30-40 seconds to complete!! What happens when extent.closeAll() is called? will it do multiple writes or is it a batch save? I'm currently using GAE v1.5.1 but am looking to move to v1.6 in the near future. Thanks, J -- 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-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.
Re: [appengine-java] Eclipse (GWT) problem running project.
Did you by any chance try to rename the out-of-the-box sample project? If so, double check that everything is renamed consistently, then delete your old run configuration and generate a new one (e.g. via Run As Web Application). -Amy On Sat, Nov 12, 2011 at 1:48 AM, Oswin osw-...@hotmail.com wrote: I've installed Eclipse (Indigo) 3.5, and installed Java jdk1.7.0_01. I also installed the google plugin for Eclipse with the GWT SDK 2.4.0 and the App Engine SDK 1.5.5 for Eclipse. The Java JDK has been checked in the preferences at the installed JRE's. When I create a new google webapplication with an example code. It appears to be working normally and the new webapplication is being created as a new project. But when I try to run the project. The console comes up with the following anouncement: Loading modules com.demo.Demo [ERROR] Unable to find 'com/demo/Demo.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source? [ERROR] shell failed in doStartup method How can I solve this problem? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/2ilcF_MoSTUJ. 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-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.
Re: [appengine-java] failed to compile jsp files
What is the full error including the classpath on the console?-- Sent from my HP TouchPadOn Nov 13, 2011 5:27 PM, Howon Song hs...@cornell.edu wrote: my Guestbook.jsp files currently is written as %@ page contentType="text/html;charset=UTF-8" language="java" % html /html This is a blank jsp file. It is run without problems locally, but when I try to deploy on web it would give me "failed to compile jsp files." From research, the most probable cause for this is that I haven't set a classpath for jdk, and the project is primarily running on jre. However, I am not sure how to address that problem. What I have tried so far are 1)changing system environmental variables, 2)changing compiler settings under project- properties - Java compiler, 3)playing around with Java Build Path. I think I can solve the problem if I know exactly what I have to do with the Java Build Path. I tried JRE System Library from the Build Path, but then I would get a different error message that I need a JVM. I've tried adding the jdk/bin directory somehow into the build path, but I might have done it wrong. Could somebody please help me? Thank you very much for your help and valuable time. -- 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-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.
[appengine-java] 500 Server Error
Hello, I'm Trying to Do Use Upload and Delete Files from my Google Engine(Java) application, but always return the error 500 Server Error Error: Server Error The server encountered an error and could not complete your request. If the problem persists, please reporthttp://code.google.com/appengine/community.htmlyour problem and mention this error message and the query that caused it. The Script Is ok, because run in localhost, i look for the error in google, and i see the error ocured because i don't have permission to Upload and Delete files for my Application. Where i Can change permission to enable this?? Thanks -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/S7kYHc3Of8sJ. 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.
[appengine-java] Error 500
Hello, I'm Trying to use Delete And Upload Servlet in my Google Engine (Java), But Always returns the message 500 Server Error Error: Server Error The server encountered an error and could not complete your request. If the problem persists, please reporthttp://code.google.com/appengine/community.htmlyour problem and mention this error message and the query that caused it. I look for the error in google, and i find it's cause by Permission, How I Change my permission in de Engine to do Delete and Upload Files? Thank You ( Sorry for my English). -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/TUR-xPv2g6QJ. 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.
[appengine-java] Error starting in Eclipse
Hi all, I'm really new to all this. I've tried to get the Google App Engine plugin to work with Eclipse but I'm getting this error message: WARNING: Error starting handlers java.lang.UnsupportedClassVersionError: com/google/appengine/codelab/CodeLabEx0Servlet : Unsupported major.minor version 51.0 Eclipse says the server is up, but when I go to localhost: I'm getting an error message that says: HTTP ERROR: 404 Problem accessing /. Reason: NOT_FOUND -- *Powered by Jetty://* * * Could somebody give me some pointers regarding this? Thanks! -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/UBMdC8z5WTwJ. 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.
[appengine-java] Error
init: deps-module-jar: deps-ear-jar: deps-jar: library-inclusion-in-archive: library-inclusion-in-manifest: compile: compile-jsps: Starting Google App Engine Google App Engine Start Failed C:\Users\Familia\Documents\NetBeansProjects\emmanuelsaenzc\nbproject \build-impl.xml:721: Deployment error: Google App Engine Start Failed See the server log for details. at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java: 223) at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:106) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java: 291) at sun.reflect.GeneratedMethodAccessor77.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java: 106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:390) at org.apache.tools.ant.Target.performTasks(Target.java:411) at org.apache.tools.ant.Project.executeSortedTargets(Project.java: 1399) at org.apache.tools.ant.Project.executeTarget(Project.java:1368) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java: 41) at org.apache.tools.ant.Project.executeTargets(Project.java:1251) at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java: 284) at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java: 539) at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java: 153) BUILD FAILED (total time: 2 seconds) -- 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.
[appengine-java] Re: Templating Frameworks
Apache Wicket is really nice, but it may be not as lightweight as you'd like. At least it gets you as far away as possible from stuff like JSP/JSF :) -- 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.
Re: [appengine-java] Re: Reading a Google Doc from google app engine code
Have you used *org.apache.poi.hwpf.HWPFDocument* API ? Thanks, Amit On Sat, Nov 12, 2011 at 7:04 PM, Vik vik@gmail.com wrote: Hie Amit Thanks however when i read the input stream using: String content = CharStreams.toString(new InputStreamReader(inStream)); It prints all boxed characters rather plain english text. Please advise Thankx and Regards Vik Founder http://www.sakshum.org http://blog.sakshum.org On Fri, Nov 11, 2011 at 5:46 PM, Amit Pandey amit.s...@gmail.com wrote: Mistakenly send wrong code. Here is correct code. On Fri, Nov 11, 2011 at 5:35 PM, Amit Pandey amit.s...@gmail.com wrote: Hi ViK, I did the same before and I use *org.apache.poi.hwpf.HWPFDocument* API. Following code snippet may be useful for you. Let me know if this works. for (DocumentListEntry entry : resultFeed.getEntries()) { String docId = entry.getDocId(); String docType = entry.getType(); URL exportUrl = new URL(https://docs.google.com/feeds/download/; + docType + s/Export?docID= + docId + exportFormat=doc); MediaContent mc = new MediaContent(); mc.setUri(exportUrl.toString()); MediaSource ms = client.getMedia(mc); InputStream inStream = ms.getInputStream(); // Now read the content from input stream. break; } Thanks, Amit On Thu, Nov 10, 2011 at 4:09 PM, Vik vik@gmail.com wrote: Hie Thanks I went through it and could at least get the handle to the google text doc i needed. I am now stuck at how to read the contents. My code looks like: GoogleOAuthParameters oauthParameters = new GoogleOAuthParameters(); oauthParameters.setOAuthConsumerKey(Constants.CONSUMER_KEY); oauthParameters.setOAuthConsumerSecret(Constants.CONSUMER_SECRET); oauthParameters.setOAuthToken(Constants.ACCESS_TOKEN); oauthParameters.setOAuthTokenSecret(Constants.ACCESS_TOKEN_SECRET); DocsService client = new DocsService(sakshum-YourAppName-v1); client.setOAuthCredentials(oauthParameters, new OAuthHmacSha1Signer()); URL feedUrl = new URL( https://docs.google.com/feeds/default/private/full/;); DocumentQuery dquery = new DocumentQuery(feedUrl); dquery.setTitleQuery(blood_donor_verification_template_dev); dquery.setTitleExact(true); dquery.setMaxResults(10); DocumentListFeed resultFeed = client.getFeed(dquery, DocumentListFeed.class); System.out.println(feed size: + resultFeed.getEntries().size()); String emailBody = ; for (DocumentListEntry entry : resultFeed.getEntries()) { System.out.println(entry.getPlainTextContent()); emailBody = entry.getPlainTextContent(); } Plz note that entry.getPlainTextContent() does not work and throws object not TextContent type exception Thankx and Regards Vik Founder http://www.sakshum.org http://blog.sakshum.org On Sun, Nov 6, 2011 at 10:24 PM, Vik vik@gmail.com wrote: Thanks for replying actually i just googled and could not really find matching to my needs. thanks for the pointer this should be helpful. Thankx and Regards Vik Founder http://www.sakshum.org http://blog.sakshum.org On Fri, Nov 4, 2011 at 12:01 AM, Ikai Lan (Google) ika...@google.comwrote: Have you read this? What are your thoughts? What have you tried? http://code.google.com/apis/documents/ Vik, your posts would be a lot more useful if you: 1. List what you have tried 2. Describe what didn't work 3. Describe what it is you are trying to do I like the fact that you keep emails short, but I suspect other people on this list have tuned you out because you're just not providing enough information when you ask for help and it's too much detective work for people who would actually help out otherwise. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Thu, Nov 3, 2011 at 10:42 AM, Vik vik@gmail.com wrote: someone please help on this. Thankx and Regards Vik Founder http://www.sakshum.org http://blog.sakshum.org On Mon, Oct 31, 2011 at 7:11 PM, Vik vik@gmail.com wrote: Hie Can someone please guide on how to read a google doc from my gae code? Thankx and Regards Vik Founder http://www.sakshum.org http://blog.sakshum.org -- 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-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
[google-appengine] Re: Datastore Stored Data Quota Report Wrong
Any entities stored before you removed the per-property indexes will still have their index data stored - the per-property indexes are only updated if you rewrite the entities. Query indexes are rebuilt on deployment. Cheers, Simon -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/oyckIYa7mu8J. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Datastore Stored Data Quota Report Wrong
thank you ... i assume when an entity is deleted, its indexes are also deleted. so, if i copy a namespace, new indexes will be built, and delete the original, old indexes will be removed. correct? would it be possible to get some statistics on the size of indexes, perhaps, when showing namespaces in admin stats? likewise, when displaying compound indexes? On Nov 13, 2:35 am, Simon Knott knott.si...@gmail.com wrote: Any entities stored before you removed the per-property indexes will still have their index data stored - the per-property indexes are only updated if you rewrite the entities. Query indexes are rebuilt on deployment. Cheers, Simon -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Datastore Stored Data Quota Report Wrong
Can I omit the direction in this index.yaml entry? - kind: foobars properties: - name: tablekey - name: timestamp direction: desc If not, do I need a second compound indexes if I also want the direction: asc? Thanks On Nov 13, 7:02 am, James Gilliam jimgill...@gmail.com wrote: thank you ... i assume when an entity is deleted, its indexes are also deleted. so, if i copy a namespace, new indexes will be built, and delete the original, old indexes will be removed. correct? would it be possible to get some statistics on the size of indexes, perhaps, when showing namespaces in admin stats? likewise, when displaying compound indexes? On Nov 13, 2:35 am, Simon Knott knott.si...@gmail.com wrote: Any entities stored before you removed the per-property indexes will still have their index data stored - the per-property indexes are only updated if you rewrite the entities. Query indexes are rebuilt on deployment. Cheers, Simon -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] New pricing structure infinity increase
I cannot work out how to set my instances and latency settings but I need to do something. Until 3 days ago my site cost nothing. Then 0,42 0.33 0.37 0.86 4.80 How can this be? I had not altered any settings and I had not uploaded any new pages. Certainly I cannot be paying $35 per week for a small site that has only 1600 requests per day. Can anyone tell me what values I should have, min and max for the lyle instances and pending latency sliders? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Yaml addressing and template with GAE is not working ?
you can check here also http://stackoverflow.com/questions/8112722/yaml-addressing-and-template-with-gae-is-not-working-templatedoesnotexist-just Problem : I have problem with using template in Google App Engine by Python. the thing is, when I address my static folder in Yaml, I can NOT access to my template and when I remove it, it is access able. look at the files. this is my file structure -src\ \calc.py \main.py \index.html templ\ -\calc.html -\js -\css YAML: handlers: - url: /.* script: main.py MAIN.PY def main(): application = webapp.WSGIApplication([ ('/', MainPage), ('/calc',Calc) ], debug=True) wsgiref.handlers.CGIHandler().run(application) Calc.py class Calc(webapp.RequestHandler): def get(self): temp = os.path.join(os.path.dirname(__file__), 'templ/ calc.html') outstr = template.render(temp, temp_val) self.response.out.write(outstr) THE RESULT IS : Status: 200 OK Content-Type: text/html; charset=utf-8 I can reach my file and the template addressing is working BUTTT when I add the following line to my YAML to access to my css and js and so on. IT is not access able YAML: handlers: - url: /.* script: main.py - url: /templ static_dir: templ or If i change order of them : YAML: handlers: - url: /templ static_dir: templ - url: /.* script: main.py BOTH are NOT working and there is my error Status: 500 Internal Server Error File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/ django_0_96/django/template/loader.py, line 72, in find_template_source raise TemplateDoesNotExist, name TemplateDoesNotExist: calc.html Please help me through this, there must be simple solution for it. I really dont believe that GAE is that much fool Thank you in advanced -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: New Acceptable Use: Porn?
For example Adsense now has gambling ads -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/4BKXYYBBb4gJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: gaeutilities session not working in ie9
Are you able to see the cookie even once? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/1PceRpBO2OgJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Datastore Read and Writes Statstics
Is there an update on this? Have we filed an issue? Our quota depleted so fast when we use map-reduce... On Sep 29, 7:19 pm, djidjadji djidja...@gmail.com wrote: It would be really nice if the WriteOps and ReadOps are logged for each request. Like the loading_request and ms time that is added to a line in the log. That way you can download the logs and find out which request is making the most Ops and perhaps needs a look at if it can be optimized. Op 22 september 2011 14:29 heeft Vivek Puri v...@vivekpuri.com het volgende geschreven: For Estimated Charges Under New Pricing, my app is showing $40/per day for Writes and $13/day for Reads. $40 worth of writes is 40 million write operations. Right now i have not idea which table is being written to most and contributing to that number. Can AppEngine team provide statistics on these write and read operations. I would hope this is something similar to existing Datastore Statistics tool. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] 1.6.0 : logging doesn't support non ascii char
I've reopened this issue : http://code.google.com/p/googleappengine/issues/detail?id=573 If you try : logging.info(é) or logging.info(ué) the dev_server crashes. It was working before 1.6.0 (and it works in production). I use python2.5. Traceback (most recent call last): File C:\Outils\google_appengine\google\appengine\tools\dev_appserver.py, line 2641, in _HandleRequest self._Dispatch(dispatcher, self.rfile, outfile, env_dict) File C:\Outils\google_appengine\google\appengine\tools\dev_appserver.py, line 2528, in _Dispatch base_env_dict=env_dict) File C:\Outils\google_appengine\google\appengine\tools\dev_appserver.py, line 616, in Dispatch base_env_dict=base_env_dict) File C:\Outils\google_appengine\google\appengine\tools\dev_appserver.py, line 1592, in Dispatch self._module_dict) File C:\Outils\google_appengine\google\appengine\tools\dev_appserver.py, line 1517, in ExecuteCGI logservice_stub._flush_logs_buffer() File C:\Outils\google_appengine\google\appengine\api\logservice\logservice_stub.py, line 71, in _flush_logs_buffer logservice.logs_buffer().flush() File C:\Outils\google_appengine\google\appengine\api\logservice\logservice.py, line 228, in flush self._lock_and_call(self._flush) File C:\Outils\google_appengine\google\appengine\api\logservice\logservice.py, line 112, in _lock_and_call return method(*args) File C:\Outils\google_appengine\google\appengine\api\logservice\logservice.py, line 260, in _flush apiproxy_stub_map.MakeSyncCall('logservice', 'Flush', request, response) File C:\Outils\google_appengine\google\appengine\api\apiproxy_stub_map.py, line 94, in MakeSyncCall return stubmap.MakeSyncCall(service, call, request, response) File C:\Outils\google_appengine\google\appengine\api\apiproxy_stub_map.py, line 308, in MakeSyncCall rpc.CheckSuccess() File C:\Outils\google_appengine\google\appengine\api\apiproxy_rpc.py, line 156, in _WaitImpl self.request, self.response) File C:\Outils\google_appengine\google\appengine\api\apiproxy_stub.py, line 87, in MakeSyncCall method(request, response) File C:\Outils\google_appengine\google\appengine\api\logservice\logservice_stub.py, line 309, in _Dynamic_Flush new_app_logs = self.put_log_lines(group.log_line_list()) File C:\Outils\google_appengine\google\appengine\api\logservice\logservice_stub.py, line 321, in put_log_lines return _run_in_namespace(self._put_log_lines, lines) File C:\Outils\google_appengine\google\appengine\api\logservice\logservice_stub.py, line 93, in _run_in_namespace return f(*args) File C:\Outils\google_appengine\google\appengine\api\logservice\logservice_stub.py, line 330, in _put_log_lines message=app_log.message()) File C:\Outils\google_appengine\google\appengine\ext\db\__init__.py, line 945, in __init__ prop.__set__(self, value) File C:\Outils\google_appengine\google\appengine\ext\db\__init__.py, line 599, in __set__ value = self.validate(value) File C:\Outils\google_appengine\google\appengine\ext\db\__init__.py, line 2696, in validate value = self.data_type(value) File C:\Outils\google_appengine\google\appengine\api\datastore_types.py, line 1138, in __new__ return super(Text, cls).__new__(cls, arg, encoding) UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 0: ordinal not in range(128) -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/8gnq3JmGSRAJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Help resolve massive performance regression in 2.7 vs 2.5 runtime
Hi Brian, It helps, it's now at ~5s instead, but still at least 2x slower than on the 2.5 runtime. So on December 1st, the 50% discount for front-instances is gone. The idea is to compensate by switching to Python 2.7 with multithreading, but it looks like at this point it's a lose-lose situation: it runs more requests at the same time, but they take longer. We're mid- November already, do you guys think you'll have all of this working perfectly within 2 weeks? The 1.6 SDK which actually allows to run 2.7 locally was just released, so we're only starting to test now. Seems to me deferring the payment change 1 more month to January 1st 2012 wouldn't hurt :) On Nov 12, 10:09 pm, Brian Quinlan bquin...@google.com wrote: Hi Pol, Thanks for getting back to me. On Sun, Nov 13, 2011 at 4:50 PM, Pol p...@everpix.net wrote: Hi Brian, threadsafe is true There is a known issue where concurrent requests (enabled with threadsafe) can be much slower than non-concurrent requests, especially if the request is CPU-bound. You might want to set threadsafe to false and see if that fixes the problem. Cheers, Brian Here's an example password_hash for an original 8 characters password: $2a$04$cbM2uHwDphIG3jFFRpq1mui5aVjevnDUwhvQ77S/WG/qvJMpiXAL6 On Nov 12, 6:58 pm, Brian Quinlan bquin...@google.com wrote: Hi Pol, On Sun, Nov 13, 2011 at 1:48 PM, Pol p...@everpix.net wrote: Hi, Since switching to 2.7 runtime, logging in tohttp://www.everpix.com went from about a second to anywhere from 15s to 60s. I tracked it down to this single password checking line: from bcrypt import bcrypt bcrypt.hashpw(password, self.password_hash) == self.password_hash What value are you using for threadsafe in your app.yaml? How large is self.password_hash? Cheers, Brian This comes from a native Python implementation of the py-bcrypt package fromhttp://www.mindrot.org/projects/py-bcrypt/; grabbed from here:https://github.com/erlichmen/py-bcrypt. So what's happening here and how can we fix this? Thanks, - Pol -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Indexes in Error state when following migrate procedure
I've made a copy of my java app and I'm trying to deploy the HRD version. I get the new version is ready to start serving, but then under Uploading index definitions. I get the following: java.io.IOException: Error posting to URL: https://appengine.google.com/api/datastore/index/add?app_id=carglyplatformversion=2-0; 400 Bad Request Cannot build indexes that are in state ERROR. And then some instructions on how to vacuum my indexes. Which seems odd because there's no data yet. The admin console shows all the indexes in error. I found at least one other person whose run into this: http://code.google.com/p/googleappengine/issues/detail?id=6275 Any help would be greatly appreciated. Thanks, Stephen -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/sCFxWMQSPpcJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: New pricing structure infinity increase
On Nov 13, 7:52 am, Kate mss.ka...@gmail.com wrote: I cannot work out how to set my instances and latency settings but I need to do something. Until 3 days ago my site cost nothing. Then 0,42 0.33 0.37 0.86 4.80 How can this be? I had not altered any settings and I had not uploaded any new pages. Certainly I cannot be paying $35 per week for a small site that has only 1600 requests per day. Can anyone tell me what values I should have, min and max for the lyle instances and pending latency sliders? I'm having problems with this too. Like you, I have a low traffic site, but even with the sliders set all the way to the extremes (idle instances = 1, pending latency=15s) app engine is running two instances of my app at times. Considering the low amount of traffic I'm getting, this seems odd. Here's an example: Total number of instances Average QPS*Average Latency*Average Memory 2 total 0.00879.0 ms 19.6 MBytes Instances QPS*Latency*RequestsErrors Age Memory Availability 0.017 79.0 ms 23 0 0:06:58 26.9 MBytes Dynamic 0.000 0.0 ms 1 0 0:01:37 12.3 MBytes Dynamic At such low QPS latency, I'd be perfectly fine having just a single instance and introducing a bit of latency. I think having two instances here is unnecessary, but I can't figure out how to stop it. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Datastore Stored Data Quota Report Wrong
also, my Datastore Stored Data has not changed in weeks ... I don't think it is being calculcated ... is that possible? On Nov 13, 7:22 am, James Gilliam jimgill...@gmail.com wrote: Can I omit the direction in this index.yaml entry? - kind: foobars properties: - name: tablekey - name: timestamp direction: desc If not, do I need a second compound indexes if I also want the direction: asc? Thanks On Nov 13, 7:02 am, James Gilliam jimgill...@gmail.com wrote: thank you ... i assume when an entity is deleted, its indexes are also deleted. so, if i copy a namespace, new indexes will be built, and delete the original, old indexes will be removed. correct? would it be possible to get some statistics on the size of indexes, perhaps, when showing namespaces in admin stats? likewise, when displaying compound indexes? On Nov 13, 2:35 am, Simon Knott knott.si...@gmail.com wrote: Any entities stored before you removed the per-property indexes will still have their index data stored - the per-property indexes are only updated if you rewrite the entities. Query indexes are rebuilt on deployment. Cheers, Simon -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: New pricing structure infinity increase
Why would you want to stop having 2 instances, when you are only paying for one? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/cxvQuVvsP0UJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: Help resolve massive performance regression in 2.7 vs 2.5 runtime
Hi Pol, Thanks for trying it again with threadsafe disabled and reporting back! On Mon, Nov 14, 2011 at 4:32 AM, Pol p...@everpix.net wrote: Hi Brian, It helps, it's now at ~5s instead, but still at least 2x slower than on the 2.5 runtime. So on December 1st, the 50% discount for front-instances is gone. The idea is to compensate by switching to Python 2.7 with multithreading, but it looks like at this point it's a lose-lose situation: it runs more requests at the same time, but they take longer. We're mid- November already, do you guys think you'll have all of this working perfectly within 2 weeks? No, the issues with concurrent requests won't be fixed by the end of November. But note that concurrent requests will *not* improve the utilization of CPU-bound requests. Running multiple threads on the same CPU just proportionally slows each thread down. The 1.6 SDK which actually allows to run 2.7 locally was just released, so we're only starting to test now. Seems to me deferring the payment change 1 more month to January 1st 2012 wouldn't hurt :) You can send your billing-related suggestions to App Engine's Engineering Directory, Peter Magnusson (p...@google.com). Thanks! Cheers, Brian On Nov 12, 10:09 pm, Brian Quinlan bquin...@google.com wrote: Hi Pol, Thanks for getting back to me. On Sun, Nov 13, 2011 at 4:50 PM, Pol p...@everpix.net wrote: Hi Brian, threadsafe is true There is a known issue where concurrent requests (enabled with threadsafe) can be much slower than non-concurrent requests, especially if the request is CPU-bound. You might want to set threadsafe to false and see if that fixes the problem. Cheers, Brian Here's an example password_hash for an original 8 characters password: $2a$04$cbM2uHwDphIG3jFFRpq1mui5aVjevnDUwhvQ77S/WG/qvJMpiXAL6 On Nov 12, 6:58 pm, Brian Quinlan bquin...@google.com wrote: Hi Pol, On Sun, Nov 13, 2011 at 1:48 PM, Pol p...@everpix.net wrote: Hi, Since switching to 2.7 runtime, logging in tohttp://www.everpix.com went from about a second to anywhere from 15s to 60s. I tracked it down to this single password checking line: from bcrypt import bcrypt bcrypt.hashpw(password, self.password_hash) == self.password_hash What value are you using for threadsafe in your app.yaml? How large is self.password_hash? Cheers, Brian This comes from a native Python implementation of the py-bcrypt package fromhttp://www.mindrot.org/projects/py-bcrypt/; grabbed from here:https://github.com/erlichmen/py-bcrypt. So what's happening here and how can we fix this? Thanks, - Pol -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: New pricing structure infinity increase
On Nov 13, 11:21 am, Gerald Tan woefulwab...@gmail.com wrote: Why would you want to stop having 2 instances, when you are only paying for one? Interesting, only one of those two instances is counting against my instance hours quota? I don't have billing enabled, so my goal is to avoid going over the 28 instance-hours/day limit. It keeps being uncomfortably close to that limit. I was assuming this was because it was spinning up two instances at times, and almost never going below 1 instance. My app spends almost all of its time idle (see http://i.imgur.com/209hU.png). Even at peak load, it is common for my app to be idle for 2-4 minutes between requests, so I was looking for ways to avoid using up instance hours with mostly-idle instances. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] HRD migration tool now available!
full_app_idhttps://cs.corp.google.com/#google3/apphosting/api/app_identity/app_identity.pyct=xref_usagesgs=py:google3.apphosting.api.app_identity.app_identity.get_application_idamp;full_app_id:google3/apphosting/api/app_identity/app_identity.pyl=336gsn=full_app_id= oshttp://www.google.com/url?sa=Dq=http%3A%2F%2Fdocs.python.org%2Flibrary%2Fos.html .getenvhttp://www.google.com/url?sa=Dq=http%3A%2F%2Fdocs.python.org%2Flibrary%2Fos.html%23process-parameters ('APPLICATION_ID') On Fri, Nov 11, 2011 at 12:24 PM, Joshua Smith joshuaesm...@charter.netwrote: Another question. I have this code in my app, so that when someone comes in with an old key, my code will quietly convert it to the new app-id: from google.appengine.api.app_identity import get_application_id appname = get_application_id() @monkeypatch_method(webapp.Request) def get_db(self, key_attr): k = self.get(key_attr) if not k: return None key = db.Key(k) if key.app() == appname: return db.get(key) logging.info(Fixing up key from old app %s (%s=%s) % ( key.app() , key_attr , k )) fixed_key = db.Key.from_path(*key.to_path()) return db.get(fixed_key) So what's happening is it is fixing up every key, because get_application_id() doesn't have s~ on the front. *What should I call to get the app id used in Keys?* (The one with the s~ in front?) (BTW: This approach turned out to be a real time-saver for migrating my blobs. I could pass the old version keys from the new HR version, and it fixed them up into its own namespace without my having to even think about it.) -Joshua On Nov 11, 2011, at 1:16 PM, Joshua Smith wrote: OK, so the migration from MS to HR was really fast, and I ran into no problems. Woo hoo! I didn't do the alias step, because I now need to figure out how to move my old blobs into the new app, and I suspect that if I did the alias that would get really, really hard. Right? So instead, I changed the mapping of my www.myapp.com to point to the HR version using google apps domain management. Seems to have worked. Woo hoo again! How do I get my post-migration email budget back up to 2000? App ID of the new app is towngovernment-hr Now to move the blobs... On Nov 10, 2011, at 9:49 AM, Joshua Smith wrote: Guess I know what I'll be doing on my day off tomorrow. In case anyone didn't notice this in the docs: Currently, the HRD Migration Tool does not support copying data from Blobstore. If you use Blobstore, you need to manually copy that data over. Ugh. That's a pretty huge hole in the tool. Perhaps I know what I'll be doing all weekend… -Joshua On Nov 9, 2011, at 4:33 PM, Stacy (Google) wrote: We’ve just released a new self service HRD migration tool. This tool copies all of your data to HRD minimizing read-only times by using a multi-phase approach. Please see the documentationhttp://code.google.com/appengine/docs/adminconsole/applicationsettings.html#Migrate_from_Master/Slave_to_High_Replication_Datastorefor details on how to use this. This tool is still considered experimental, please report problems you experience here in the forum or to the external issue tracker.We are still working on solutions for users of blobstore. Using HRD makes your app eligible for our SLA, and will lead to much better availability and more consistent performance. We think every app will benefit from the switch to HRD. Stacy -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/RzmZ--blDgIJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at
[google-appengine] Re: What happened to the promised reliability improvement for email delivery?
Sendgrid.com ; built in top of Amazon SES, but it gives you a nice API through simple web requests, and it helps with statistics, bounces, etc. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/hpaK52aBAWsJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Disable billing - is this a silly question?
Why WOULD'T a person disable billing. My site cost nothing till a few days ago. Should I try it? I know this sounds a very silly question, but why would I go from 0 to several dollars a day. If I turn off billing what will happen? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Disable billing - is this a silly question?
Nothing will happen I think, you still have free quota. If your site will use free resources it will through a message to your users that it reached limit. On 13 November 2011 20:29, Kate mss.ka...@gmail.com wrote: Why WOULD'T a person disable billing. My site cost nothing till a few days ago. Should I try it? I know this sounds a very silly question, but why would I go from 0 to several dollars a day. If I turn off billing what will happen? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] New pricing structure infinity increase
On Mon, Nov 14, 2011 at 2:52 AM, Kate mss.ka...@gmail.com wrote: Hi Kate, I cannot work out how to set my instances and latency settings but I need to do something. Until 3 days ago my site cost nothing. Then 0,42 0.33 0.37 0.86 4.80 How can this be? I had not altered any settings and I had not uploaded any new pages. Certainly I cannot be paying $35 per week for a small site that has only 1600 requests per day. Look at the Billing History tab in the Administrative Console and look at the usage report for a day that you aren't sure about. It may be that you are getting charged for something other than instances, such as datastore operations. Cheers, Brian Can anyone tell me what values I should have, min and max for the lyle instances and pending latency sliders? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] AppStats in Python 2.7 apps
According to appstats config docs: you must use the run_wsgi_app()http://code.google.com/appengine/docs/python/tools/webapp/utilmodule.html#run_wsgi_app function. Where apps that have migrated to python 2.7 are no longer invoked using this function. So, how (if at all) can AppStats be used in apps running python 2.7? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/UyKpABiWGdQJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: New pricing structure infinity increase
Simple answer: unwanted latency I'm also noticing this problem in one of my apps (see my post https://groups.google.com/forum/?hl=en#!topic/google-appengine/dQQ2y01Mbgs) If the scheduler decides to spin up a new instance, this will add unwanted warmup latency to the current request. If you look at my post and attached screenshot, you'll see that obviousely there's really no need for the scheduler to startup a third instance, while the second resident one is just sitting there and doing nothing. Could someone from Google please look into this issue and explain why this is happening? Thanks! -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/D7AuHCZih9oJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] HRD migration tool now available!
Cool. And that will be OK to use in Python 2.7 (I recall reading something about not using environment variables there)? On Nov 13, 2011, at 2:54 PM, Alfred Fuller wrote: full_app_id = os.getenv('APPLICATION_ID') On Fri, Nov 11, 2011 at 12:24 PM, Joshua Smith joshuaesm...@charter.net wrote: Another question. I have this code in my app, so that when someone comes in with an old key, my code will quietly convert it to the new app-id: from google.appengine.api.app_identity import get_application_id appname = get_application_id() @monkeypatch_method(webapp.Request) def get_db(self, key_attr): k = self.get(key_attr) if not k: return None key = db.Key(k) if key.app() == appname: return db.get(key) logging.info(Fixing up key from old app %s (%s=%s) % ( key.app() , key_attr , k )) fixed_key = db.Key.from_path(*key.to_path()) return db.get(fixed_key) So what's happening is it is fixing up every key, because get_application_id() doesn't have s~ on the front. What should I call to get the app id used in Keys? (The one with the s~ in front?) (BTW: This approach turned out to be a real time-saver for migrating my blobs. I could pass the old version keys from the new HR version, and it fixed them up into its own namespace without my having to even think about it.) -Joshua On Nov 11, 2011, at 1:16 PM, Joshua Smith wrote: OK, so the migration from MS to HR was really fast, and I ran into no problems. Woo hoo! I didn't do the alias step, because I now need to figure out how to move my old blobs into the new app, and I suspect that if I did the alias that would get really, really hard. Right? So instead, I changed the mapping of my www.myapp.com to point to the HR version using google apps domain management. Seems to have worked. Woo hoo again! How do I get my post-migration email budget back up to 2000? App ID of the new app is towngovernment-hr Now to move the blobs... On Nov 10, 2011, at 9:49 AM, Joshua Smith wrote: Guess I know what I'll be doing on my day off tomorrow. In case anyone didn't notice this in the docs: Currently, the HRD Migration Tool does not support copying data from Blobstore. If you use Blobstore, you need to manually copy that data over. Ugh. That's a pretty huge hole in the tool. Perhaps I know what I'll be doing all weekend… -Joshua On Nov 9, 2011, at 4:33 PM, Stacy (Google) wrote: We’ve just released a new self service HRD migration tool. This tool copies all of your data to HRD minimizing read-only times by using a multi-phase approach. Please see the documentation for details on how to use this. This tool is still considered experimental, please report problems you experience here in the forum or to the external issue tracker.We are still working on solutions for users of blobstore. Using HRD makes your app eligible for our SLA, and will lead to much better availability and more consistent performance. We think every app will benefit from the switch to HRD. Stacy -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/RzmZ--blDgIJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options,
Re: [google-appengine] HRD migration tool now available!
I believe it should work. Tou should probably file a feature request to add a function for this purpose to that app_identity api. On Sun, Nov 13, 2011 at 1:13 PM, Joshua Smith joshuaesm...@charter.netwrote: Cool. And that will be OK to use in Python 2.7 (I recall reading something about not using environment variables there)? On Nov 13, 2011, at 2:54 PM, Alfred Fuller wrote: full_app_idhttps://cs.corp.google.com/#google3/apphosting/api/app_identity/app_identity.pyct=xref_usagesgs=py:google3.apphosting.api.app_identity.app_identity.get_application_idfull_app_id:google3/apphosting/api/app_identity/app_identity.pyl=336gsn=full_app_id= oshttp://www.google.com/url?sa=Dq=http%3A%2F%2Fdocs.python.org%2Flibrary%2Fos.html .getenvhttp://www.google.com/url?sa=Dq=http%3A%2F%2Fdocs.python.org%2Flibrary%2Fos.html%23process-parameters ('APPLICATION_ID') On Fri, Nov 11, 2011 at 12:24 PM, Joshua Smith joshuaesm...@charter.netwrote: Another question. I have this code in my app, so that when someone comes in with an old key, my code will quietly convert it to the new app-id: from google.appengine.api.app_identity import get_application_id appname = get_application_id() @monkeypatch_method(webapp.Request) def get_db(self, key_attr): k = self.get(key_attr) if not k: return None key = db.Key(k) if key.app() == appname: return db.get(key) logging.info(Fixing up key from old app %s (%s=%s) % ( key.app() , key_attr , k )) fixed_key = db.Key.from_path(*key.to_path()) return db.get(fixed_key) So what's happening is it is fixing up every key, because get_application_id() doesn't have s~ on the front. *What should I call to get the app id used in Keys?* (The one with the s~ in front?) (BTW: This approach turned out to be a real time-saver for migrating my blobs. I could pass the old version keys from the new HR version, and it fixed them up into its own namespace without my having to even think about it.) -Joshua On Nov 11, 2011, at 1:16 PM, Joshua Smith wrote: OK, so the migration from MS to HR was really fast, and I ran into no problems. Woo hoo! I didn't do the alias step, because I now need to figure out how to move my old blobs into the new app, and I suspect that if I did the alias that would get really, really hard. Right? So instead, I changed the mapping of my www.myapp.com to point to the HR version using google apps domain management. Seems to have worked. Woo hoo again! How do I get my post-migration email budget back up to 2000? App ID of the new app is towngovernment-hr Now to move the blobs... On Nov 10, 2011, at 9:49 AM, Joshua Smith wrote: Guess I know what I'll be doing on my day off tomorrow. In case anyone didn't notice this in the docs: Currently, the HRD Migration Tool does not support copying data from Blobstore. If you use Blobstore, you need to manually copy that data over. Ugh. That's a pretty huge hole in the tool. Perhaps I know what I'll be doing all weekend… -Joshua On Nov 9, 2011, at 4:33 PM, Stacy (Google) wrote: We’ve just released a new self service HRD migration tool. This tool copies all of your data to HRD minimizing read-only times by using a multi-phase approach. Please see the documentationhttp://code.google.com/appengine/docs/adminconsole/applicationsettings.html#Migrate_from_Master/Slave_to_High_Replication_Datastorefor details on how to use this. This tool is still considered experimental, please report problems you experience here in the forum or to the external issue tracker.We are still working on solutions for users of blobstore. Using HRD makes your app eligible for our SLA, and will lead to much better availability and more consistent performance. We think every app will benefit from the switch to HRD. Stacy -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/RzmZ--blDgIJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at
Re: [google-appengine] copying data from appengine datastore admin to my dev server. failed with status 401
I'm seeing the same error between two production apps. (1) Duplicate application (2) Upload code to new application (2) Enable datastore admin on new app (3) Use copy to another app on the original app This results in a 401... Fetch to https://smsmybus-test.appspot.com/_ah/remote_api failed with status 401 -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/ts2XKPovQvMJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: New pricing structure infinity increase
I'd like to point out that startup latency isn't an issue for all apps. Appengine used to aggressively kill idle instances. When I wrote my app almost every request it served was a startup request. As a result, I optimized for startup latency (used python, avoided django, import almost nothing), and my app can serve startup requests in 300ms. As such, I'd rather the scheduler start a new instance than bill me for an idle one. On Nov 13, 12:59 pm, Marcel Manz marcel.m...@gmail.com wrote: Simple answer: unwanted latency I'm also noticing this problem in one of my apps (see my posthttps://groups.google.com/forum/?hl=en#!topic/google-appengine/dQQ2y0...) If the scheduler decides to spin up a new instance, this will add unwanted warmup latency to the current request. If you look at my post and attached screenshot, you'll see that obviousely there's really no need for the scheduler to startup a third instance, while the second resident one is just sitting there and doing nothing. Could someone from Google please look into this issue and explain why this is happening? Thanks! -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] HRD migration tool now available!
Done. Issue 6327 On Nov 13, 2011, at 4:17 PM, Alfred Fuller wrote: I believe it should work. Tou should probably file a feature request to add a function for this purpose to that app_identity api. On Sun, Nov 13, 2011 at 1:13 PM, Joshua Smith joshuaesm...@charter.net wrote: Cool. And that will be OK to use in Python 2.7 (I recall reading something about not using environment variables there)? On Nov 13, 2011, at 2:54 PM, Alfred Fuller wrote: full_app_id = os.getenv('APPLICATION_ID') On Fri, Nov 11, 2011 at 12:24 PM, Joshua Smith joshuaesm...@charter.net wrote: Another question. I have this code in my app, so that when someone comes in with an old key, my code will quietly convert it to the new app-id: from google.appengine.api.app_identity import get_application_id appname = get_application_id() @monkeypatch_method(webapp.Request) def get_db(self, key_attr): k = self.get(key_attr) if not k: return None key = db.Key(k) if key.app() == appname: return db.get(key) logging.info(Fixing up key from old app %s (%s=%s) % ( key.app() , key_attr , k )) fixed_key = db.Key.from_path(*key.to_path()) return db.get(fixed_key) So what's happening is it is fixing up every key, because get_application_id() doesn't have s~ on the front. What should I call to get the app id used in Keys? (The one with the s~ in front?) (BTW: This approach turned out to be a real time-saver for migrating my blobs. I could pass the old version keys from the new HR version, and it fixed them up into its own namespace without my having to even think about it.) -Joshua On Nov 11, 2011, at 1:16 PM, Joshua Smith wrote: OK, so the migration from MS to HR was really fast, and I ran into no problems. Woo hoo! I didn't do the alias step, because I now need to figure out how to move my old blobs into the new app, and I suspect that if I did the alias that would get really, really hard. Right? So instead, I changed the mapping of my www.myapp.com to point to the HR version using google apps domain management. Seems to have worked. Woo hoo again! How do I get my post-migration email budget back up to 2000? App ID of the new app is towngovernment-hr Now to move the blobs... On Nov 10, 2011, at 9:49 AM, Joshua Smith wrote: Guess I know what I'll be doing on my day off tomorrow. In case anyone didn't notice this in the docs: Currently, the HRD Migration Tool does not support copying data from Blobstore. If you use Blobstore, you need to manually copy that data over. Ugh. That's a pretty huge hole in the tool. Perhaps I know what I'll be doing all weekend… -Joshua On Nov 9, 2011, at 4:33 PM, Stacy (Google) wrote: We’ve just released a new self service HRD migration tool. This tool copies all of your data to HRD minimizing read-only times by using a multi-phase approach. Please see the documentation for details on how to use this. This tool is still considered experimental, please report problems you experience here in the forum or to the external issue tracker.We are still working on solutions for users of blobstore. Using HRD makes your app eligible for our SLA, and will lead to much better availability and more consistent performance. We think every app will benefit from the switch to HRD. Stacy -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/RzmZ--blDgIJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. --
[google-appengine] Since Monday, these simple SQL operations translate to expensive DataStore operations, why?
I noticed that a number of simple SQL operations that my application is dependent on generate very high quota usage. Basically, one run of the three operations listed below are enough to use up my daily free quota!! Running appstats, I see a lot of datastore_v3.Next calls for the first two calls. I assume I am doing something very wrong but I am not sure how to fix it. Could anyone please give me some pointers on how to address this? thank you PS. an interesting twist is that the below code worked just fine under the old payment model. - // The table Something below has around 50k rows. No indexes are used. PersistenceManager pm = ... // Select COUNT(*) from Something Query q = pm.newQuery(Something.Class, null); q.setResult(count(this)); q.execute(); // select COUNT(*) from Something where 1234 feild Query q = pm.newQuery(Something.Class, this.field field); q.declareParameters(Long field); q.setResult(count(this)); q.executeWithArray(1234); // select * from Something order total DESC Query q = pm.newQuery(Something.Class, null); q.setOrdering(total DESC); q.execute(); -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: 1.6.0 Prerelease SDKs are out
An error occurs when I prints multibyte strings by logging module on Python SDK 1.6.0. What's wrong? File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/api/datastore_types.py, line 1138, in __new__ return super(Text, cls).__new__(cls, arg, encoding) UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position 0: ordinal not in range(128) -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/Hkqwb_cpmbgJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] routing appspot.com domain to a personal domain
Hello everyone. I have been building an app at http://praisetheyellowball.appspot.com/ and wish to serve it at http://yellow.shankarnarayan.in. I have been successful at linking the app by making the required changes on the CNAME on my DNS server. How do I stop serving the app on the appspot domain and still make it available on the desired domain. notnarayan -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] App Engine multi sign in Error: Server Error
Hi, For my app I'm using OAuth. I simply set the security constraint in web.xml and then use the userService on the server side to get their login credentials It works really well, except I'm running into an issue when a user who is currently logged into multiple google accounts tries to sign in It correctly shows them the Google page to select which account to login with, however no matter what they choose it directs them to /_ah/ conflogin where they get: Error: Server Error The server encountered an error and could not complete your request. If the problem persists, please report your problem and mention this error message and the query that caused it. Has anybody run into this before? Thanks, Nick -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Serving either static or dynamic content depending on query parameters
I'm attempting to make my app support Google's AJAX Crawling initiative, as described at http://code.google.com/web/ajaxcrawling/docs/getting-started.html. My URLs currently look like http://domain/#state; I'll need to change them to http://domain/#!state and additionally serve a non-AJAX version of the content when I get a request like http://domain/?_escaped_fragment_=state. My app has a static handler for /: - url: / static_files: static/index.html upload: static/index.html Ideally, I'd continue to use this handler for regular requests while using a separate script handler to generate non-AJAX pages for ?_escaped_fragment_ requests. There doesn't seem to be any way to take a request's query parameters into account within app.yaml, though. As such, the only option I can think of is to instead send all requests for / to a script that either reads and sends the index.html file or generates the non-AJAX version of the page. Is this correct? I'm a bit concerned about reduced efficiency from doing this (and also not excited about needing to implement things like 304s). -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/KQeJ3HNnDfIJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: No module named apps.service
Could you explain in detail how to do it? And what command to import gdata modules?Have the same problem. I installed gdata lib, but appengine SDK can not import its modules. I think in production will be the same. I did by this manual http://code.google.com/intl/ru-RU/apis/gdata/articles/python_client_lib.html On 30 сен, 12:53, Tim Hoffman zutes...@gmail.com wrote: You haven't deployed the gdata library. It needs to be installed and deployed within your project as it is not part of appengine. 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-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] How do you check your current load?
You used to be able to check your current load in your app's control panel -- it seems to be gone now, or I have gone completely blind. I'm rapidly approaching my Frontend Instance Hours quota, and I'd like to know exactly what's the biggest strain on the system. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/pyGk16OIfsYJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Deactivating Google App engine
Hello Everyone I have recently added google apps on my domain http://shankarnarayan.in. As part of the apps, i noticed that I could have all my google app engine apps on the same domain. All my current apps are registered on another email id and I wish to deactivate google app engine on that email id. Is this possible? While registering a new app on my domain, I noticed that before the creation of an app google asks for a mobile number. As a user who has had only a single number, I am tempted to get another one, just so I could host apps on my domain. Is it possible to deactivate all google engine services on my email id and activate GAE on my domain afresh ? using the same mobile number ofcourse ? Shankar -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Server Error (500) message when deploying
After months of successfully deploying my app, I recently began getting Server Error (500) messages when trying to deploy. I haven't changed anything substantive about the content or process of my deployments since the most recently working deployments. The related log file shows the following: === (Log begin) Unable to update: java.io.IOException: Error posting to URL: https://appengine.google.com/api/datastore/index/add?app_id=myappversion=99; 500 Internal Server Error Server Error (500) A server error has occurred. at com.google.appengine.tools.admin.AbstractServerConnection.send1(AbstractServerConnection.java: 277) at com.google.appengine.tools.admin.AbstractServerConnection.send(AbstractServerConnection.java: 238) at com.google.appengine.tools.admin.AbstractServerConnection.post(AbstractServerConnection.java: 213) at com.google.appengine.tools.admin.AppVersionUpload.send(AppVersionUpload.java: 610) at com.google.appengine.tools.admin.AppVersionUpload.updateIndexes(AppVersionUpload.java: 299) at com.google.appengine.tools.admin.AppVersionUpload.doUpload(AppVersionUpload.java: 143) at com.google.appengine.tools.admin.AppAdminImpl.doUpdate(AppAdminImpl.java: 313) at com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java: 52) at com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.deploy(AppEngineBridgeImpl.java: 401) at com.google.appengine.eclipse.core.deploy.DeployProjectJob.runInWorkspace(DeployProjectJob.java: 149) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java: 38) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) === (Log end) The most recent downtime noted at google's appengine downtime notice page was back in September. From various online reports, there are various different kinds of unrelated errors that have manifested as this generic Server Error (500) message. I have investigated everything that seems remotely plausible, specifically: ** One person got a similar error when deploying files exceeding google's single10M/collective150M file limit size. During deployment, the std out mentions a staging directory (in /tmp); I looked through the staging directory, and the total size of that directory is less than 3M, which would seem to put me in the clear on that front... though I can't cite any documentation that states that that directory holds all files being deployed. ** Another post I saw said that putting a disallowed character in the deployment version (e.g. 4.0.0, dots are not allowed) created the 500 error. I verified that my version does not include any disallowed characters. I tried to look at the data usage size of previous deployments of my app, but clicking any of Datastore Indexes, Datastore Viewer, or Datastore Statistic results in a page titled Server Error (500). Deleting the existing deployment doesn't make the next deployment work. Deploying to a new version doesn't make things work. I've searched this group, and found no recent mention of 500. How can I proceed? Many thanks, L -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Why are so many application identifiers unavailable?
I'm getting frustrated by this too. I've come up with a great (in my opinion) name but when I try to register (for example, not really the ID I want) *xyz*.appspot.com it tells me *Sorry, xyz is not available.* * * But even more frustrating is that visiting http://xyz.appspot.com results in a *404 Not Found* (actually, xyz.appspot.com is a *Hello World* app, bad example, but you get the point). So I assume someone is either squatting the name I want or it's an application that was deleted and now the ID is stuck in purgatory! It would be nice if Google could clean-up and make those deleted ID's available again. And sweep out some of the squatters (mea culpa, but I don't think anyone wants the random string I tested with originally). -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/MxIXpZRF-SoJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Feedback on the new pricing
Hi! - Old price: Only $15/month GAE has been update new price! - :| my app must pay $24/day = $720/month OMG!!! too expensive... Google is right or wrong... -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Channel API JS partially broken
On Wednesday, November 09, 2011 16:28:29 Andrin von Rechenberg wrote: Hey there /_ah/channel/jsapi returns an empty file for 0.3% of clients We heavily use the Channel API javascript library (we do more than 1'000'000 calls a day). About every 300th session the file returned by /_ah/channel/jsapi is completely blank and therefore new goog.appengine.Channel(id); fails, because goog is not defined. We see this more often happening on Android Devices than desktop computers. The most annoying thing however is, that this blank js file is then cached on the client side for a very long time and reloading the page doesnt help to fix the js error. You need to clear your cache to fix it. We have seen this issue consistently for a couple of weeks now and were able to measure it continuously. I have filed a production bug here: http://code.google.com/p/googleappengine/issues/detail?id=6294 Please star it if you use the Channel API. I have been hunting down this issue as well. We often get it on iOS as well as Android. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] http 302 response for application requests issue from 07/11/2011
I hosted my application on google app engine now all application requests are getting http 302 reply application admin control panel, instances tab, doesn't show my application. want an immediate reply, thanks -- It's all about attitude and moral, trust yourself and always be confident !!! W. Chinthaka Senanayaka, Undergraduate, B. Sc. in Management Information Technology (MIT), Faculty of Science, University of Kelaniya, Sri Lanka. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Google shows 'Title' in Google but uses proxyseekkety.appspot.com url
Dear Google, We have a problem with 2 of our sites in Google. Gokkasten.nl and Videoslots.nl are displayd with our 'Title' in google but the urls are wrong. Our customers will think our site does not work. -- Using the search word 'gokkasten' --- Gokkasten.nl - Speel de nieuwste gratis gokkasten online. ercil.proxyseekkety.appspot.com/www.gokkasten.nl Gokkasten.nl - Met alle bekende nieuwe gokkasten, fruitautomaten en videoslots. Een progressief jackpot netwerk, een online casino overzicht en Bingi Bingo. Using the words 'video slots' Videoslots.nl - Speel de nieuwste gratis videoslots online. ercil.proxyseekkety.appspot.com/www.videoslots.nl Videoslots.nl - Met alle bekende videoslots uit het casino. Gokkasten, fruitautomaten en Live casino. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: New pricing structure infinity increase
Mark, in your dashboard, Charts section (top-center of the page), select Instances from the drop down box. You should then be seeing Total, Active, Billed instances. If you tuned your num of instances down to one, that chart in fact will tell you something like running: 2, billed: 1 at the times when you notice two instances running. Meaning, you'll be paying for just one instance, not two. alex. On Nov 13, 8:10 pm, Mark Ivey zov...@gmail.com wrote: On Nov 13, 7:52 am, Kate mss.ka...@gmail.com wrote: I cannot work out how to set my instances and latency settings but I need to do something. Until 3 days ago my site cost nothing. Then 0,42 0.33 0.37 0.86 4.80 How can this be? I had not altered any settings and I had not uploaded any new pages. Certainly I cannot be paying $35 per week for a small site that has only 1600 requests per day. Can anyone tell me what values I should have, min and max for the lyle instances and pending latency sliders? I'm having problems with this too. Like you, I have a low traffic site, but even with the sliders set all the way to the extremes (idle instances = 1, pending latency=15s) app engine is running two instances of my app at times. Considering the low amount of traffic I'm getting, this seems odd. Here's an example: Total number of instances Average QPS* Average Latency* Average Memory 2 total 0.008 79.0 ms 19.6 MBytes Instances QPS* Latency* Requests Errors Age Memory Availability 0.017 79.0 ms 23 0 0:06:58 26.9 MBytes Dynamic 0.000 0.0 ms 1 0 0:01:37 12.3 MBytes Dynamic At such low QPS latency, I'd be perfectly fine having just a single instance and introducing a bit of latency. I think having two instances here is unnecessary, but I can't figure out how to stop it. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Masses of Deadline exceptions on imports
I have been having the same problem for at least a couple of days. I get more than 80% of DeadlineExceededError for all my pages (even when I'm trying to access appstats). My website is basically unreachable. On Nov 9, 11:15 pm, Rishi Arora rishi.ar...@ship-rack.com wrote: Yes, I sent an email with similar observations too. Although not as high as 50%... in my case its probably less than 0.5%, but alarming nevertheless, because each request that fails uses up around 60-80 seconds of instance time, which hurts our costs considerably. On Wed, Nov 9, 2011 at 3:55 PM, Jan Zawadzki / Hapara jan.zawad...@hapara.com wrote: Hi - we're experiencing 50% of requests failing with deadline errors, across a range of apps. It's effectively a service outage as far as we're concerned Would be great to get some confirmation from Google that this is being investigated? Jan -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] 1.6.0. Python2.7 How to import lxml in App engine SDK ?
I did not find info in the documentation -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/8NI4pERj9D0J. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Custom Administration Console pages with admin login requirement result in redirect loops
I'm also experiencing this problem. Did you find a solution? Thanks, Jamie On Sep 18, 5:20 am, Pol p...@everpix.net wrote: Hi, I've added customadminpages but when I try to follow the links added to the left pane of the Administration Console, it results inredirect loops. Looking at the generated HTML, the iframe with the customadmin page points to https://1755-dot-latest-dot-everpix-alpha.appspot.com/admin/garbage_collect_backings;. Going directly to this page (wether already logged in as anadminor not) works fine, it's only from within the Administration Console that it doesn't work. Here's the firstredirect: Request URL:https://1755-dot-latest-dot-everpix-alpha.appspot.com/admin/garbage_collect_backings Request Method:GET Status Code:302 Found Response Headersview source content-length:0 content-type:text/html date:Sun, 18 Sep 2011 13:12:30 GMT location:https://www.google.com/a/everpix.net/ServiceLogin? service=ahpassive=truecontinue=https://appengine.google.com/_ah/ conflogin%3Fcontinue%3Dhttps://1755-dot-latest-dot-everpix- alpha.appspot.com/admin/ garbage_collect_backingsltmpl=gashdf=ChkLEgZhaG5hbWUaDUV2ZXJwaXggQWxwaGEM EgJhaCIUs8mSvSwhTsHxTKlcPf-1VgYU- f4oATIU8IshzygSsQah4xFNA5qqA98EfBY server:Google Frontend status:302 Found version:HTTP/1.1 And the second one: Request URL:https://www.google.com/a/everpix.net/ServiceLogin? service=ahpassive=truecontinue=https://appengine.google.com/_ah/ conflogin%3Fcontinue%3Dhttps://1755-dot-latest-dot-everpix- alpha.appspot.com/admin/ garbage_collect_backingsltmpl=gashdf=ChkLEgZhaG5hbWUaDUV2ZXJwaXggQWxwaGEM EgJhaCIUs8mSvSwhTsHxTKlcPf-1VgYU- f4oATIU8IshzygSsQah4xFNA5qqA98EfBY Request Method:GET Status Code:302 Moved Temporarily Response Headersview source cache-control:private, max-age=0 content-encoding:gzip content-length:422 content-type:text/html; charset=UTF-8 date:Sun, 18 Sep 2011 13:12:31 GMT expires:Sun, 18 Sep 2011 13:12:31 GMT location:https://www.google.com/accounts/ServiceLogin?continue=https%3A %2F%2Fappengine.google.com%2F_ah%2Fconflogin%3Fcontinue%3Dhttps%3A%2F %2F1755-dot-latest-dot-everpix-alpha.appspot.com%2Fadmin %2Fgarbage_collect_backingsshdf=ChkLEgZhaG5hbWUaDUV2ZXJwaXggQWxwaGEMEgJhaC IUs8mSvSwhTsHxTKlcPf-1VgYU- f4oATIU8IshzygSsQah4xFNA5qqA98EfBYservice=ahltmpl=gapassive=trueauthuse r=0 server:GSE status:302 Moved Temporarily version:HTTP/1.1 x-content-type-options:nosniff x-xss-protection:1; mode=block - app.yaml - builtins: - remote_api: on - appstats: on inbound_services: - xmpp_message - warmup admin_console: pages: - name: Flush Memcache url: /admin/flush_memcache - name: Reprocess Backings url: /admin/reprocess_backings - name: Reprocess Photos url: /admin/reprocess_photos - name: GC Backings url: /admin/garbage_collect_backings handlers: - url: /favicon\.ico static_files: static/favicon.ico upload: static/favicon\.ico - url: /mapreduce(/.*)? script: mapreduce/main.py login:admin - url: /ereporter.* script: $PYTHON_LIB/google/appengine/ext/ereporter/ report_generator.py login:admin - url: /stats.* script: $PYTHON_LIB/google/appengine/ext/appstats/ui.py - url: /_ah/xmpp/.* script: xmpp_handlers.py login:admin secure: never - url: /cron/.* script: cron_handlers.py login:admin secure: never - url: /task/.* script: task_handlers.py login:admin secure: never - url: /api/.* script: api_handlers.py secure: always - url: /admin/.* script:admin.py login:admin secure: always - url: / script: main.py secure: never - url: /register script: main.py secure: never - Pol -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] I cannot delete indexes with appcfg.py vacuum_indexes
Hi, I've tried to reset indexes with appcfg.py vacuum_indexes but it fails every time with following warning. WARNING appcfg.py:970 4 indexes were not deleted. Most likely this is because they no longer exist. These 4 indexes are all in Building status. And also, 3 indexes in Error status are still listed in administration page even though I've deleted that with command. How can I solve this? Does anyone know about this? my appid is 'rnapaccoupon' Regards, Masashi -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] getaddrinfo failed using urlfetch and python 2.7 (dev server)
I'm trying to migrate my app to python 2.7 but when I do a urlfetch.fetch to facebook for some data, it throws the following exception: File C:\workspace\DjangoServer\src\mycode.py, line 167, in request urlfetch.fetch(url=https://graph.facebook.com/me? access_token=zfields=id%2Cemail) File C:\Program Files (x86)\Google\google_appengine\google\appengine \api\urlfetch.py, line 263, in fetch return rpc.get_result() File C:\Program Files (x86)\Google\google_appengine\google\appengine \api\apiproxy_stub_map.py, line 592, in get_result return self.__get_result_hook(self) File C:\Program Files (x86)\Google\google_appengine\google\appengine \api\urlfetch.py, line 365, in _get_fetch_result raise DownloadError(str(err)) DownloadError: ApplicationError: 2 [Errno 11003] getaddrinfo failed The url in question looks like this: https://graph.facebook.com/me?access_token=zfields=id,email , and works fine in the browser, but fails from the dev server. The code I'm calling is dead simple: file = urlfetch.fetch(url=https://graph.facebook.com/me? access_token=zfields=id%2Cemail) and it worked fine in python 2.5. The only suggestion I found when googling it was to turn off my fire wall, which didn't help, and some stuff about proxies, which I'm not behind one. Any ideas? Thanks -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Getting error : no source info: public interface javax.persistence.EntityManagerFactory
Please find the log which I get when I compile my project. Please help me with the possible error cause. Compiling module com.ballyhoo.HealthConnect Validating newly compiled units Ignored 2 units with compilation errors in first pass. Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors. [ERROR] An internal compiler exception occurred com.google.gwt.dev.jjs.InternalCompilerException: Failed to get JNode at com.google.gwt.dev.jjs.impl.TypeMap.get(TypeMap.java:140) at com.google.gwt.dev.jjs.impl.TypeMap.get(TypeMap.java:71) at com.google.gwt.dev.jjs.impl.BuildTypeMap.getType(BuildTypeMap.java: 730) at com.google.gwt.dev.jjs.impl.BuildTypeMap.createField(BuildTypeMap.java: 570) at com.google.gwt.dev.jjs.impl.BuildTypeMap.access $300(BuildTypeMap.java:99) at com.google.gwt.dev.jjs.impl.BuildTypeMap $BuildDeclMapVisitor.visit(BuildTypeMap.java:180) at org.eclipse.jdt.internal.compiler.ast.FieldDeclaration.traverse(FieldDeclaration.java: 285) at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.traverse(TypeDeclaration.java: 1230) at org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.traverse(CompilationUnitDeclaration.java: 687) at com.google.gwt.dev.jjs.impl.BuildTypeMap.createPeersForNonTypeDecls(BuildTypeMap.java: 637) at com.google.gwt.dev.jjs.impl.BuildTypeMap.exec(BuildTypeMap.java: 514) at com.google.gwt.dev.jjs.impl.BuildTypeMap.exec(BuildTypeMap.java: 523) at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java: 599) at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java: 33) at com.google.gwt.dev.Precompile.precompile(Precompile.java:284) at com.google.gwt.dev.Precompile.precompile(Precompile.java:233) at com.google.gwt.dev.Precompile.precompile(Precompile.java:145) at com.google.gwt.dev.Compiler.run(Compiler.java:232) at com.google.gwt.dev.Compiler.run(Compiler.java:198) at com.google.gwt.dev.Compiler$1.run(Compiler.java:170) at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java: 88) at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java: 82) at com.google.gwt.dev.Compiler.main(Compiler.java:177) [ERROR] no source info: public interface javax.persistence.EntityManagerFactory extends java.lang.Object /* methods */ [unresolved] public abstract void close() public abstract javax.persistence.EntityManager createEntityManager() [unresolved] public abstract javax.persistence.EntityManager createEntityManager(Unresolved type java.util.Map) [unresolved] public abstract boolean isOpen() org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding [ERROR] at EMF.java(8): private static final EntityManagerFactory emfInstance = Persistence.createEntityManagerFactory(transactions-optional); org.eclipse.jdt.internal.compiler.ast.FieldDeclaration Thanks a lot Prabodh Prakash -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: How quick is delivering a message through Channels API
My initial tests on Channels showed that a small latency exists, but it's only when establishing the connection. For instance, in the _ah/connected handler, if you send a message as soon as the connection opens, that message will be received with a latency of around 1 second. However, next messages are a lot quicker to be transmitted. On Friday, November 11, 2011 15:09:56 Andrius A wrote: Thank you Max On 11 November 2011 17:40, Max thebb...@gmail.com wrote: According to this talk, the latency should be no worse than pulling at any frequency rate http://www.google.com/events/io/2010/sessions/building-real-time-apps-app -engine-feed-api.html In practice, we use channel API in project Yaac ( http://code.google.com/p/yaac/) to push back query results piece by piece and it works quite good, the latency is just neglectable -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/q_yE5v7SAjgJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] HTTP request timeout to GAE
I have large static file (8MB zip file) hosted in GAE. When I make a HTTP request from a mobile handset to download this static file, some times I get timeouts. There are times when the mobile loses network connectivity momentarily and reestablishes. I am able to continue with the download even after momentary network connectivity issues but then there are times the download completely fails. How long GAE would keep the socket open before terminating the session in such cases? Does GAE closes the connection after certain time of inactivity? If I serve the same static file via a Python program hosted in GAE, what would be the exception message be in this case? Thanks. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] It seems an error occurred when vacuuming indexes and vacuuming further indexes right after.
Hi, I just have a question about vacuuming indexes. So I start to vacuum a set of indexes for say User and then they are flagged as deleting. If I was to run another vacuum for say Game while the User indexes are still deleting, is it possible that I could confuse the workers and the indexes end up in error state? I ask this because it was either a pure coincidence, a quoter could have been reached over night, or it could be the fact that you can't vacuum again while other indexes are deleting. I suppose what I'm really asking is: What goes on under the hood when indexes are being deleted... Does running another vacuum then deleting further indexes interrupt ones that are being focused on by the workers first? Thank you in advance for any help or suggestions, Mark -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/_F1p76OsmYAJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Since Monday, these simple SQL operations translate to expensive DataStore operations, why?
I noticed that a number of simple SQL operations that my application is dependent on generate very high quota usage. Basically, one run of the three operations listed below are enough to use up my daily free quota!! I assume I am doing something very wrong but I am not sure how to fix it. Could anyone please give me thank you PS. an interesting twist is that the below code worked just fine under the old payment model. - // The table Something below has around 50k rows. No indexes are used. PersistenceManager pm = ... // Select COUNT(*) from Something Query q = pm.newQuery(Something.Class, null); q.setResult(count(this)); q.execute(); // select COUNT(*) from Something where 1234 feild Query q = pm.newQuery(Something.Class, this.field field); q.declareParameters(Long field); q.setResult(count(this)); q.executeWithArray(1234); // select * from Something order total DESC Query q = pm.newQuery(Something.Class, null); q.setOrdering(total DESC); q.execute(); -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] 500 Server error
I am getting server error when deploying to Google app engine through eclipse indigo. how to solve this error -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/MnKQg03VyyUJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] creating incrementing datastore entity and multi-threaded testing of it
I need to create a entity that can be locked which stores an incrementor given to another business logic object a unique id. I am using vanilla GAE so I don't have JPA or JDO and need to implement this with standard GAE DatastoreService logic. Here is my first attempt at the logic public static final String PHOTO_COLLECTION_UNIQUE_ID_GENERATOR_NAME = photoCollection; private static final Key key = KeyFactory.createKey(UniqueIdGenerator.class.getName(), PHOTO_COLLECTION_UNIQUE_ID_GENERATOR_NAME); private static final String NEXT_ID_PROPERTY_KEY = nextId; public long fetchNextPhotoCollectionId(){ long nextId; Entity collectionUniqueIdGenerator = null; Transaction txn = _datastore.beginTransaction(); try { try { collectionUniqueIdGenerator = _datastore.get(key); } catch (EntityNotFoundException e) { collectionUniqueIdGenerator = new Entity(key); collectionUniqueIdGenerator.setProperty(NEXT_ID_PROPERTY_KEY, 1L); _datastore.put(collectionUniqueIdGenerator); } nextId = (Long)collectionUniqueIdGenerator.getProperty(NEXT_ID_PROPERTY_KEY); collectionUniqueIdGenerator.setProperty(NEXT_ID_PROPERTY_KEY, nextId + 1L); _datastore.put(collectionUniqueIdGenerator); } finally { if (txn.isActive()) { txn.commit(); } } return nextId; } The method is done withing a transaction and bootstraps the entity if it does not yet exist. If it does the current value is returned and the incremented value is stored for the next request. When I try and test via java Executor's service I get the error No API environment is registered for this thread. Here is my junit code, the problem is when the testfetchNextPhotoCollectionIdLockingTest method. Oh I'm using Guice and passing the DatastoreService in as a constructor parameter instead of using the factory in the class, but I had the same error when using the normal factory pattern. I'd like to test the way of creating unique ids before relying on it. But, if there is another preferred way to create them I'd like to hear about it. public class TestPhotoDAOTest { private final LocalServiceTestHelper helper = new LocalServiceTestHelper(new LocalDatastoreServiceTestConfig()); @Before public void setUp() { helper.setUp(); } @After public void tearDown() { helper.tearDown(); } /** * Testing when no previous PhotoCollection UniqueIDGenerator existed */ @Test public void testfetchNextPhotoCollectionIdBootStrapTest(){ DatastoreService datastore = DatastoreServiceFactory.getDatastoreService(); PhotoDAO testClass = new PhotoDAO(datastore); final long nextId = testClass.fetchNextPhotoCollectionId(); Assert.assertEquals(1L, nextId); } /** * Testing that the second number generated is two */ @Test public void testfetchNextPhotoCollectionIdPreviouslyCreatedTest(){ DatastoreService datastore = DatastoreServiceFactory.getDatastoreService(); PhotoDAO testClass = new PhotoDAO(datastore); testClass.fetchNextPhotoCollectionId(); final long nextId = testClass.fetchNextPhotoCollectionId(); Assert.assertEquals(2L, nextId); } /** * Testing a random number of iteration */ @Test public void testfetchNextPhotoCollectionIdRandomIterationTest(){ DatastoreService datastore = DatastoreServiceFactory.getDatastoreService(); PhotoDAO testClass = new PhotoDAO(datastore); final long randomNumber = (long) (1000L * Math.random()); for( long i = 0; i randomNumber; i++){ testClass.fetchNextPhotoCollectionId(); } final long nextId = testClass.fetchNextPhotoCollectionId(); Assert.assertEquals(randomNumber + 1, nextId); } @Test //This test is having problems see stack below public void testfetchNextPhotoCollectionIdLockingTest() throws Exception{ DatastoreService datastore = DatastoreServiceFactory.getDatastoreService(); final PhotoDAO instance = new PhotoDAO(datastore); ExecutorService executor = Executors.newFixedThreadPool(1); final long longIterationTarget = 1L; FutureTaskLong future = new
[google-appengine] Channel limit
Do Channel have any limit for send data? I use channel to push email to webclient. If I push 100 emails simultaneously - client stop receive any messages. I send every message as one channel message. Than I try send about 50 last emails than push email when I receive it. After some time channel disconnect and stop receive messages. Some days ago i push only headers: from, to, subject and ID, without text. And channel work perfectly many hours without disconnect. -- Blog: www.rekby.ru -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] hi this is my first post
Dear Members, a big Hello to all of you. Its a pleasure and an honour to be able to code and post on this group. Actually I have created a small project and I am pretty excited about it, but I am not able to see the latest changes that I have made in my code i.e. the deployed project doesnt seem to be refreshing which is a bit of a heartbreaker. Otherwise you guys rock. And many thanks for allowing people like me to work on this Great App Enjine Please do resolve my query With Regards, Prashant -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] I'd like to develop for Google App Business and I have just one question :)
Hello, I'm reading the docs to develop for Google App, and I have just one question. Can I store my app in my own server or I store in Google server?! All the best! Alexandre -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/ZxAL0Put3VMJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] http 302 issue
Every user incoming requests, My application gets HTTP 302. And My application cannot send responses to those requests. Therefore I want to the cause of that issue and solution for that. And My application now running at free Google App Engine space, does HTTP 302 issue come from that, because my application is now running at almost near to the free quota limitations? need help, hope it would be immediate 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-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Channel limit
Timofey, Check your 'Quota Details' page in the admin console to see whether you have hit any of your Channel quotas. Also, note that channel tokens expire after about two hours, at which time the client can request a new token. This page: http://code.google.com/appengine/docs/python/channel/overview.htmldescribes how you can track disconnection events. -Amy On Mon, Nov 14, 2011 at 7:27 AM, Timofey Koolin timo...@koolin.ru wrote: Do Channel have any limit for send data? I use channel to push email to webclient. If I push 100 emails simultaneously - client stop receive any messages. I send every message as one channel message. Than I try send about 50 last emails than push email when I receive it. After some time channel disconnect and stop receive messages. Some days ago i push only headers: from, to, subject and ID, without text. And channel work perfectly many hours without disconnect. -- Blog: www.rekby.ru -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: Why are so many application identifiers unavailable?
I believe the app ids are in a global namespace with google accounts. Jeff On Wed, Nov 9, 2011 at 4:15 PM, schultzter e...@schultzter.ca wrote: I'm getting frustrated by this too. I've come up with a great (in my opinion) name but when I try to register (for example, not really the ID I want) *xyz*.appspot.com it tells me *Sorry, xyz is not available.* * * But even more frustrating is that visiting http://xyz.appspot.com results in a *404 Not Found* (actually, xyz.appspot.com is a *Hello World* app, bad example, but you get the point). So I assume someone is either squatting the name I want or it's an application that was deleted and now the ID is stuck in purgatory! It would be nice if Google could clean-up and make those deleted ID's available again. And sweep out some of the squatters (mea culpa, but I don't think anyone wants the random string I tested with originally). -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/MxIXpZRF-SoJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
RE: [google-appengine] Re: Why are so many application identifiers unavailable?
Users Shouldn't be hitting YourName.Appspot.com and a well written, well SEO'd app would only return a about this app or Contact this App Owner page when you hit the AppSpot domain so as to avoid duplicate content. The AppID is really only for people deploying your App. From: google-appengine@googlegroups.com [mailto:google-appengine@googlegroups.com] On Behalf Of Jeff Schnitzer Sent: Sunday, November 13, 2011 3:00 PM To: google-appengine@googlegroups.com Subject: Re: [google-appengine] Re: Why are so many application identifiers unavailable? I believe the app ids are in a global namespace with google accounts. Jeff On Wed, Nov 9, 2011 at 4:15 PM, schultzter e...@schultzter.ca wrote: I'm getting frustrated by this too. I've come up with a great (in my opinion) name but when I try to register (for example, not really the ID I want) xyz.appspot.com it tells me Sorry, xyz is not available. But even more frustrating is that visiting http://xyz.appspot.com results in a 404 Not Found (actually, xyz.appspot.com is a Hello World app, bad example, but you get the point). So I assume someone is either squatting the name I want or it's an application that was deleted and now the ID is stuck in purgatory! It would be nice if Google could clean-up and make those deleted ID's available again. And sweep out some of the squatters (mea culpa, but I don't think anyone wants the random string I tested with originally). -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/MxIXpZRF-SoJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com mailto:google-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] GAE admin panel is really slow!
Hi, for the last 2 days GAE admin panel is realy slow. To load backends and task queue admin pages takes on average 30sec. Andrius -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Default page ... 404 error redirecting and I want the 404 response
I recently deleted a page from my site as it was getting too many inappropriate hits. I also deleted al links to it but still there are many attempted hits coming. When the page is requested the request is redirected to the homepage. I do not want this and cannot remember how I set it up. Anyone have any ideas as to how I can force anyone requesting this non existent page to get a 404. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] hi this is my first post
If you change your app version when deploying don't forget to change it as well in GAE admin panel versions page. On 13 November 2011 10:52, prashant3jan prashant3...@gmail.com wrote: Dear Members, a big Hello to all of you. Its a pleasure and an honour to be able to code and post on this group. Actually I have created a small project and I am pretty excited about it, but I am not able to see the latest changes that I have made in my code i.e. the deployed project doesnt seem to be refreshing which is a bit of a heartbreaker. Otherwise you guys rock. And many thanks for allowing people like me to work on this Great App Enjine Please do resolve my query With Regards, Prashant -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: New pricing structure infinity increase
I AM getting charged for instances! -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/2ZHYpc8KRU8J. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Default page ... 404 error redirecting and I want the 404 response
I worked it out Using a handler class addURLHandler(webapp.RequestHandler): def get(self): path = self.request.path if doRender(self,path): return self.response.out.write(htmlheadmeta http-equiv=\refresh\ content=\0;url=%s\/headbody/body/html % ('redirectURL',)) -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/XaSyNSSgcBUJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: [appengine-python] Re: 1.6.0 Prerelease SDKs are out
On Thu, Nov 10, 2011 at 15:54, Greg Coladonato gcola...@gmail.com wrote: I have a nagging fear that this is a stupid question, but after reading release notes and FAQs I still haven't found an answer. I just installed Python 2.7 on a new laptop. When I try to install the new Python SDK, I get a warning that I need Python 2.5 installed in order to run the SDK. Is that expected behavior? I ignored the warning and pressed on. Then, when I try to run the SDK, I get a python not found type of error. I had assumed that 'support for Python 2.7' meant that Python 2.5 was no longer needed by the SDK, is this a valid assumption? Sorry, no, that's not what we meant when we announced Python 2.7 support. We meant that we now support both the Python 2.5 and Python 2.7 runtimes. The default remains 2.5; in order to use the 2.7 support you must put runtime: python27 in your app.yaml file; and you still have to arrange to run the dev_appserver using Python 2.7, e.g. by using python2.7 path-to-sdk/dev_appserver.py. Separately, it sounds like you installed Python 2.7 in such a way that it is not found as python on the default path. --Guido Thanks everyone, Greg -- You received this message because you are subscribed to the Google Groups google-appengine-python group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-python/-/2L8Vax_QRgYJ. To post to this group, send email to google-appengine-pyt...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-python+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-python?hl=en. -- --Guido van Rossum (python.org/~guido) -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] KeyProperty and repeated=True
Hi, I'm working with the new datastore plus API, and I'm getting a stack trace when I create a model with a repeated KeyProperty. Is this expected? The error the trace ends with is: TypeError: argument of type 'MetaModel' is not iterable I'm specifying the property like: class MyModel(model.Model): bars = model.KeyProperty(Bar, repeated=True) -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/s0oOOqCwEzsJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: routing appspot.com domain to a personal domain
I don't know if that is possible, but why would you want to do that? It doesn't matter does it? Oliver On Nov 8, 8:24 pm, notnarayan notnara...@gmail.com wrote: Hello everyone. I have been building an app athttp://praisetheyellowball.appspot.com/ and wish to serve it athttp://yellow.shankarnarayan.in. I have been successful at linking the app by making the required changes on the CNAME on my DNS server. How do I stop serving the app on the appspot domain and still make it available on the desired domain. notnarayan -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Datastore Stored Data Quota Report Wrong
Datastore statistics are refreshed automatically at least once a day Do you mean you want to copy all data to new namespace just to unindex it? You don't have to do that, in python you just need to set indexed = false. eg age = db.IntegerProperty(indexed=False) then use mapper api to retrieve all data and save again -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/ojwxxNeHdw8J. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Channel limit
hi Rekby, I am pretty sure your 100 emails just exceed channel API 32K max message size. Check message size before you send Max -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/I_rB81Ns8lsJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] GAE admin panel is really slow!
For me too. Show logs very slow. Open log record may take more 10 seconds. 2011/11/14 Andrius A andriu...@gmail.com Hi, for the last 2 days GAE admin panel is realy slow. To load backends and task queue admin pages takes on average 30sec. Andrius -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Blog: www.rekby.ru -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] routing appspot.com domain to a personal domain
You can check for the host name (within your request handler) and redirect it to your preferred domain. Raj On Wed, Nov 9, 2011 at 12:54 AM, notnarayan notnara...@gmail.com wrote: Hello everyone. I have been building an app at http://praisetheyellowball.appspot.com/ and wish to serve it at http://yellow.shankarnarayan.in. I have been successful at linking the app by making the required changes on the CNAME on my DNS server. How do I stop serving the app on the appspot domain and still make it available on the desired domain. notnarayan -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- ~~ Build online database applications, over Google App Engine. iFreeTools Creator - http://creator.ifreetools.com -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: Channel limit
Amy Unruh, i far from any quota deny - all quotas are ok. Yes, I know about handle channel disconnect, but I write application for internal-use with good internet-connection and i don't want handle connect/disconnect and make internal buffer for messages (when channel disconnected) if it possible. I'm send every email as different message. Yes, I forget about one message size limit - thanks, I try check it. 2011/11/14 Max thebb...@gmail.com hi Rekby, I am pretty sure your 100 emails just exceed channel API 32K max message size. Check message size before you send Max -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/I_rB81Ns8lsJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Blog: www.rekby.ru -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: New pricing structure infinity increase
Hi Kate, check out the article that we wrote about optimizing your app to minimize costs: http://code.google.com/appengine/articles/managing-resources.html Without looking at your app its hard to know what the right settings should be although you are only charged for the number of idle instances up to the max you set as you Max Idle Instances. Max Idle Instances also controls how quickly the scheduler tears instances down for you though, so it you set it to 1, it means that the scheduler will aggressively take down any additional instances which could impact your performance. Greg On Sun, Nov 13, 2011 at 3:42 PM, Kate mss.ka...@gmail.com wrote: I AM getting charged for instances! -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/2ZHYpc8KRU8J. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] AssertionErrors from URLFetch RPCs
I am continunously getting the following error for a segment of code that has been working fine until just now: ... result = rpc.get_result() File /base/python27_runtime/python27_lib/versions/1/google/ appengine/api/apiproxy_stub_map.py, line 589, in get_result self.check_success() File /base/python27_runtime/python27_lib/versions/1/google/ appengine/api/apiproxy_stub_map.py, line 556, in check_success self.wait() File /base/python27_runtime/python27_lib/versions/1/google/ appengine/api/apiproxy_stub_map.py, line 530, in wait assert self.__rpc.state != apiproxy_rpc.RPC.IDLE, repr(self.state) AssertionError: 0 Is this an issue I can resolve or an AppEngine thing? My code runs in a backend with python27 (threadsafe: false) Thanks, Prateek -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: Channel limit
My code look like: updates = get_updates(...) channel = get_channel(...) for update in updates: id = memcache.incr('mess id', initial_value=1) update['mess_id'] = id js = json.dumps(update) channel.send_message(channel, js) I have about 50 updates. After receive about 20-30 messages client side code receive one message infinite times and don't receive new messages. For example: receive 1 receive 2 receive ... receive 21 pause 20-60 sec receive 21 pause 20-60 sec receive 21 pause 20-60 sec receive 21 pause 20-60 sec receive 21 pause 20-60 sec ... 2011/11/14 Timofey Koolin timo...@koolin.ru Amy Unruh, i far from any quota deny - all quotas are ok. Yes, I know about handle channel disconnect, but I write application for internal-use with good internet-connection and i don't want handle connect/disconnect and make internal buffer for messages (when channel disconnected) if it possible. I'm send every email as different message. Yes, I forget about one message size limit - thanks, I try check it. 2011/11/14 Max thebb...@gmail.com hi Rekby, I am pretty sure your 100 emails just exceed channel API 32K max message size. Check message size before you send Max -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/I_rB81Ns8lsJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Blog: www.rekby.ru -- Blog: www.rekby.ru -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: Channel limit
I don't have any exceptions on server-side and client side. Size of every js about 500 bytes. 2011/11/14 Timofey Koolin timo...@koolin.ru My code look like: updates = get_updates(...) channel = get_channel(...) for update in updates: id = memcache.incr('mess id', initial_value=1) update['mess_id'] = id js = json.dumps(update) channel.send_message(channel, js) I have about 50 updates. After receive about 20-30 messages client side code receive one message infinite times and don't receive new messages. For example: receive 1 receive 2 receive ... receive 21 pause 20-60 sec receive 21 pause 20-60 sec receive 21 pause 20-60 sec receive 21 pause 20-60 sec receive 21 pause 20-60 sec ... 2011/11/14 Timofey Koolin timo...@koolin.ru Amy Unruh, i far from any quota deny - all quotas are ok. Yes, I know about handle channel disconnect, but I write application for internal-use with good internet-connection and i don't want handle connect/disconnect and make internal buffer for messages (when channel disconnected) if it possible. I'm send every email as different message. Yes, I forget about one message size limit - thanks, I try check it. 2011/11/14 Max thebb...@gmail.com hi Rekby, I am pretty sure your 100 emails just exceed channel API 32K max message size. Check message size before you send Max -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/I_rB81Ns8lsJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Blog: www.rekby.ru -- Blog: www.rekby.ru -- Blog: www.rekby.ru -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.