[appengine-java] Error while installing Eclipse Plugin
I'm trying install Eclipse plugin for GAE with GAE SDK on Eclipse Helios but following error occurs while installation. Any Help??? An error occurred while collecting items to be installed session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). Unable to read repository at http://dl.google.com/eclipse/plugin/3.6/plugins/com.google.appengine.eclipse.sdkbundle.1.4.0_1.4.0.v201012021502.jar . Read timed out Unable to read repository at http://dl.google.com/eclipse/plugin/3.6/plugins/com.google.gwt.eclipse.sdkbundle.2.1.0_2.1.0.v201010280102.jar . Read timed out Regards, Zeeshan Hanif -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] no async queries on AsyncDatastoreService for 1.4.0?
Hi Max, Could you please provide input on the following design: We design for DataSource redundancy. For this we've built a flow which obtains data from 2 sources: First from GAE DataSource using PreparedQuery and if that fails (0.5sec timeout) from our backup service feed which we access using URLFetch (auto scaled EC2 nodes). We strive for maximum performance, So we plan to issue async call to each of the data sources and later when the data becomes required poll the 2 sources, using the first one available. As for the URLFetch service, we will use this patten: FutureHTTPResponse f = fetchService.fetchAsync(request); ... if(f.isDone()) { ... } But for PreparedQuery.asIterator(), I'm not sure how this is implement on your side. I would love an answer confirming that this code will not block on hasNext() (While datasource is asynchronously getting results)? IteratorEntity iterator = getAsyncDatastoreService().prepare(findGeoIP).asIterator(); if(iterator.hasNext()) { ... } Thanks for the insights. Maxim. On Mon, Nov 29, 2010 at 9:08 PM, Max Ross (Google) maxr+appeng...@google.com maxr%2bappeng...@google.com wrote: Hi Luke, First the awesome news: As of 1.4.0, many queries are implicitly asynchronous. When you call PreparedQuery.asIterable() or PreparedQuery.asIterator(), we initiate the query in the background and then immediately return. This lets you do work while the first batch of results is being fetched. And, when the first batch has been consumed we immediately request the next batch. If you're performing a significant amount of work with each Entity as you iterate you will probably see a latency win as a result of this. Now the less awesome news: We didn't get around to making the List returned by PreparedQuery.asList() work this same magic, but you can expect this in a future release. Some deeper thoughts: The underlying RPCs between your app and the datastore fetch results in batches. We fetch an initial batch of results, and once that batch has been consumed we fetch the next batch. But, there's nothing in the API that maps to these batches - it's either a List containing the entire result set or an Iterable/Iterator that returns Entities one at a time. An API that provides async access to the individual results returned by an Iterable/Iterator (IteratorFutureEntity) doesn't really make sense since you don't know which call to hasNext() is going to require a new batch to be fetched, and without that knowledge, the knowledge of what is going to trigger something expensive, you can't really make appropriate use of an asynchronous API. Going forward, we're definitely interested in exposing these batches directly, and an explicitly async API for these batches makes a lot of sense since fetching these batches would map directly to something expensive on the server side. Hope this helps, Max On Fri, Nov 26, 2010 at 4:41 PM, Luke lvale...@gmail.com wrote: i was taking a look at the 1.4.0 javadoc for AsyncDatastoreService. i see the get, put and delete operations return a Future, but the prepare methods return a naked PreparedQuery object, and it doesn't look like PreparedQuery has any async get methods. does the AsyncDatastoreService not support asynchronous queries, or is there something i'm missing? glad to see at lets the get and put methods are async, hoping to get async queries too (as well as async interfaces to more services). -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] petstore deployment
Hi All, I'm trying to deploy petstore 2.0 on Google app engine (SDK 1.3.8). So many limitations from app engine... I had to many changes on JSF side to deploy the app. After the deployment process, I'm stuck with JSF rendering issue... no clue how to proceed with the same. --- SEVERE: JSF1054: (Phase ID: RENDER_RESPONSE 6, View ID: /index.jsp) Exception thrown during phase execution: javax.faces.event.phaseevent[source=com.sun.faces.lifecycle.lifecyclei...@aaf063] javax.servlet.ServletException at javax.faces.webapp.FacesServlet.service(FacesServlet.java:325) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166) ... --- Major problem I'm having is no logs being generated on development environment. Exception stack says, more information could be found at 'server logs' but, no logs are generated on local machine. When I try to host it on app. engine ( so that, I can view logs from app. engine dashboard)... the deployment fails with following exception. Latest SDK: Release: 1.4.0 Timestamp: Thu Dec 02 04:44:18 GMT+05:30 2010 API versions: [1.0] --- Your SDK: Release: 1.3.8 Timestamp: Wed Oct 13 20:36:43 GMT+05:30 2010 API versions: [1.0] --- Please visit http://code.google.com/appengine for the latest SDK. Creating staging directory Scanning for jsp files. Compiling jsp files. Scanning files on local disk. Scanned 250 files. Scanned 500 files. Initiating update. java.io.IOException: Error posting to URL: https://appengine.google.com/api/appversion/create?app_id=petstore5version=1; 404 Not Found This application does not exist (app_id=u'petstore5'). I have SDK 1.3.8; does this mean, I can't use this version anymore? Any pointers would be highly appreciated. Thanks, Suresh -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] no async queries on AsyncDatastoreService for 1.4.0?
Currently hasNext() will block on the first batch of results. There is currently no way to do what you are asking in Java. On Tue, Dec 7, 2010 at 2:40 AM, Maxim Veksler ma...@vekslers.org wrote: Hi Max, Could you please provide input on the following design: We design for DataSource redundancy. For this we've built a flow which obtains data from 2 sources: First from GAE DataSource using PreparedQuery and if that fails (0.5sec timeout) from our backup service feed which we access using URLFetch (auto scaled EC2 nodes). We strive for maximum performance, So we plan to issue async call to each of the data sources and later when the data becomes required poll the 2 sources, using the first one available. As for the URLFetch service, we will use this patten: FutureHTTPResponse f = fetchService.fetchAsync(request); ... if(f.isDone()) { ... } But for PreparedQuery.asIterator(), I'm not sure how this is implement on your side. I would love an answer confirming that this code will not block on hasNext() (While datasource is asynchronously getting results)? IteratorEntity iterator = getAsyncDatastoreService().prepare(findGeoIP).asIterator(); if(iterator.hasNext()) { ... } Thanks for the insights. Maxim. On Mon, Nov 29, 2010 at 9:08 PM, Max Ross (Google) maxr+appeng...@google.com maxr%2bappeng...@google.com wrote: Hi Luke, First the awesome news: As of 1.4.0, many queries are implicitly asynchronous. When you call PreparedQuery.asIterable() or PreparedQuery.asIterator(), we initiate the query in the background and then immediately return. This lets you do work while the first batch of results is being fetched. And, when the first batch has been consumed we immediately request the next batch. If you're performing a significant amount of work with each Entity as you iterate you will probably see a latency win as a result of this. Now the less awesome news: We didn't get around to making the List returned by PreparedQuery.asList() work this same magic, but you can expect this in a future release. Some deeper thoughts: The underlying RPCs between your app and the datastore fetch results in batches. We fetch an initial batch of results, and once that batch has been consumed we fetch the next batch. But, there's nothing in the API that maps to these batches - it's either a List containing the entire result set or an Iterable/Iterator that returns Entities one at a time. An API that provides async access to the individual results returned by an Iterable/Iterator (IteratorFutureEntity) doesn't really make sense since you don't know which call to hasNext() is going to require a new batch to be fetched, and without that knowledge, the knowledge of what is going to trigger something expensive, you can't really make appropriate use of an asynchronous API. Going forward, we're definitely interested in exposing these batches directly, and an explicitly async API for these batches makes a lot of sense since fetching these batches would map directly to something expensive on the server side. Hope this helps, Max On Fri, Nov 26, 2010 at 4:41 PM, Luke lvale...@gmail.com wrote: i was taking a look at the 1.4.0 javadoc for AsyncDatastoreService. i see the get, put and delete operations return a Future, but the prepare methods return a naked PreparedQuery object, and it doesn't look like PreparedQuery has any async get methods. does the AsyncDatastoreService not support asynchronous queries, or is there something i'm missing? glad to see at lets the get and put methods are async, hoping to get async queries too (as well as async interfaces to more services). -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at
[appengine-java] Re: Chanel API Java Client
AFAIK You cannot use the Channel API from Android unless you write the Java Client library yourself. There is a relevant issue opened here: http://code.google.com/p/googleappengine/issues/detail?id=4189 You can star it if you are interested. It has already 36 votes. On Dec 7, 2:26 pm, Christian Kosmowski ksm...@googlemail.com wrote: Hi! I was wondering if there is a way to use the channels API directly through java. I'd like to use it in Android and i thought it would be a bit heavyweight to use a JavaScript Implementation just for communication with the channels API. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] no async queries on AsyncDatastoreService for 1.4.0?
Thank you for the information. We kinda expected that the current implementation will block... In case anyone wonders our current worked out design is as following: Do async get to EC2 (takes ~270ms) and right after that do blocking get to datastore (with timeout of 300ms). Because we know URLFetch to ec2 takes ~270ms and is async we get to enjoy both worlds even with a blocking DataStore: Option A: Datastore has no problems, meaning that it will reply to PreparedQuery with 15ms. In this case we don't bother with the async call we just did and just continue normal flow. Option B: Datastore has problems, and will block. In this case the 300ms query will time out, after which we will attempt to access the Future.get() of URLFetch where we expect to have a result. So... If today we did (at maximum) 500ms datastore get + 270ms URLFetch get = total of 770ms just for the query after I get implemented we should be doing (at maximum) query in 300ms. Kinda of cool. Maxim. On Tue, Dec 7, 2010 at 3:39 PM, Alfred Fuller arfuller+appeng...@google.comarfuller%2bappeng...@google.com wrote: Currently hasNext() will block on the first batch of results. There is currently no way to do what you are asking in Java. On Tue, Dec 7, 2010 at 2:40 AM, Maxim Veksler ma...@vekslers.org wrote: Hi Max, Could you please provide input on the following design: We design for DataSource redundancy. For this we've built a flow which obtains data from 2 sources: First from GAE DataSource using PreparedQuery and if that fails (0.5sec timeout) from our backup service feed which we access using URLFetch (auto scaled EC2 nodes). We strive for maximum performance, So we plan to issue async call to each of the data sources and later when the data becomes required poll the 2 sources, using the first one available. As for the URLFetch service, we will use this patten: FutureHTTPResponse f = fetchService.fetchAsync(request); ... if(f.isDone()) { ... } But for PreparedQuery.asIterator(), I'm not sure how this is implement on your side. I would love an answer confirming that this code will not block on hasNext() (While datasource is asynchronously getting results)? IteratorEntity iterator = getAsyncDatastoreService().prepare(findGeoIP).asIterator(); if(iterator.hasNext()) { ... } Thanks for the insights. Maxim. On Mon, Nov 29, 2010 at 9:08 PM, Max Ross (Google) maxr+appeng...@google.com maxr%2bappeng...@google.com wrote: Hi Luke, First the awesome news: As of 1.4.0, many queries are implicitly asynchronous. When you call PreparedQuery.asIterable() or PreparedQuery.asIterator(), we initiate the query in the background and then immediately return. This lets you do work while the first batch of results is being fetched. And, when the first batch has been consumed we immediately request the next batch. If you're performing a significant amount of work with each Entity as you iterate you will probably see a latency win as a result of this. Now the less awesome news: We didn't get around to making the List returned by PreparedQuery.asList() work this same magic, but you can expect this in a future release. Some deeper thoughts: The underlying RPCs between your app and the datastore fetch results in batches. We fetch an initial batch of results, and once that batch has been consumed we fetch the next batch. But, there's nothing in the API that maps to these batches - it's either a List containing the entire result set or an Iterable/Iterator that returns Entities one at a time. An API that provides async access to the individual results returned by an Iterable/Iterator (IteratorFutureEntity) doesn't really make sense since you don't know which call to hasNext() is going to require a new batch to be fetched, and without that knowledge, the knowledge of what is going to trigger something expensive, you can't really make appropriate use of an asynchronous API. Going forward, we're definitely interested in exposing these batches directly, and an explicitly async API for these batches makes a lot of sense since fetching these batches would map directly to something expensive on the server side. Hope this helps, Max On Fri, Nov 26, 2010 at 4:41 PM, Luke lvale...@gmail.com wrote: i was taking a look at the 1.4.0 javadoc for AsyncDatastoreService. i see the get, put and delete operations return a Future, but the prepare methods return a naked PreparedQuery object, and it doesn't look like PreparedQuery has any async get methods. does the AsyncDatastoreService not support asynchronous queries, or is there something i'm missing? glad to see at lets the get and put methods are async, hoping to get async queries too (as well as async interfaces to more services). -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To
[appengine-java] Re: 1.4 eclipse plugin
I have the same problem - .jsp's work fine after moving the App Engine SDK to the top of the Order and Export list, but JSP-mappings don't work. I can also confirm that it works on the App Engine servers, deployed with the 1.4 SDK. Mac OS X 10.6.5 Eclipse SDK, Version: 3.5.2 Google Plugin for Eclipse 3.5, 1.4.0.v201010280047 This is the error I'm getting in the browser: HTTP ERROR 500 Problem accessing /admin/. Reason: Unable to compile class for JSP: An error occurred at line: 10 in the generated java file org.apache.jasper.runtime.HttpJspBase cannot be resolved to a type ... On Dec 6, 8:39 pm, mscwd01 mscw...@gmail.com wrote: I'm running: Eclipse Java EE IDE for Web Developers. Build id: 20100218-1602 With V1.4 of the App Engine SDK and cannot get servlets mapping to jsp files, i.e. servlet servlet-nameabout/servlet-name jsp-file/about.jsp/jsp-file /servlet servlet-mapping servlet-nameabout/servlet-name url-pattern/about/url-pattern /servlet-mapping However, other servlets work fine for example I have servlets which issue a redirect to a jsp file in my WEB-INF folder and they work fine. It's baffling me now. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: OpenID: What's the use of the createLoginURL attributesRequest parameter
I'd like some clarification on this as well. According to the javadoc: attributesRequest - additional attributions requested for this login, IDP may not may not support these attributes. So what are some examples of this? The User object returned from UserService.getCurrentUser() after openId authentication is very different depending on the provider. In particular some (google yahoo) have an email address on the user, others(myopenid.com) do not. Does specifying attributes ask the provider to return data like email addresses? Do I have to specify different attributes for each provider implementation? On Nov 5, 6:00 am, Alex alex.jong...@gmail.com wrote: Hi, the createLoginURL method for federated login with OpenID has a Set of Strings parameter attribuesRequest. The JavaDoc states the following about this parameter: attributesRequest - additional attributions requested for this login, IDP may not may not support these attributes. Until now I didn't require to fill this attribute to use OpenID with parties like Google, Yahoo etc. But I was wondering what kind of requests I might encounter / use here. Are there any (Java) examples where this parameter is used? And what does IDP mean? Alex -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: 1.4 eclipse plugin
I created an issue 4216 - see the url above. Hope the GAE guys will get to it soon. For now it looks like it is safe to keep using 1.3.8 since the actual app engine is not affected by this. On Dec 7, 5:22 am, Thomas Meyer meyer...@gmail.com wrote: I have the same problem - .jsp's work fine after moving the App Engine SDK to the top of the Order and Export list, but JSP-mappings don't work. I can also confirm that it works on the App Engine servers, deployed with the 1.4 SDK. Mac OS X 10.6.5 Eclipse SDK, Version: 3.5.2 Google Plugin for Eclipse 3.5, 1.4.0.v201010280047 This is the error I'm getting in the browser: HTTP ERROR 500 Problem accessing /admin/. Reason: Unable to compile class for JSP: An error occurred at line: 10 in the generated java file org.apache.jasper.runtime.HttpJspBase cannot be resolved to a type ... On Dec 6, 8:39 pm, mscwd01 mscw...@gmail.com wrote: I'm running: Eclipse Java EE IDE for Web Developers. Build id: 20100218-1602 With V1.4 of the App Engine SDK and cannot get servlets mapping to jsp files, i.e. servlet servlet-nameabout/servlet-name jsp-file/about.jsp/jsp-file /servlet servlet-mapping servlet-nameabout/servlet-name url-pattern/about/url-pattern /servlet-mapping However, other servlets work fine for example I have servlets which issue a redirect to a jsp file in my WEB-INF folder and they work fine. It's baffling me now. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Xls uploader
I don't know if these examples will work since they may require whitelisted classes, but there are quite a few examples of how to read XLS files using Java: http://www.google.com/search?sourceid=chromeie=UTF-8q=read+xls+file+java Let us know which one of these works and which ones don't. It'll be very helpful. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Tue, Dec 7, 2010 at 1:18 AM, Srikanth PB srikanthprathiv...@gmail.comwrote: Hi My Application requires to upload data in the java datastore , I am able to do that using csv , but I want to upload using xls Because I have images inside the cells which are to be uploaded to data store , Can anyone provide a working example? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] JSF: sudden ViewExpiredException on GAE
Hello all, I've suddenly stuck with JavaServer Faces application stopped working at GAE. Investigation shows that view state is not being stored in session correctly. What I also found out is that when the first request is being done (i.e. with clean session), ajax requests are working; but when another view is requested, ajax is not working there anymore. I assumed this is because updated view state is not being stored, and tried to make a slight change: a) as is: Map statesMap = session.get(state); if (statesMap == null) { statesMap = new HashMap(); session.put(state, statesMap); } statesMap.put(..., state); //force update in cluster session.put(state, statesMap); b) with the slight change: Map statesMap = session.get(state); if (statesMap == null) { statesMap = new HashMap(); session.put(state, statesMap); } statesMap.put(..., state); //force update in cluster session.remove(state); session.put(state, statesMap); However the solution is not very good, so can please someone help with the problem? P.S. Runnable demo example is available here: http://java.net/jira/browse/JAVASERVERFACES-1886 -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: 1.3.8 Console Logging Issue
Yep, still not working as in the past. So here goes my fundamental question: is it a bug or a feature (http:// globalnerdy.com/wordpress/wp-content/uploads/2007/12/ bug_vs_feature.gif)? Please answer! On 4 Gru, 00:50, MarkH markh.ne...@gmail.com wrote: I'm still having Eclipse console logging issues with 1.4.0. (OSX10.6.5/ Helios). I tried the following: 1. Used the Eclipse plugin to generate a new GWT/AppEngine app. 2. Added a java.util.logging.Logger to the GreetingServiceImpl 3. Added logger.fine(test); to the greetServer call 4. set logging.properites level to .level = FINE As per 1.3.8 there are still no logger.fine log message in the Eclipse console. As per 1.3.8 logger.info adds messages to the console in the same format as the Jetty startup phase - message text only (no date, or logger info). As per 1.3.8 setting the Run Configuration - Arguments - Program Arguments to, -logLevel DEBUG does causes logger.fine messages (message text only) to appear on the console, along with the associated GWT noise. Is it possible to restore 1.3.7 like 'SimpleFormatter' style logging: date, logger, message in the Eclipse console? On Nov 22, 4:23 pm, timzon jerome.bre...@gmail.com wrote: Thank you. Looking forward to get 1.4.0. On Nov 4, 9:33 am, Rajeev Dayal rda...@google.com wrote: We're going to fix this for the App Engine 1.4.0 release. What we'll do is have messages at Log.INFO level be outputted when you've got your Launch Configuration's log level set to INFO. In the Google Plugin for Eclipse, we'll make a change such that any new launch configurations created have a default log level of WARN. On Thu, Nov 4, 2010 at 4:23 AM, Stefano Ciccarelli stef...@indacosoftware.it wrote: I changed the GWT log level to TRACE solving partially the problem, infact now I have very verbose logs. On Wed, Nov 3, 2010 at 15:33, Rajeev Dayal rda...@google.com wrote: No, I did not mean dropping it there - I meant changing it in the Web App Launch Configuration UI - edit your launch configuration (in Eclipse), and set the log level to TRACE. Does that help? On Tue, Nov 2, 2010 at 10:38 PM, timzon jerome.bre...@gmail.com wrote: Dropping default log level (.level) to TRACE, INFO or FINEST doesn't fix the problem. log.info (with default INFO level) used to work before 1.3.8 upgrade and doesn't work after the upgrade. On Oct 29, 2:49 pm, Rajeev Dayal rda...@google.com wrote: Drop you launch configuration's log level down to TRACE. Do you see the messages now? On Fri, Oct 29, 2010 at 1:23 PM, John Bito j...@bobberinteractive.com wrote: Starred the issue: http://code.google.com/p/googleappengine/issues/detail?id=3969 -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2B unsubscr...@googlegroups.comgoogle-appengine-java%2B unsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2B unsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2B unsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2B unsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to
Re: [appengine-java] JSF: sudden ViewExpiredException on GAE
Well, I'll take a wild stab at it since I don't know Java Server Faces, but since you say it was working and now has stopped. Do you have sessions-enabledtrue/sessions-enabled in your appengine-web.xml? If not, add it. As of 1.4 this is now being adhered to whereas prior to this sessions were enabled regardless. So perhaps even with sessions not enabled you are able to get a session object from the servlet context for that initial request but the appengine isn't saving state to the datastore so the next request gets told that the requested session identifer is not valid/expired. On Tue, Dec 7, 2010 at 12:50 PM, Nick Belaevski mika...@gmail.com wrote: Hello all, I've suddenly stuck with JavaServer Faces application stopped working at GAE. Investigation shows that view state is not being stored in session correctly. What I also found out is that when the first request is being done (i.e. with clean session), ajax requests are working; but when another view is requested, ajax is not working there anymore. I assumed this is because updated view state is not being stored, and tried to make a slight change: a) as is: Map statesMap = session.get(state); if (statesMap == null) { statesMap = new HashMap(); session.put(state, statesMap); } statesMap.put(..., state); //force update in cluster session.put(state, statesMap); b) with the slight change: Map statesMap = session.get(state); if (statesMap == null) { statesMap = new HashMap(); session.put(state, statesMap); } statesMap.put(..., state); //force update in cluster session.remove(state); session.put(state, statesMap); However the solution is not very good, so can please someone help with the problem? P.S. Runnable demo example is available here: http://java.net/jira/browse/JAVASERVERFACES-1886 -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Blobstore Code Works On Dev Server, Not Production
My blobstore code works just great in the dev server (running on Mac) but I receive an error when uploading to production. I receive an Error: HTTP method GET is not supported by this URLeven though the sample refers to post. As I said, works fine in Dev. Please help! -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Found a jar file too large to upload:appengine-api-1.0-sdk-1.3.7.jar. Consider using --enable_jar_splitting.
I just now started to get this error while deploying to app engine. This project was deployed without this error with the same jar until last night without any problem. I tried using the -- enable_jar_splitting but the error is still coming..any help is appreciated.. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Blobstore Code Works On Dev Server, Not Production
You can solve that handling GETs and POSTs with a common handler. void doGet(... req,... resp) { handle(req, resp); } void doPost(... req,... resp) { handle(req, resp); } void handle(... req,... resp) { } On Tue, Dec 7, 2010 at 6:21 PM, Andy Haaf ah...@google.com wrote: My blobstore code works just great in the dev server (running on Mac) but I receive an error when uploading to production. I receive an Error: HTTP method GET is not supported by this URL even though the sample refers to post. As I said, works fine in Dev. Please help! -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Guit: Elegant, beautiful, modular and *production ready* gwt applications. http://code.google.com/p/guit/ -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Blobstore Code Works On Dev Server, Not Production
So, I did that, but now I am receiving the following error: p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; line-height: 19.0px; font: 13.0px Courier New} java.lang.IllegalStateException: Must be called from a blob upload callback request Plus, I needed to change my .jsp form code to a get versus a post which is not what the sample recommended. And once again, this was working fine on the dev server. Why is production different? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[google-appengine] Re: Using OpenID with Google App Engine and its UserService
This is correct, in my opinion. In my app if I detect an attempt to log in with Google Apps I send an immediate redirect to Google's login page, without showing the login page of my application. Google Apps Marketplace allows you to detect this using the url you give in the manifest, it has a parameter that Google should fill with the domain name. As for the userID problem, I have never tried other providers than Google, but the documentation (not javadoc) used to say that openID users are a superset for Google Accounts, so I think a valid id should be provided also for other providers. Regards Lorenzo On Dec 6, 2:55 pm, Ross M Karchner rosskarch...@gmail.com wrote: I've been thinking about this myself, for a few days. In order to sell a GAE app on Google Apps Marketplace, must we: - Use OpenID - force users to only use Google's OpenID (that last bit seems to be the logical conclusion from the directive not to show an intermediate login screen) Is this correct? On Mon, Dec 6, 2010 at 6:28 AM, l.denardo lorenzo.dena...@gmail.com wrote: You can use the explicit addresses for OpenID endpoints: userService.createLoginURL(redirectTo, gmail.com, https://www.google.com/accounts/o8/id;, attributesRequest); String appsLoginUrl = userService.createLoginURL(redirectTo, loginDomain, https://www.google.com/accounts/o8/site-xrds?hd=; + loginDomain, attributesRequest); These should work to filter only google accounts and apps accounts for your requests. I switch between the two using a simple request parameter. Regards Lorenzo On Dec 1, 6:59 pm, AmaltasCoder agarwalmegh...@gmail.com wrote: My application on GAE should work for both Google Accounts and Google Apps accounts. I understand that UserService on app engine makes the task of using OpenID easy. I generate the Login/Logout url's as follows, can someone please check if these are correct calls: Login URL for Google Account: UserService userService = UserServiceFactory.getUserService(); userService.createLoginURL(destinationURL, null, gmail.com, new HashSetString()) Login URL for Google Apps Account: UserService userService = UserServiceFactory.getUserService(); userService.createLoginURL(destinationURL, null, googleappsdomaintouse.com, new HashSetString()) Logout URL for Google Account and Google Apps account: UserService userService = UserServiceFactory.getUserService(); User user = userService.getCurrentUser(); userService.createLogoutURL(destinationURL, user.getAuthDomain()) -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ross M Karchnerhttp://eventgrinder.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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Problem with Google App Engine Login
Hi everyone, I have some problems with Google App Engine. I have created a few applications. However, I couldn't access http://appengine.google.com. It said that the problem is about redirect loop. Then I tried a couple of things, still didn't solve it. Those things are, removing myself from the Admin and re-adding etc. I couldn't think of a better way to solve it. So, I decided to delete my own account and recreate the account again. Then when I tried to sign up for Google App Engine, I've got 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. If I access http://appengine.google.com, I've got the redirect error. (Even clicking the Invitation to develop App link in the email) Can anyone help me on this please? Kind regards, Ploy -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] OpenID
Hi, I'm building an app and I want to use the OpenID. I have seen that someone is using it with the FACEBOOK accounts, but in the documentations in Google and in http://openid.net/get-an-openid/ I can't see this provider. Can someone help me with this? Regards Massimiliano -- My email: massimiliano.pietr...@gmail.com My Google Wave: massimiliano.pietr...@googlewave.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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] about Tasks Storage Quota 'Task Queue Stored Task Bytes' - how to count and how to configure
Once upon a time we experienced problem when we reach the Task Queue Stored Task Bytes Quota Limit (i believe is 100MB for paid application) . It happened when 'producer' produce too many tasks into the queue before the 'consumer' can consume them, leaving many many tasks being in the queue. Although we fixed the problem for 'producer' faster than 'consumer' problem, this trigger us to have a better understanding on how the quota 'Task Queue Stored Task Bytes' be counted and configured Specially i have 3 questions 1. how to count the 'bytes' of a task queue stored task? let say each task consumes 50K, as we should have 100MB of such quota, it should have the capacity to store 2 tasks. but how could we calculate / estimate the task stored size? 2. is this a counter showing the 'real-time current' total stored task size, or a counter being updated regularly, or an accumulative counter being reset in daily basis? i was thinking it should not be an accumulative counter, but sometimes when i check the system we dont have any tasks in the queue, but the Tasek Queue Stored Task Bytes is not 0 3. how to configure the quota for Task Queue Stored Task Bytes' in GAE documentation http://code.google.com/appengine/docs/quotas.html#Task_Queue, it is stated that we could configure it should be configurable up to Stored Data (billable) . however from our current GAE admin console and billing setting, we found no way to configure it. appreciateif anyone can share (partial) answers for these or your thoughts Regards, Eric ng -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: GAE Internals
Ikai, Thanks for the reply. I've already stumbled upon AppScale and TyphoonAE. Could you comment on how similar to GAE their internals are? Best regards, Maarten On Dec 6, 11:57 pm, Ikai Lan (Google) ikai.l+gro...@google.com wrote: Hi Maarten, Wish that there were an easy answer for this, but there's a LOT that would go into this answer. App Engine uses many Google technologies which in and of themselves are long, complex topics (Protobuf, BigTable -http://labs.google.com/papers/bigtable-osdi06.pdf). I'd start here: http://code.google.com/appengine/articles/datastore/overview.html And I'd ask specific questions if I had any. Two really good pieces of technologies to study are AppScale: http://code.google.com/p/appscale/ http://code.google.com/p/typhoonae/ Both the above technologies are App Engine compatible and use open source technologies in their implementation. Good luck, -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Mon, Dec 6, 2010 at 5:35 AM, Maarten maarten.de...@gmail.com wrote: Hi all, I was wondering, is there any information about the internals of GAE? I'm looking into GAE for the sake of PaaS security research. I'm not looking for the what (each application runs in its own sandbox), but the how (Does each app get its own VM? Or do multiple apps share one VM? And which classes are actually shared? Which strategy is used for isolation? And what about the datastore, is data tagged? Do users get their own 'view'? Etc.). Also, what technologies does GAE use? I know about Jetty, Bigtable etc, but is there a complete survey on this? It would be great to see some more detailed information. What is the reason I can't seem to find this info? Didn't I search enough or is GAE proprietary? Kind regards, Maarten -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: What's the red and blue bars in AppStats?
Thanks for your (both of you) info. In my mission to improve my application I'm on a constant hunt for milliseconds. But while improving on every request I find it kinda strange that the difference would be so huge from my development server. In appstats the trouble some request that show's 3275ms 9140cpu_ms 7296api_cpu_ms is 1 memcache call, 4 db.RunQuery and 5 db.Get and in my development it's about 400ms. When thinking about it I would think that the red bar (the longest one) is time spent waiting on the request to return. Especially since the red bar is not present in appstats on my development server. I think it would make sense or that for some odd reason my code is so bad that would run that much slower on the production servers. Another thing that bugs me a bit is that this is my third time asking about how CPU/API time is calculated in different contexts but never any answers from Santa's Elves (in sprit of keeping to the metaphor). If I'm right (about the red bars) why the long waiting times for some requests ? It would be great to get some clarification in how this works so we as developers can know how to proceed. I don't want to spend x amount of hours optimizing my code if I can't to anything to help improve the CPU/API times. ..fredrik On Dec 6, 2010, at 6:39 PM, Stephen Johnson wrote: My understanding (please correct me if I'm wrong) of the log time numbers are: 1.) Latency time - the amount of actual real world time taken to process the request. The App Engine infrastructure uses this time to determine if you are (since it's Christmas time) being naughty or nice. Different numbers have been thrown out as to what it means to be nice but definitely average latency time needs to be under 1 second but it's been noted that sub 800ms is preferred and even lower is better. What happens if you're naughty. Well, then supposedly Santa won't spin up additional instances for you. It has been noted on this forum by Santa's Elves (the Googlers) that this average latency time requirement to spin up new instances doesn't include the latency time for background tasks. 2.) CPU Time - the amount of CPU time that your code has used based on a 1.2 GHz 64-bit x86 CPU executing sequentially which equates to 1200 megacycles equal to one second physical time. My assumption is then that if your code executed on a 2.4 GHz machine that real world time could be 1 second and CPU time could be 2 seconds (assuming no API time). 3.) API Time - the amount of API time. Time spent executing in API calls. This number could be very large even even if Latency Time is small. For example, performing a batch get of 200 keys. These could be executed in parallel by the API and could result in large API time but small latency time. Now, according to the QuoteService docs, the CPU Time and API Time are completely separate numbers and would need to be added together to get your Total Billed CPU time. Now, do the logs follow this convention. I'm not totally sure since I can't find the logs documented anywhere and I can't find an example in my logs of API time ever being greater than CPU time. I would assume that at times if I did a batch get like I mentioned above and very little else in my code that the API time would greatly exceed my CPU time, but I can't find that. It would be great if anyone can add to this and if they have an example log entry showing this that would be awesome. Any of Santa's elves wish to chime in? Also, if this is documented someplace nicely and I just couldn't find it then a link to it would be nice. Stephen On Mon, Dec 6, 2010 at 7:52 AM, mscwd01 mscw...@gmail.com wrote: I always assumed the blue was cpu time and the red api time. Please feel free to correct me if I am wrong though. While we're on the topic of appstats does anyone get a zero value reported for cpu and api times? I only ever get readings such as this: real=774ms cpu=0ms api=0ms overhead=0ms Not helpful at all :P On Dec 6, 1:43 pm, Fredrik Bonander carl.fredrik.bonan...@gmail.com wrote: In my application i saw something that kinda worries me a bit. In the logs for on specific request it takes 3275ms 9140cpu_ms 7296api_cpu_ms for the request to complete. The request started a new process and saved the request to appstats. A typical request to the same URL generates for example this: 384ms 2306cpu_ms 1630api_cpu_ms in terms of time to process the request. Inspecting this a bit further I realized that in appstats the redbar is about 5 - 15 times as long as the blue. So my question what's the red and blue bars? In the log what's the difference between the first, second and third ms numbers? What numbers is withdrawn from my CPU quota ? ..fredrik -- Fredrik Bonander carl.fredrik.bonan...@gmail.com +46 70 943 5441 - the infinite power of the creative mind - -- You received
Re: [google-appengine] Can't Delete a Version
Same problem here. app-id: myjobs-yaw version: 2 On 12/06/2010 06:11 PM, Ikai Lan (Google) wrote: What's your application ID? -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Sat, Dec 4, 2010 at 7:24 AM, César Filhoctass...@gmail.com wrote: Hello. When I try to delete a specific version of my application the App Engine Admin Dashboard returns Error 500. I tried deploying the same application (with the same version), tried rolling back the update, nothing solves the problem and I can't delete that version. Could you please help me? Thanks in advance. César -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] gae webapp issue? KeyError
my code is very simple: *class GetRequest(webapp.RequestHandler): def get(self): template_path = os.path.join(project_path, templates/get-request.html) sorted_headers = sorted(self.request.headers.items(), key=lambda i: i[0]) sorted_environ = sorted(os.environ.items(), key=lambda i: i[0]) logging.info(sorted_environ) template_dict = { headers: sorted_headers, environ: sorted_environ, } html = template.render(template_path, template_dict, True) self.response.headers['Content-Type'] = 'text/html' self.response.out.write(html)* i got an exception sometimes: * Traceback (most recent call last): File /base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/__init__.py, line 511, in __call__ handler.get(*groups) File /base/data/home/apps/mygaeid/1.346471016612102565/handlers.py, line 18, in get sorted_headers = sorted(self.request.headers.items(), key=lambda i: i[0]) File /base/python_runtime/python_dist/lib/python2.5/UserDict.py, line 117, in items return list(self.iteritems()) File /base/python_runtime/python_dist/lib/python2.5/UserDict.py, line 106, in iteritems yield (k, self[k]) File /base/python_runtime/python_lib/versions/1/webob/datastruct.py, line 40, in __getitem__ return self.environ[self._trans_name(item)] KeyError: 'CONTENT_TYPE'* i got an similar exception in google chrome always, the error is:* KeyError: 'CONTENT_LENGTH'* can some one help me? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Can't Delete a Version
Application ID: trendingtopicshistory Version: 2010120300 On Dec 6, 6:11 pm, Ikai Lan (Google) ikai.l+gro...@google.com wrote: What's your application ID? -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Sat, Dec 4, 2010 at 7:24 AM, César Filho ctass...@gmail.com wrote: Hello. When I try to delete a specific version of my application the App Engine Admin Dashboard returns Error 500. I tried deploying the same application (with the same version), tried rolling back the update, nothing solves the problem and I can't delete that version. Could you please help me? Thanks in advance. César -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Channel API: a suggestion
Hi all, I tried the new Channel API, it is pretty impressive. However, there is a problem for me. Here is the use case: 1. A data provider sends data to the server. The server handler saves the data in datastore and sends the new data to a channel regardless if the channel is created or not (keep things simple for higher through put); 2. A data consumer connects to the server, gets all the data from datastore, and opens a channel ready for new data. To my surprise, the data consumer is immediately flooded by the data from the channel which were sent before the channel was created, resulting in redundant data (because those data was retrieved from datastore already). What I'm looking for is a channel.clear which discards all data that is not yet delivered. Probably there is a way to make things work on the existing API, but I'm afraid it is logically complicated. For now, I'd rather fall back to my existing simple and stable polling... Will -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: Do I have to implement /_ah/warmup
Jay, Yeah, I need to import a few packages, so I just wrote an empty handler for /_ah/warmup so that the import and compiling happen. Thanks, Will On Tue, Dec 7, 2010 at 6:00 AM, Jay Young jaydevfollo...@gmail.com wrote: Do you need to import any packages or frameworks in your warm-up load them into memory, or will that happen regardless when the instance spins up? On Dec 6, 1:28 am, Nick Johnson (Google) nick.john...@google.com wrote: The purpose of warmup requests is to give your app the opportunity to load all the libraries it needs and do any other initialization work required, before it serves user-facing requests. If you have a catchall handler, then serving a 404 is probably doing that, but having a do-nothing handler is probably a better idea, and ensures the request hits the whole app pipeline. -Nick Johnson On Sun, Dec 5, 2010 at 5:02 PM, Will vocalster@gmail.com wrote: Hmm, thanks. I can live with the log, as long as doing nothing serves the purpose. I prefer less code unless it's absolutely necessary. Best, Will On Sun, Dec 5, 2010 at 10:25 AM, 风笑雪 kea...@gmail.com wrote: You'd better implement it if you don't want to see it logged as an error in your dashboard. However, the implementation can be empty: class WarmupHandler(RequestHandler): def get(self): pass # or log it by: logging.info('Warmup Request') -- keakon -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.comgoogle-appengine%2Bunsubscrib e...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com . To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.comgoogle-appengine%2Bunsubscrib e...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Nick Johnson, Developer Programs Engineer, App Engine Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number: 368047 -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: FederatedLogin: Is logout supported?
Hi, the logout is not working on your app. I logged in for the first time with my Google account, the account page asked for my credentials. After that I logged out. Now I want to login with a different Google account. But when I click on the login link, I get logged in directly without getting the chance to enter a different Google account. Or am I doing something wrong? On 6 Dez., 12:14, Peter Ondruska peter.ondru...@gmail.com wrote: Works for me:https://tenant-check.appspot.com/ On 6 pro, 10:17, dflorey daniel.flo...@gmail.com wrote: Hi, is logout currently supported with FederatedLogin on app engine? Is it possible to use the logout url and login afterwards with a different email on the same domain or will it automatically login with the previous email until I empty all cookies? I've read about this a while ago in the docs, but the note is gone so I'm wondering if this is now fixed. Thanks, Daniel -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: FederatedLogin: Is logout supported?
Do you know any working app with a proper OpenID workflow where I can test if this really works? I want to achieve that a user can login to the app, logout and can login with a different account of the same domain (without being forced to clear the cache manually). On 6 Dez., 12:33, l.denardo lorenzo.dena...@gmail.com wrote: Logout works *for your app*. This means that your user is logged out from your app, but must explicitly log out from his Google Account. If the user comes back to your app while still being logged in to Google and you accept login without any intermediate step, he will be logged in again in your application. If he logged out from Google, or you provide an intermediate step (e.g. your app login page asks if you want to login with Google accounts or Google Apps) everything will work fine. Regards Lorenzo On Dec 6, 10:17 am, dflorey daniel.flo...@gmail.com wrote: Hi, is logout currently supported with FederatedLogin on app engine? Is it possible to use the logout url and login afterwards with a different email on the same domain or will it automatically login with the previous email until I empty all cookies? I've read about this a while ago in the docs, but the note is gone so I'm wondering if this is now fixed. Thanks, Daniel -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] nosegae and blobstore?
hi, does anyone know if the blobstore is supported by nosegae? do i need to encode the file in some way to store it as a blob? thank you -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] How to enable a diabled queue in taskqueues
Hello, We have observed that a queue went into disabled mode on dashboard, also the tasks added to that queue are not being executed. Checked the documentation but could not find any thing related to this. so tried by deleting the queue and planned to update the queue. This raised another problem, while trying this command *appcfg.py update_queues myapp*says that the queue is recently deleted and cannot create it again. Can any one help with this, the queue name is placed in many parts of the code and could not be changed in one push. -- Thanks, Regards Sandeep Koduri Gtalk: sandeep.koduri | Skype: sandeep.koduri -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Incredible traffic saving with the header Cache-control: public???
Hi, first thanks for your attention and sorry for my English translation. I have a question that intrigues me a few weeks. This is the header cache-control in particular the behavior of the options private and public in Google App Engine. First of all, this is only to serve static files (css, js, etc) Let's go. With cache-control: private experiment curve normal traffic. But with cache-control: public experiment Traffic incredible savings. In both cases, everything seems to work well. The question is: 1. How can traffic be a big savings? Is reduced to 15%. 2. Saving you a real traffic? Or is something special instead of Google App Engine? Better look at this diagram illustrates: http://gonzo.teoriza.com/almacen/cache-control.jpg Thanks in advance, I hope to be clarified. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Datastore viewer gives me 500; probably because of a unviewable digest
Hey. I can't update a user in my app from the datastore viewer. This is probably because of the password field (ByteStringProperty), in which I just see something like �$��lL� ��.\�~. I'd be nice if ByteStringProperties weren't displayed, or there was an option not to display it. Perhaps there's an easier workaround for this problem? Jonatan -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] sms validation requested
Hi, I've been using Google App Engine for a while now. I have an app that's been running for a good few months and have been deploying and deleting other projects for quite some time as well. Today (for the first time in a while) I decided to create a new application and was prompted for SMS Validation. I was unclear why I had to go through this step again, but I followed the instructions anyway. However, after entering my mobile number to send the SMS too I get the message The phone number has been sent too many messages or has already been used to confirm an account. Which makes sense as I have validated my account previously with that number. The only thing I can fathom is that I changed my google email address from @googlemail.com to @gmail.com a while back. This actually caused some problems in other appspot applications, so perhaps it's related. Has anyone else experienced this? Thanks in advance. Cheers, Chris -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Not authorized - can't log into appengine
What are your application IDs? It looks like you guys are using custom Google Apps domains. Can you check to see if you are logging in in appending /a/yourdomain.com? -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Mon, Dec 6, 2010 at 4:34 PM, Doug Davies d...@funkyvisions.com wrote: I am having a similar issue. I have no admin panel. My app does not show up anywhere even though it still seems active. I just can't get to the admin panel to look at stats or make any changes. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Cannot see Application Dashboard
Doug, I just checked on your application. You need to log in at the normal appengine.google.com page with your d**dav...@gmail address since that's the admin, not your funkyvisions.com admin. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Mon, Dec 6, 2010 at 4:38 PM, Doug Davies d...@funkyvisions.com wrote: I am having the same problem. When I log into http://appengine.google.com/a/funkyvisions.com All I get is a screen saying welcome to google app engine and a create application button. My app (jiggleballs) does not show up, even though I can still access it http://jiggleballs.appspot.com/products/jiggleballs.jsp Please help. doug -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Problem with Google App Engine Login
Do you use Chrome or Firefox? If so, try logging in with the anonymous/incognito mode. Sometimes you might end up with a strange cookie configuration. I want to make sure that's not the problem here. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Tue, Dec 7, 2010 at 12:47 AM, Ploy ploy.tangtulyang...@uwa.edu.auwrote: Hi everyone, I have some problems with Google App Engine. I have created a few applications. However, I couldn't access http://appengine.google.com. It said that the problem is about redirect loop. Then I tried a couple of things, still didn't solve it. Those things are, removing myself from the Admin and re-adding etc. I couldn't think of a better way to solve it. So, I decided to delete my own account and recreate the account again. Then when I tried to sign up for Google App Engine, I've got 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. If I access http://appengine.google.com, I've got the redirect error. (Even clicking the Invitation to develop App link in the email) Can anyone help me on this please? Kind regards, Ploy -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] OpenID
It looks like you can log into Facebook using OpenId, but Facebook is not an OpenId provider: http://developers.facebook.com/blog/post/246 Is there evidence of the contrary? -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Tue, Dec 7, 2010 at 1:19 AM, Massimiliano massimiliano.pietr...@gmail.com wrote: Hi, I'm building an app and I want to use the OpenID. I have seen that someone is using it with the FACEBOOK accounts, but in the documentations in Google and in http://openid.net/get-an-openid/ I can't see this provider. Can someone help me with this? Regards Massimiliano -- My email: massimiliano.pietr...@gmail.com My Google Wave: massimiliano.pietr...@googlewave.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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Incredible traffic saving with the header Cache-control: public???
Hi Gonzo, If you have a lot of authenticated users the difference you are seeing is probably in the cached authenticated requests. From http://www.mnot.net/cache_docs/: My pages are password-protected; how do proxy caches deal with them? By default, pages protected with HTTP authentication are considered private; they will not be kept by shared caches. However, you can make authenticated pages public with a Cache-Control: public header; HTTP 1.1-compliant caches will then allow them to be cached. If you’d like such pages to be cacheable, but still authenticated for every user, combine the Cache-Control: public and no-cache headers. This tells the cache that it must submit the new client’s authentication information to the origin server before releasing the representation from the cache. This would look like: Cache-Control: public, no-cache Whether or not this is done, it’s best to minimize use of authentication; for example, if your images are not sensitive, put them in a separate directory and configure your server not to force authentication for it. That way, those images will be naturally cacheable. On Dec 6, 4:19 pm, GONZO gonzom...@gmail.com wrote: Hi, first thanks for your attention and sorry for my English translation. I have a question that intrigues me a few weeks. This is the header cache-control in particular the behavior of the options private and public in Google App Engine. First of all, this is only to serve static files (css, js, etc) Let's go. With cache-control: private experiment curve normal traffic. But with cache-control: public experiment Traffic incredible savings. In both cases, everything seems to work well. The question is: 1. How can traffic be a big savings? Is reduced to 15%. 2. Saving you a real traffic? Or is something special instead of Google App Engine? Better look at this diagram illustrates:http://gonzo.teoriza.com/almacen/cache-control.jpg Thanks in advance, I hope to be clarified. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Question about Datastore Admin and clearing all data when you are at 100% quota
Hi, I'd like to use the Datastore Admin interface to clear all data. The current state of the application is it is at 100% quota for datastore Total Stored Data100% But the message I see (right away) is The API call datastore_v3.Put() required more quota than is available. Does this mean the Datastore Admin interface cannot delete when the quota is hit? Thanks, Ralph -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Question about Datastore Admin and clearing all data when you are at 100% quota
Hi Ralph, Yup. Warning! Deleting entities in bulk happens within your application, and thus counts against your quota. http://code.google.com/appengine/docs/python/datastore/creatinggettinganddeletingdata.html#Deleting_Entities_in_Bulk Robert On Tue, Dec 7, 2010 at 13:31, fedex1 fed...@gmail.com wrote: Hi, I'd like to use the Datastore Admin interface to clear all data. The current state of the application is it is at 100% quota for datastore Total Stored Data 100% But the message I see (right away) is The API call datastore_v3.Put() required more quota than is available. Does this mean the Datastore Admin interface cannot delete when the quota is hit? Thanks, Ralph -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] OpenID
In this link ( http://code.google.com/intl/it-IT/appengine/articles/openid.html), in the image in the bottom there is written Sign in with your existing account and below it the Facebook logo. So I was supposing that I can use facebook, as are used the other provider in the example given... 2010/12/7 Ikai Lan (Google) ikai.l+gro...@google.comikai.l%2bgro...@google.com It looks like you can log into Facebook using OpenId, but Facebook is not an OpenId provider: http://developers.facebook.com/blog/post/246 Is there evidence of the contrary? -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Tue, Dec 7, 2010 at 1:19 AM, Massimiliano massimiliano.pietr...@gmail.com wrote: Hi, I'm building an app and I want to use the OpenID. I have seen that someone is using it with the FACEBOOK accounts, but in the documentations in Google and in http://openid.net/get-an-openid/ I can't see this provider. Can someone help me with this? Regards Massimiliano -- My email: massimiliano.pietr...@gmail.com My Google Wave: massimiliano.pietr...@googlewave.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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- My email: massimiliano.pietr...@gmail.com My Google Wave: massimiliano.pietr...@googlewave.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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: FederatedLogin: Is logout supported?
Thanks for the suggestion, but don't think this is a feasible solution for a real world application. Is it possible to redirect to the proposed Google logout links and pass something like a next url so that the user will end up on the login page of my app? Right now I'm using PAPE=0 in my own OpenID implementation, but I'd like to switch to the GAE implementation in order to be able to send emails on the behalf of the current user. What a mess :-( On 7 Dez., 16:06, l.denardo lorenzo.dena...@gmail.com wrote: You must log out from the Google Account you used to log in from your app, otherwise you'll get logged in again (logout from your app works: in fact, you're being logged in again with a new session): after all, that's what single sign on is meant to do :-) What you can do is deploy a servlet at /_ah/openid_logout which says to your user you logged out: logout from Google too and provide the logout link for Google Accounts (e.g.https://mail.google.com/mail/?logouthl=en) or Google Apps (https://mail.google.com/a/mydomain.com/?logouthl=en- GB). AFAIK there's no other chance to do it: I can confirm Atlassian Jira uses this approach to manage this use case (that's where I copied it from, btw). Regards Lorenzo On Dec 7, 3:31 pm, dflorey daniel.flo...@gmail.com wrote: Do you know any working app with a proper OpenID workflow where I can test if this really works? I want to achieve that a user can login to the app, logout and can login with a different account of the same domain (without being forced to clear the cache manually). On 6 Dez., 12:33, l.denardo lorenzo.dena...@gmail.com wrote: Logout works *for your app*. This means that your user is logged out from your app, but must explicitly log out from his Google Account. If the user comes back to your app while still being logged in to Google and you accept login without any intermediate step, he will be logged in again in your application. If he logged out from Google, or you provide an intermediate step (e.g. your app login page asks if you want to login with Google accounts or Google Apps) everything will work fine. Regards Lorenzo On Dec 6, 10:17 am, dflorey daniel.flo...@gmail.com wrote: Hi, is logout currently supported with FederatedLogin on app engine? Is it possible to use the logout url and login afterwards with a different email on the same domain or will it automatically login with the previous email until I empty all cookies? I've read about this a while ago in the docs, but the note is gone so I'm wondering if this is now fixed. Thanks, Daniel -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] sms validation requested
https://appengine.google.com/waitlist/sms_issues On Tue, Dec 7, 2010 at 12:35, brindy christopher.br...@gmail.com wrote: Hi, I've been using Google App Engine for a while now. I have an app that's been running for a good few months and have been deploying and deleting other projects for quite some time as well. Today (for the first time in a while) I decided to create a new application and was prompted for SMS Validation. I was unclear why I had to go through this step again, but I followed the instructions anyway. However, after entering my mobile number to send the SMS too I get the message The phone number has been sent too many messages or has already been used to confirm an account. Which makes sense as I have validated my account previously with that number. The only thing I can fathom is that I changed my google email address from @googlemail.com to @gmail.com a while back. This actually caused some problems in other appspot applications, so perhaps it's related. Has anyone else experienced this? Thanks in advance. Cheers, Chris -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Incredible traffic saving with the header Cache-control: public???
yes, incredible savings. Need to include a version number or hash tag in the URL to ensure that new versions get pushed in sync. An example: http://bbfdirect.com/ I'm working on the next level, which is enable cache-control for the HTML itself, i.e. render the page and then make AJAX calls to fetch the dynamic content, and detect out-of-date HTML using the AJAX calls. My lead eng thinks I'm psycho and I probably am. We're starting with cache-control: private on that stuff, but if I can resolve the issues with proxies serving cached data during javascript:window.reload(true), then we'll go public FTW. wish me luck (we went live with the private version yesterday), adam On Dec 7, 10:07 am, Erik erik.e.wil...@gmail.com wrote: Hi Gonzo, If you have a lot of authenticated users the difference you are seeing is probably in the cached authenticated requests. Fromhttp://www.mnot.net/cache_docs/: My pages are password-protected; how do proxy caches deal with them? By default, pages protected with HTTP authentication are considered private; they will not be kept by shared caches. However, you can make authenticated pages public with a Cache-Control: public header; HTTP 1.1-compliant caches will then allow them to be cached. If you’d like such pages to be cacheable, but still authenticated for every user, combine the Cache-Control: public and no-cache headers. This tells the cache that it must submit the new client’s authentication information to the origin server before releasing the representation from the cache. This would look like: Cache-Control: public, no-cache Whether or not this is done, it’s best to minimize use of authentication; for example, if your images are not sensitive, put them in a separate directory and configure your server not to force authentication for it. That way, those images will be naturally cacheable. On Dec 6, 4:19 pm, GONZO gonzom...@gmail.com wrote: Hi, first thanks for your attention and sorry for my English translation. I have a question that intrigues me a few weeks. This is the header cache-control in particular the behavior of the options private and public in Google App Engine. First of all, this is only to serve static files (css, js, etc) Let's go. With cache-control: private experiment curve normal traffic. But with cache-control: public experiment Traffic incredible savings. In both cases, everything seems to work well. The question is: 1. How can traffic be a big savings? Is reduced to 15%. 2. Saving you a real traffic? Or is something special instead of Google App Engine? Better look at this diagram illustrates:http://gonzo.teoriza.com/almacen/cache-control.jpg Thanks in advance, I hope to be clarified. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Channel API: a suggestion
Hi, Will - thanks for the feedback. This is an artifact of how the dev appserver works (because of polling, we need to queue messages), but the Channel API doesn't behave this way in production. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Channel API - what after 2 hours?
Hi Rafael - thanks for the question. onerror onclose will be called when the token times out. At this point you can use XHR to request a new token and create a new channel. You're right that it would be nice to be able to simulate this for testing -- feel free to file a feature request. -Moishe -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] sms validation requested
I've done that already, but since it's not a carrier problem and I've sms validated already I'm wondering if it's something else. Cheers Chris On 7 Dec 2010, at 19:23, Robert Kluin robert.kl...@gmail.com wrote: https://appengine.google.com/waitlist/sms_issues On Tue, Dec 7, 2010 at 12:35, brindy christopher.br...@gmail.com wrote: Hi, I've been using Google App Engine for a while now. I have an app that's been running for a good few months and have been deploying and deleting other projects for quite some time as well. Today (for the first time in a while) I decided to create a new application and was prompted for SMS Validation. I was unclear why I had to go through this step again, but I followed the instructions anyway. However, after entering my mobile number to send the SMS too I get the message The phone number has been sent too many messages or has already been used to confirm an account. Which makes sense as I have validated my account previously with that number. The only thing I can fathom is that I changed my google email address from @googlemail.com to @gmail.com a while back. This actually caused some problems in other appspot applications, so perhaps it's related. Has anyone else experienced this? Thanks in advance. Cheers, Chris -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: having trouble with uploading app
My partner and I are both getting this 503-unexpected problem, repeatedly, on different platforms, with 1.3.8. (We're in different countries, too.) We've done nothing with error handlers, and it was working for both of us as of yesterday. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Errors trying to deploy (503 - try again)
Same here... Really need to get an update through today. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: Errors trying to deploy (503 - try again)
I thought this might be a problem with 1.3.8 deploying, but after updating to 1.4.0 I still have the same problem. So basically cannot update my application right now with fixes. Any ideas on what might be going on would be very helpful. I was able to deploy at 3.40 EST without a problem. The appid is fpgamesserver-test, in case it's helpful to app-engine support staff. On Tue, Dec 7, 2010 at 4:48 PM, InspiradoGames inspiradoga...@gmail.comwrote: Same here... Really need to get an update through today. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: Amazon AWS vs Google App Engine
Blocking is nothing new. China of course has been doing it for a long time - but they are by no means the only country. Surely in this thread you asking if Google would do anything themselves? On 7 December 2010 22:36, nickmilon nickmi...@gmail.com wrote: It seems the question is not hypothetical any more and a new government request is coming soon: The Tunisian government, known for its restriction on freedom of expression, rapidly blocked the access to Tunileaks. They first blocked http://tunileaks.appspot.com/ ( without the https). One day later, they blocked Google App Engine’s IP address (209.85.229.141) in order to block Tunileaks under https, making appspot.com partially unavailable in the country . ( http://elitestv.com/pub/2010/12/tunisia-censorship-continues-as-wikileaks-cables-make-the-rounds ) On Dec 6, 10:10 pm, Ikai Lan (Google) ikai.l+gro...@google.com wrote: I don't have anything to add to this discussion except that we're always thinking of our users first. We recently published something called the Transparency Report which shows which governments ask us to take things down: http://www.google.com/transparencyreport/governmentrequests -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Sat, Dec 4, 2010 at 6:30 AM, Jeff Schwartz jefftschwa...@gmail.com wrote: Freedom of speech is always a worthwhile subject and its defense is the ethical and moral obligation of every freedom loving individual but perhaps this is best discussed in a dedicated blog on the subject. On Sat, Dec 4, 2010 at 9:11 AM, nickmilon nickmi...@gmail.com wrote: Philip +1 Still I am not sure that G would surrender so easily as Amazon did, there is a precedence: G vs Lieberman story: http://googlepublicpolicy.blogspot.com/2008/05/dialogue-with-sen-lieb... when G stood to its values. By the way ... http://wikileaks.org/support.html doesn't work for me http://213.251.145.96/support.html is working (for the time been) On Dec 4, 3:15 pm, Philip philip.mates...@driggle.com wrote: It's sad that Amazon does not support customers that exercise the right of free speech. But I'd also assume that Google would not stand up against the us government for offending the first amendment. :-( However, I will still donate to Wikileaks and I would suggest anyone else to do the same:http://wikileaks.org/support.html Our liberty depends on the freedom of the press, and that cannot be limited without being lost. Thomas Jefferson If the freedom of speech is taken away then dumb and silent we may be led, like sheep to the slaughter. George Washington On Dec 4, 1:34 am, supercobra superco...@gmail.com wrote: Amazon and Google have been long-time partisans of freedom of speech. However in this case, the pressure coming from the government must be incredible. Amazon is not the only victim of these intimidations. US government employees have been forbidden to visit Wikileaks sites and to discuss these matters on Facebook. At least one US university has been 'persuaded' to ask their students not to reference any Wikileaks documents in their research papers... (how is that for doing thorough research!). Even crounties bend under US pressure. We have seen it to be the case with Spain Germany which dropped their lawsuits, investigations and enforcement of arrest warrants for torture and kidnappings (renditions) after the US pressured them (source Wikileaks cables). So I would assume that Google or any organization would probably comply as well. To ensure free speech can not be prevented by taking down web sites, we need to create a totally distributed website hosting technology based on BitTorrent or something similar. Happy coding. ;-) Daniel Guermeur -- superco...@gmail.com Co-author of App Engine Java and GWT Development:http://bit.ly/hdTHyB Blog:http://supercobrablogger.blogspot.com/ On Fri, Dec 3, 2010 at 5:18 PM, nickmilon nickmi...@gmail.com wrote: There is a lot of talk and flame wars going on AWS vs GAE topic, up to now all this talk was concentrated on technical and economic issues. News of Amazon throwing away the WikiLeaks website has raised new arguments on the cloud battlefront. So I want to raise here the hypothetical question what would be the fate of WikiLeaks if it was hosted on App Engine ? (For obvious reasons I do not expect a definite yes/no answer from Google's team, but may be I am wrong) Happy coding:-) 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-appeng...@googlegroups.com. To
[google-appengine] How to handle user page URLs if usernames are not unique?
Hello, At this testing phase I am registering users by email and they can choose any user name. If I want to create user pages, how do I handle the URLs? Thanks. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: Errors trying to deploy (503 - try again)
When you see a 503, try disabling precompilation. We've been having issues with that service recently that we're trying to hammer out: Java: http://code.google.com/appengine/docs/java/config/appconfig.html#Disabling_Precompilation Python: http://code.google.com/appengine/docs/python/config/appconfig.html#Precompilation Can you let us know if this works for you? -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Tue, Dec 7, 2010 at 2:42 PM, Sundar cyberto...@gmail.com wrote: I thought this might be a problem with 1.3.8 deploying, but after updating to 1.4.0 I still have the same problem. So basically cannot update my application right now with fixes. Any ideas on what might be going on would be very helpful. I was able to deploy at 3.40 EST without a problem. The appid is fpgamesserver-test, in case it's helpful to app-engine support staff. On Tue, Dec 7, 2010 at 4:48 PM, InspiradoGames inspiradoga...@gmail.comwrote: Same here... Really need to get an update through today. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Picking entities got faster?
Hello, I'm pretty new to appengine but I remembered reading Efficient model memcaching [1] a while back and wanted to see it in action now that I'm working on a project. After some surprisingly slow results I decided to benchmark it thoroughly. I run both picke, depickle and protobufy, pickle, depickle, deprotobufy on a list of 100 entities. model: class WasteCategory(db.Model): name = db.StringProperty(required=True) icon = blobstore.BlobReferenceProperty() listed = db.BooleanProperty(default=False) benchmark code: def time_it(self, name, func, n=100): import logging from google.appengine.api import quota t = -quota.get_request_cpu_usage() for i in xrange(0, n): func() t += quota.get_request_cpu_usage() logging.debug(Running %s %d times took %d megacycles, name, n, t) def benchmark(self): import pickle from google.appengine.ext import db from tipfy import Response def protobufy(data): return [db.model_to_protobuf(x).Encode() for x in data] def deprotobufy(data): return [db.model_from_protobuf(x) for x in data] data = [] for i in xrange(0, 100): name = category_%02d % random.randint(1, 99) wc = WasteCategory(name=name, listed=True) data.append(wc) self.time_it(pickle, lambda: pickle.dumps(data)) data = pickle.dumps(data) self.time_it(depickle, lambda: pickle.loads(data)) data = pickle.loads(data) self.time_it(protobufy, lambda: protobufy(data)) data = protobufy(data) self.time_it(pickle_protobufed, lambda: pickle.dumps(data)) data = pickle.dumps(data) self.time_it(depickle_protobufed, lambda: pickle.loads(data)) data = pickle.loads(data) self.time_it(deprotobufy, lambda: deprotobufy(data)) data = deprotobufy(data) return Response() Results: 12-07 04:56PM 36.559 Running pickle 100 times took 3221 megacycles 12-07 04:56PM 37.152 Running depickle 100 times took 1631 megacycles 12-07 04:56PM 39.778 Running protobufy 100 times took 7339 megacycles 12-07 04:56PM 40.424 Running pickle_protobufed 100 times took 1742 megacycles 12-07 04:56PM 41.446 Running depickle_protobufed 100 times took 2843 megacycles 12-07 04:56PM 43.823 Running deprotobufy 100 times took 6634 megacycles Has pickling entities been optimized or am I missing something obvious here? [1] - http://blog.notdot.net/2009/9/Efficient-model-memcaching -- Best Regards Piotr Jaroszyński -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Picking entities got faster?
2010/12/8 Piotr Jaroszyński p.jaroszyn...@gmail.com: 12-07 04:56PM 36.559 Running pickle 100 times took 3221 megacycles 12-07 04:56PM 37.152 Running depickle 100 times took 1631 megacycles 12-07 04:56PM 39.778 Running protobufy 100 times took 7339 megacycles 12-07 04:56PM 40.424 Running pickle_protobufed 100 times took 1742 megacycles 12-07 04:56PM 41.446 Running depickle_protobufed 100 times took 2843 megacycles 12-07 04:56PM 43.823 Running deprotobufy 100 times took 6634 megacycles Sorry but the above results were from a version w/o the .Encode() in protobufy(): Updated: 12-07 05:28PM 34.018 Running pickle 100 times took 3513 megacycles 12-07 05:28PM 34.679 Running depickle 100 times took 1816 megacycles 12-07 05:28PM 37.710 Running protobufy 100 times took 8471 megacycles 12-07 05:28PM 37.878 Running pickle_protobufed 100 times took 391 megacycles 12-07 05:28PM 37.958 Running depickle_protobufed 100 times took 222 megacycles 12-07 05:28PM 41.111 Running deprotobufy 100 times took 8825 megacycles -- Best Regards Piotr Jaroszyński -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: Channel API: a suggestion
Moishe, Thanks, good to know. Best, Will On Wed, Dec 8, 2010 at 4:03 AM, Moishe mois...@google.com wrote: Hi, Will - thanks for the feedback. This is an artifact of how the dev appserver works (because of polling, we need to queue messages), but the Channel API doesn't behave this way in production. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: Channel API: a suggestion
I got another question. Suppose a client (http browser) opens a channel, then navigates away to another page, but the server keeps sending data down to the channel; then the client is back to the previous page, opens a channel again with the same client id but a different token, will it gets the data sent when it was away from the channel? Will On Wed, Dec 8, 2010 at 9:49 AM, Will vocalster@gmail.com wrote: Moishe, Thanks, good to know. Best, Will On Wed, Dec 8, 2010 at 4:03 AM, Moishe mois...@google.com wrote: Hi, Will - thanks for the feedback. This is an artifact of how the dev appserver works (because of polling, we need to queue messages), but the Channel API doesn't behave this way in production. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Picking entities got faster?
2010/12/8 Piotr Jaroszyński p.jaroszyn...@gmail.com: 2010/12/8 Piotr Jaroszyński p.jaroszyn...@gmail.com: 12-07 04:56PM 36.559 Running pickle 100 times took 3221 megacycles 12-07 04:56PM 37.152 Running depickle 100 times took 1631 megacycles 12-07 04:56PM 39.778 Running protobufy 100 times took 7339 megacycles 12-07 04:56PM 40.424 Running pickle_protobufed 100 times took 1742 megacycles 12-07 04:56PM 41.446 Running depickle_protobufed 100 times took 2843 megacycles 12-07 04:56PM 43.823 Running deprotobufy 100 times took 6634 megacycles Sorry but the above results were from a version w/o the .Encode() in protobufy(): Updated: 12-07 05:28PM 34.018 Running pickle 100 times took 3513 megacycles 12-07 05:28PM 34.679 Running depickle 100 times took 1816 megacycles 12-07 05:28PM 37.710 Running protobufy 100 times took 8471 megacycles 12-07 05:28PM 37.878 Running pickle_protobufed 100 times took 391 megacycles 12-07 05:28PM 37.958 Running depickle_protobufed 100 times took 222 megacycles 12-07 05:28PM 41.111 Running deprotobufy 100 times took 8825 megacycles To be clear, these results are from production (dev server doesn't even seem to emulate the quota api). -- Best Regards Piotr Jaroszyński -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Problem with Google App Engine Login
Hi Ikai, I have tried both Firefox, Chrome, IE7 (in both normal and private mode). I tried to reset everything and to delete the auth file/cookie. I still have the same problem. I believe that it may have something to do with my Google Account. Kind regards, Ploy -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: Errors trying to deploy (503 - try again)
Something appears to have changed in the last 10 minutes. Deployment works even with pre-compilation. I could try with precompilation disabled but it's a bad test since things are working now :( On Tue, Dec 7, 2010 at 8:03 PM, Ikai Lan (Google) ikai.l+gro...@google.comikai.l%2bgro...@google.com wrote: When you see a 503, try disabling precompilation. We've been having issues with that service recently that we're trying to hammer out: Java: http://code.google.com/appengine/docs/java/config/appconfig.html#Disabling_Precompilation Python: http://code.google.com/appengine/docs/python/config/appconfig.html#Precompilation Can you let us know if this works for you? -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Tue, Dec 7, 2010 at 2:42 PM, Sundar cyberto...@gmail.com wrote: I thought this might be a problem with 1.3.8 deploying, but after updating to 1.4.0 I still have the same problem. So basically cannot update my application right now with fixes. Any ideas on what might be going on would be very helpful. I was able to deploy at 3.40 EST without a problem. The appid is fpgamesserver-test, in case it's helpful to app-engine support staff. On Tue, Dec 7, 2010 at 4:48 PM, InspiradoGames inspiradoga...@gmail.comwrote: Same here... Really need to get an update through today. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Problem with Google App Engine Login
What's one of the application IDs you have created? -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Tue, Dec 7, 2010 at 6:22 PM, Ploy ploy.tangtulyang...@uwa.edu.au wrote: Hi Ikai, I have tried both Firefox, Chrome, IE7 (in both normal and private mode). I tried to reset everything and to delete the auth file/cookie. I still have the same problem. I believe that it may have something to do with my Google Account. Kind regards, Ploy -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Problem with Google App Engine Login
uwa-request and uwa-istats -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Incredible traffic saving with the header Cache-control: public???
Cache-Control: private only uses the end user cache to cache resources. Cache-Control: public uses any downstream cache to cache resources (including the browser cache). Google has a downstream cache in front of App Engine requests, so if you serve your resources with Cache-Control: public, Google will cache that resource. Subsequent hits are served from there, and I'm pretty sure they won't even show in your request log at all. j On Dec 6, 3:19 pm, GONZO gonzom...@gmail.com wrote: Hi, first thanks for your attention and sorry for my English translation. I have a question that intrigues me a few weeks. This is the header cache-control in particular the behavior of the options private and public in Google App Engine. First of all, this is only to serve static files (css, js, etc) Let's go. With cache-control: private experiment curve normal traffic. But with cache-control: public experiment Traffic incredible savings. In both cases, everything seems to work well. The question is: 1. How can traffic be a big savings? Is reduced to 15%. 2. Saving you a real traffic? Or is something special instead of Google App Engine? Better look at this diagram illustrates:http://gonzo.teoriza.com/almacen/cache-control.jpg Thanks in advance, I hope to be clarified. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] max_backoff_seconds - working?
Has anyone had any luck getting max_backoff_seconds (in TaskRetryOptions) to work? I'm setting mine to 1,2,3 (seconds), but it seems to be on a 20s fixed retry schedule? Perhaps 20s is the smallest max_backoff_seconds allowed? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: Errors trying to deploy (503 - try again)
I was finally able to successfully deploy when I did the following: 1. remove the precompiled option from app.yaml (i.e. remove the following two lines): derived_file_type: - python_precompiled 2. Execute appcfg.py with the --no_precompilation option Previously I had been trying to deploy with just the --no_precompilation flag but the lines must be removed from app.yaml as well Dave On Tue, Dec 7, 2010 at 7:03 PM, Ikai Lan (Google) ikai.l+gro...@google.comikai.l%2bgro...@google.com wrote: When you see a 503, try disabling precompilation. We've been having issues with that service recently that we're trying to hammer out: Java: http://code.google.com/appengine/docs/java/config/appconfig.html#Disabling_Precompilation Python: http://code.google.com/appengine/docs/python/config/appconfig.html#Precompilation Can you let us know if this works for you? -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Tue, Dec 7, 2010 at 2:42 PM, Sundar cyberto...@gmail.com wrote: I thought this might be a problem with 1.3.8 deploying, but after updating to 1.4.0 I still have the same problem. So basically cannot update my application right now with fixes. Any ideas on what might be going on would be very helpful. I was able to deploy at 3.40 EST without a problem. The appid is fpgamesserver-test, in case it's helpful to app-engine support staff. On Tue, Dec 7, 2010 at 4:48 PM, InspiradoGames inspiradoga...@gmail.comwrote: Same here... Really need to get an update through today. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: FederatedLogin: Is logout supported?
You can star the issue I filed a while ago about this: http://code.google.com/p/googleappengine/issues/detail?id=3301 On Dec 8, 4:22 am, dflorey daniel.flo...@gmail.com wrote: Thanks for the suggestion, but don't think this is a feasible solution for a real world application. Is it possible to redirect to the proposed Google logout links and pass something like a next url so that the user will end up on the login page of my app? Right now I'm using PAPE=0 in my own OpenID implementation, but I'd like to switch to the GAE implementation in order to be able to send emails on the behalf of the current user. What a mess :-( -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Import
Dear all, Can i make one file called databasefile.py with all my datastore class and then use it in all the handler files? From databasefile import databasename? Can more handler file share a database? Thanks Max -- My email: massimiliano.pietr...@gmail.com My Google Wave: massimiliano.pietr...@googlewave.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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: GAE Internals
Okay. Thanks for the info. Maarten On Tue, Dec 7, 2010 at 7:05 PM, Ikai Lan (Google) ikai.l+gro...@google.comikai.l%2bgro...@google.com wrote: Not very. App Engine is built upon Google's existing infrastructure. We've open sourced some of the technologies we use (protocol buffers), but there's a lot that goes into powering Google properties. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Tue, Dec 7, 2010 at 2:21 AM, Maarten maarten.de...@gmail.com wrote: Ikai, Thanks for the reply. I've already stumbled upon AppScale and TyphoonAE. Could you comment on how similar to GAE their internals are? Best regards, Maarten On Dec 6, 11:57 pm, Ikai Lan (Google) ikai.l+gro...@google.comikai.l%2bgro...@google.com wrote: Hi Maarten, Wish that there were an easy answer for this, but there's a LOT that would go into this answer. App Engine uses many Google technologies which in and of themselves are long, complex topics (Protobuf, BigTable -http://labs.google.com/papers/bigtable-osdi06.pdf). I'd start here: http://code.google.com/appengine/articles/datastore/overview.html And I'd ask specific questions if I had any. Two really good pieces of technologies to study are AppScale: http://code.google.com/p/appscale/ http://code.google.com/p/typhoonae/ Both the above technologies are App Engine compatible and use open source technologies in their implementation. Good luck, -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Mon, Dec 6, 2010 at 5:35 AM, Maarten maarten.de...@gmail.com wrote: Hi all, I was wondering, is there any information about the internals of GAE? I'm looking into GAE for the sake of PaaS security research. I'm not looking for the what (each application runs in its own sandbox), but the how (Does each app get its own VM? Or do multiple apps share one VM? And which classes are actually shared? Which strategy is used for isolation? And what about the datastore, is data tagged? Do users get their own 'view'? Etc.). Also, what technologies does GAE use? I know about Jetty, Bigtable etc, but is there a complete survey on this? It would be great to see some more detailed information. What is the reason I can't seem to find this info? Didn't I search enough or is GAE proprietary? Kind regards, Maarten -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group athttp:// groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.