[appengine-java] Difference between xmpp and channel api
Hi, I am going through the XMPP and Channel API examples in http://googcloudlabs.appspot.com/ Both seems to be for chat kind of applications, not sure what fits where, any good use cases please ? -Venu http://schoolk12.appspot.com/ -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Can I/Should I test my *ServiceImpl class? (RPC calls - GAE+GWT+MVP)
Hi coders, I posted this in the GWT group but got no response. It kinda belongs in both because it regards RPC calls and the datastore, but since I got no answers there I thought I would post it here too: I'm still learning GAE+GWT and trying to get into unit testing as I go along. I have finally managed to get my head around MVP and have written some basic tests to test my presenters, using mock objects for the view and server-side service. All good. My question is this: *How can I test whether my RPC calls are working? Should I even be trying to test them?* For example, in my ServiceImpl class I have a function fillDatastore() that populates it with some dummy data - I would like to be able to run this on the datastore stub, using LocalServiceTestHelper, a bit like this test, but using my server side code instead of putting the actual insert code into the test itself: http://code.google.com/appengine/docs/java/tools/localunittesting.html#Writing_Datastore_and_Memcache_Tests As far as I understand it - I can't use GWT.create() to make a real rpc service in a TestCase (have to mock it), and I can't create a datastore stub inside a GwtTestCase. If anyone can point me in the right direction, tell me where I'm confused I would appreciate it greatly. Cheers, Drew -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/qz2E6uRE1D0J. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Re: [google-appengine] Re: CMS for GAE
Hi, Claymus is not yet ready for preview but still you can get project snapshot from https://code.google.com/p/claymus/downloads/list . You should be able to import downloaded code as eclipse project. You may need to do minor changes in project settings, sdk paths, etc. on eclipse, before you can run or deploy it. -- Prashant On Mon, Jul 18, 2011 at 4:56 PM, Cyrille Vincey cvin...@qunb.com wrote: Hi, Is Claymus already available for download and testing? Thanks in advance, Cyrille On Jul 17, 5:48 am, Maneesh Arora mane...@gmail.com wrote: What's the unique advantage of having a CMS in GAE? thanks, Maneeshhttp://mightytext.net On Sat, Jul 16, 2011 at 11:25 AM, Prashant antsh...@gmail.com wrote: Hi All, Claymus is close to its (first) preview release. Only few bug fixes and minor modifications are remaining. Check out the live demo at http://demo.claymus.com. -- Prashant claymus.googlecode.com On Wed, May 25, 2011 at 10:29 AM, Jeff Schnitzer j...@infohazard.org wrote: On Mon, May 23, 2011 at 11:17 AM, Brandon Wirtz drak...@digerat.com wrote: That's more deployed, not spoken. Every Blogger and IT guy on the planet can hack together a PHP Plugin for their CMS. Very Few can do that in Python or Java. ...and even fewer can do it in Ruby or C#. Truly, PHP is in a class by itself. Jeff -- You 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 for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Axis2 soap client implementation doesn't work
Thank for the answers, but i couldn't solve this problem, so I am not using Axis2 anymore. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Task queue timeout with no exception logged
Hi, I have a task chain that occasionally freezes and eventually times out after 10 mins. Tasks normally complete in less than a second but every minute or so one task will lock up. No exception is logged but this is shown in the logs: A serious problem was encountered with the process that handled this request, causing it to exit. This is likely to cause a new process to be used for the next request to your application. If you see this message frequently, you may have a memory leak in your application. (Error code 201) The same task will re-run without error so I suspect some kind of locking problem. However, I cannot be sure and without an exception I do not know where to start looking. The instances tab shows that no instance is using more than 82MB. I'm on the HT datastore and have multi threading turned Thanks! -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/NDThPulmyhsJ. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Entity Relationships
I'm pretty new to the JDO/GAE world, and I'm having some troubles grasping the entity relationship models. I have read about entity groups and parent keys but I can't seem to implement it correctly in my example. I started by trying to model my entities the same way I have done it a million times with JPA and relational databases (see below), but it is not working right. The first error I receive is trying to query for a Team by a manager (select from team where manager==managerParam), I get an error Key of parameter value does not have a parent. So obviously my relationships are not right. I haven't even gotten to the CollectionPlayer yet, since I can't get a simple relationship working Any help would be appreciated! @PersistenceCapable(identityType = IdentityType.APPLICATION) public class Manager { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Key id; @Persistent private User user; } @PersistenceCapable(identityType = IdentityType.APPLICATION) public class Team { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Key id; @Persistent private String name; @Persistent private Manager manager; @Persistent private CollectionPlayer players; } @PersistenceCapable(identityType = IdentityType.APPLICATION) public class Player { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Key id; @Persistent private String name; } -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Unable to find the webapp directory Files\GoogleAppEngine\appengine- java-sdk-1.3.0\demos\guestbook\war
Run CD C:\ appengine-java-sdk-1.3.0\demos\guestbook\war On 30 май, 17:35, Suresh suresh...@gmail.com wrote: hi i have just installed the java sdk. after extracting the files from the appengine-java-sdk-1.3.0 jar, I am trying to start the server with at the command line with the following: C:\Program Files\GoogleAppEngine\appengine-java- sdk-1.3.0\bindev_appserver.cmd C:\Program Files\GoogleAppEngine \appengine-java-sdk-1.3.0\demos\guestbook\war I get the following error message: Unable to find the webapp directory Files\GoogleAppEngine\appengine- java-sdk-1.3.0\demos\guestbook\war can anyone help? Thx -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] An ImageIO plugin must be installed
Hi All, And sorry to reopen this topic but I have the same warning message using SDK 1.5.1 and I'm not trying to resize any image, I'm just serving images in the jpg/png format from the blobstore... The only call to the imageservice in my app is in a converter : viewBean.setImageUrl(ImagesServiceFactory.getImagesService().getServingUrl(object.getBlobkey())); Did anybody had the same issue? (it's a warning not an error...) Thanks' Steph -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Installation problem in Google plugin
Hi guys , I have problem in installing the Google app engine plugin(Java) for Eclipse Indigo,I am Installing for Indigo Java EE IDE, I downloaded the Google Archive and try to Install but IDE says two are more files missing during installation. I want to know whether they are any supporting file to be installed to eclipse. . -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Netbeans support
Hello, why there is no Netbeans support? Who is like me wich to have support for Netbeans like in Eclipse Regards -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/YVqaEs8CLtAJ. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Datastore doing nothing in dev environment
down votefavoritehttp://stackoverflow.com/questions/6724637/gae-development-datastore-not-there# ** Indigo on Windows 7 Pro 64bit Just bringing up an app for the first time; my datastore code is a close copy of various examples out there, and is just trying to save a single simple object. The pm.MakePersistent(o) apparently succeeds (i.e. doesn't throw an exception), but the datastore viewer shows no objects, and the local_db.bin file does not appear (although datastore-indexes-auto.xml was generated in that directory). A subsequent query for the object (using a known field value) returns nothing (unsurprising given the viewer shows nothing.) I suspect a workspace configuration problem, but would have thought some sort of error would have appeared... -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/-aGDf-P-k6EJ. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Javadoc missing in Google plugin for Eclipse
Hello, I'm using Google plugin for Eclipse 3.6, and Javadoc is missing for many classes: servlet, Cache, Json, etc. Did I miss something? Is it a config problem? Thanks, Patrick -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/ME2NRAY8tNQJ. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Google accounts login as part of moduleLoad - CPU intensive - please comment
Hi, I am using UserService login using google accounts. Logs are showing it is taking lot of cpu taime. Could you Please share your experience. 2011-07-18 07:17:12.872 /schooldistrict/login 200 1722ms 1594cpu_ms 0kb Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.122 Safari/534.30,gzip(gfe) 72.219.189.151 - - [18/Jul/2011:07:17:12 -0700] POST /schooldistrict/ login HTTP/1.1 200 415 http://schoolk12.appspot.com/; Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/ 12.0.742.122 Safari/534.30,gzip(gfe) schoolk12.appspot.com ms=1723 cpu_ms=1594 api_cpu_ms=0 cpm_usd=0.044401 loading_request=1 I 2011-07-18 07:17:12.747 com.google.appengine.repackaged.com.google.common.base.internal.Finalizer getInheritableThreadLocalsField: Couldn't access Thread.inheritableThreadLocals. Reference finalizer threads will inherit thread local values. I 2011-07-18 07:17:12.871 This request caused a new process to be started for your application, and thus caused your application code to be loaded for the first time. This request may thus take longer and use more CPU than a typical request for your application. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Can I/Should I test my *ServiceImpl class? (RPC calls - GAE+GWT+MVP)
Ugh... I've been a total muppet for the last week and a half. Even more so than normal. I'm sure I tried to create a new PortalServiceImpl in my regular TestCase last week and got some kind of error... clearly not. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/vnDhQUYYmTsJ. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Re: [google-appengine] Re: CMS for GAE
Yes, you are right. Picking an opensource project and making it work for you is very easy, but making something from scratch has its own fun :) . I stared building Claymus because I felt need of Java based CMS which is made for GAE, considering what GAE is, how it is different from other hosting services, services/apis GAE is providing to developers, etc. etc. etc. Claymus is designed to give you maximum flexibility and support to build your app on top of Claymus. Along with all the GAE features you can take advantage of Servlet Level caching to minimize delay and cpu usage, plugable modules and themes, etc ... (complete list will be put on updated Claymus Website :) ). Regards, Prashant On Mon, Jul 18, 2011 at 7:28 PM, Niklas Rosencrantz nikla...@gmail.comwrote: Having something like a CMS eg like wordpress, joomla or mediawiki compatible then we won't have to start every project from scratch and project would become more configuration than programming which naturally is an advantage since programming takes more time than just configuring a new CMS deployment. I used web2py for a project when a friend wanted a quick website started and naturally to change pages we'd prefer a web-based editor instead of changing templates and redeploying. I'm glad to see some CMS are coming to app engine. Some frameworks offer features that are getting close to that of a CMS, for instance GAE Framework (www.gaeframework.com) comes with a blog engine and when you have a blog you are getting close the the functions of a CMS. Do you agree? On Sun, Jul 17, 2011 at 3:48 AM, Maneesh Arora mane...@gmail.com wrote: What's the unique advantage of having a CMS in GAE? thanks, Maneesh http://mightytext.net On Sat, Jul 16, 2011 at 11:25 AM, Prashant antsh...@gmail.com wrote: Hi All, Claymus is close to its (first) preview release. Only few bug fixes and minor modifications are remaining. Check out the live demo at http://demo.claymus.com . -- Prashant claymus.googlecode.com On Wed, May 25, 2011 at 10:29 AM, Jeff Schnitzer j...@infohazard.orgwrote: On Mon, May 23, 2011 at 11:17 AM, Brandon Wirtz drak...@digerat.com wrote: That's more deployed, not spoken. Every Blogger and IT guy on the planet can hack together a PHP Plugin for their CMS. Very Few can do that in Python or Java. ...and even fewer can do it in Ruby or C#. Truly, PHP is in a class by itself. Jeff -- You 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 for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine 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 for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: How to ensure two entities are updated WITHOUT using transactions?
Last question, promise! I decided to do what the above exception so kindly suggested and created a new PersistenceManager as follows: PersistenceManagerFactory pmfInstance = JDOHelper.getPersistenceManagerFactory(transactions-optional); pmfInstance.setNontransactionalRead(true); pmfInstance.setNontransactionalWrite(true); Basically, I set both NontransactionalRead and NontransactionalWrite to true. This seemed to solve my issue and rolled back the first transaction if the second update failed. Great! However, I'm not sure what these two settings do and I'm slightly worried I may be getting myself into more problems by messing with them. Could someone kindly tell me if my fix is suitable and/or safe? Thanks On Jul 18, 10:02 am, mscwd01 mscw...@gmail.com wrote: Thanks for theupdate. It's a pity you cant check to see if the first transaction committed before it leaves an active state, that'd make things so much easier. I really needed thetwoupdates to occur as quickly as possible so relying on the secondupdateto continue retying via the task queue, is not ideal. Would running the PersistenceManagerFactory with 'NontransactionalRead' and 'NontransactionalWrite' set to 'true' allow me to do what I want? I cant really find any documentation that describes what thosetwo values do. Thanks again On Jul 17, 11:46 pm, Nichole nichole.k...@gmail.com wrote: Good point, I rewrote the code below to better use the available connections and improve the pattern. Regardingupdate1 being committed andupdate2 failing, the first is already committed, yes. I think one has to use a retry for the 2ndupdate(using the task queue structure) for the 2nd operation to eventually succeed, but on a longer timescale. Here's a better approach to the problem: import com.climbwithyourfeet.software.twotransaction.util.PMF; import com.google.appengine.api.datastore.Key; import java.util.ArrayList; import javax.jdo.Transaction; import javax.jdo.PersistenceManager; import java.util.logging.Logger; import com.google.appengine.tools.development.LocalDatastoreTestCase; import java.util.List; import org.junit.After; import org.junit.Before; import org.junit.Test; /** Goal: * Update2entitieswhich reside in 2 different entity groups. * The updates must both pass or both fail. * * Solution: * Use a different transaction for each entity, configurable in jdoconfig.xml. * (Note that it looks like 2 named PersistenceManagerFactory connections are possible, but not more than that, and there is only one transaction for a PMF connection). * * Solution is essentially check that transaction1 succeeds or fails before * committing transaction2. * * The case which needs additional fail-over is the case in which transaction 1 is committed successfully but transaction2 fails. * In this case a retry of transaction2 should be invoked and must eventually succeed. * * For that reason, any code using this pattern should design the logic so that the logic in the 2nd transaction can be consistent on a longer timescale. * * @author nichole */ public class TwoOperationPseudoTransactionTest extends LocalDatastoreTestCase { private final Logger log = Logger.getLogger(this.getClass().getName()); private String iden1 = 1234567; private String iden2 = 1123456; public TwoOperationPseudoTransactionTest() { super(); } @Before public void setUp() throws Exception { super.setUp(); try { PersistenceManager pm = PMF.get().getPersistenceManager(); Transaction tx = pm.currentTransaction(); tx.begin(); UserGameCredits e1 = new UserGameCredits(iden1); pm.makePersistent(e1); pm.flush(); tx.commit(); PersistenceManager pm2 = PMF.get2().getPersistenceManager(); tx = pm2.currentTransaction(); tx.begin(); UserAccount e2 = new UserAccount(iden2); pm2.makePersistent(e2); pm2.flush(); tx.commit(); } catch (Throwable t) { String msg = t.getMessage(); } } @After public void tearDown() throws Exception { super.tearDown(); } @Test public void test2() throws Exception { PersistenceManager pm = PMF.get().getPersistenceManager(); PersistenceManager pm2 = PMF.get2().getPersistenceManager(); final Transaction tx = pm.currentTransaction(); final Transaction tx2 = pm2.currentTransaction(); final ListBoolean completedOp1 = new ArrayListBoolean(); final ListBoolean completedOp2 = new ArrayListBoolean(); try { // change to for
[appengine-java] Re: Experimental blobstore api returning null keys on blob creation
I'd just like to update that after the recent instability and errors, this problem has gotten MUCH WORSE. I really hope that something can be done, soon. On Jul 17, 12:21 pm, tempy fay...@gmail.com wrote: That's exactly my issue, starred, thanks Tom. This has been a high priority issue for 3 months now, and still open! On Jul 17, 4:41 am, Tom Fishman tom.fish...@dishcrunch.com wrote: Assuming you're talking about new blobs, please check this issue:http://code.google.com/p/googleappengine/issues/detail?id=4872. I think there is no good workaround yet. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Scheduler features and load time limitations
Everybody knows about load time issues when using frameworks that take a long time to startup. Take for example Grails. I wonder if we will still encounter these issues after the pricing changes. 1) Will the limit of 30s to start an application be lifted? 2) How smart will the scheduler be to startup new instances? Will it for example take into account the avg load time of previously started instances? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Google accounts login as part of moduleLoad - CPU intensive - please comment
I did not give the context, I am using GWT+GAE - for my app. In GWT module load I am calling RPC service to check if user is already login to google accounts. Some thing is conflicting between RPC return rendering GWT module load. May be browser did not complete rendering while rpc return is trying paint some widgets. Is there any safe way ? On Jul 18, 7:36 am, dreamer venugopal.vasire...@gmail.com wrote: Hi, I am using UserService login using google accounts. Logs are showing it is taking lot of cpu taime. Could you Please share your experience. 2011-07-18 07:17:12.872 /schooldistrict/login 200 1722ms 1594cpu_ms 0kb Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.122 Safari/534.30,gzip(gfe) 72.219.189.151 - - [18/Jul/2011:07:17:12 -0700] POST /schooldistrict/ login HTTP/1.1 200 415 http://schoolk12.appspot.com/; Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/ 12.0.742.122 Safari/534.30,gzip(gfe) schoolk12.appspot.com ms=1723 cpu_ms=1594 api_cpu_ms=0 cpm_usd=0.044401 loading_request=1 I 2011-07-18 07:17:12.747 com.google.appengine.repackaged.com.google.common.base.internal.Finalizer getInheritableThreadLocalsField: Couldn't access Thread.inheritableThreadLocals. Reference finalizer threads will inherit thread local values. I 2011-07-18 07:17:12.871 This request caused a new process to be started for your application, and thus caused your application code to be loaded for the first time. This request may thus take longer and use more CPU than a typical request for your application. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: How to ensure two entities are updated WITHOUT using transactions?
The 2 properties that you are trying to set nontransactionalRead and nontransactionalRead are what is set in the jdoconfig.xml. They define whether that persistence manager will allow queries that are not in a transaction. The datanucleus documentation isn't as readily available for jdo 2.3, so here's what the kodo docs say: 2.5.10. javax.jdo.option.NontransactionalRead Property name: javax.jdo.option.NontransactionalRead Configuration API: kodo.conf.JDOConfiguration.getNontransactionalRead Resource adaptor config-property: NontransactionalRead Default: true Description: Whether the JDO runtime will allow you to read data outside of a transaction. See Section 7.2, “PersistenceManagerFactory Properties” in the JDO Overview for details. 2.5.11. javax.jdo.option.NontransactionalWrite Property name: javax.jdo.option.NontransactionalWrite Configuration API: kodo.conf.JDOConfiguration.getNontransactionalWrite Resource adaptor config-property: NontransactionalWrite Default: false Description: Whether you can modify persistent fields outside of a transaction. See Section 7.2, “PersistenceManagerFactory Properties” in the JDO Overview for details. http://download.oracle.com/docs/cd/E13189_01/kodo/docs316/ref_guide_conf_jdo.html#javax.jdo.option.NontransactionalRead One last post of the example that includes asserts and a few more comments to make it readable: package com.climbwithyourfeet.software.twotransaction.model; import com.climbwithyourfeet.software.twotransaction.util.PMF; import com.google.appengine.api.datastore.Key; import java.util.ArrayList; import javax.jdo.Transaction; import javax.jdo.PersistenceManager; import java.util.logging.Logger; import com.google.appengine.tools.development.LocalDatastoreTestCase; import java.util.List; import org.junit.After; import org.junit.Before; import org.junit.Test; /** Goal: * Update 2 entities which reside in 2 different entity groups. * The updates must both pass or both fail. * * Solution: * Use a different transaction for each entity, * configurable in jdoconfig.xml. * (Note that it looks like 2 named PersistenceMaangerFactory * connections are * possible, but not more than that, and there is only one * transaction for a PMF connection). * * Solution is essentially check that transaction1 succeeds * or fails before committing transaction2. * * The case which needs additional fail-over is the case in * which transaction 1 is committed successfully but transaction2 * fails. In this case a retry of transaction2 should be invoked * and must eventually succeed. * * For that reason, any code using this pattern should design the * logic so that the logic in the 2nd transaction can be consistent * on a longer timescale. * * @author nichole */ public class TwoOperationPseudoTransactionTest extends LocalDatastoreTestCase { private final Logger log = Logger.getLogger( this.getClass().getName()); private String iden1 = 1234567; private String iden2 = 1123456; // change to for tests final boolean commit1 = true; final boolean commit2 = false; public TwoOperationPseudoTransactionTest() { super(); } @Before public void setUp() throws Exception { super.setUp(); log.info(setUp); try { PersistenceManager pm = PMF.get().getPersistenceManager(); Transaction tx = pm.currentTransaction(); tx.begin(); UserGameCredits e1 = new UserGameCredits(iden1); pm.makePersistent(e1); pm.flush(); tx.commit(); PersistenceManager pm2 = PMF.get2().getPersistenceManager(); tx = pm2.currentTransaction(); tx.begin(); UserAccount e2 = new UserAccount(iden2); pm2.makePersistent(e2); pm2.flush(); tx.commit(); } catch (Throwable t) { String msg = t.getMessage(); } } @After public void tearDown() throws Exception { PersistenceManager pm = null; try { pm = PMF.get().getPersistenceManager(); Key key1 = UserGameCredits.createKey(iden1); UserGameCredits e1 = pm.getObjectById(UserGameCredits.class, key1); String var1 = e1.getVariable(); Key key2 = UserAccount.createKey(iden2); UserAccount e2 = pm.getObjectById(UserAccount.class, key2); String var2 = e2.getVariable(); log.info(var1= + var1); log.info(var2= + var2); if (commit1 commit2) { assertEquals(var1, updated); assertEquals(var2, updated); } else if (commit1 !commit2) { assertEquals(var1, updated); assertEquals(var2, ); } else { assertEquals(var1,
[appengine-java] Re: How to ensure two entities are updated WITHOUT using transactions?
The answer to the nontransactionalread and write are below, but meanwhile, if you really do need those updates to be as close to atomic as possible, then you need them in the same entity group so they're co-located in the distributed file system. On Jul 18, 2:02 am, mscwd01 mscw...@gmail.com wrote: Thanks for the update. It's a pity you cant check to see if the first transaction committed before it leaves an active state, that'd make things so much easier. I really needed the two updates to occur as quickly as possible so relying on the second update to continue retying via the task queue, is not ideal. Would running the PersistenceManagerFactory with 'NontransactionalRead' and 'NontransactionalWrite' set to 'true' allow me to do what I want? I cant really find any documentation that describes what those two values do. Thanks again On Jul 17, 11:46 pm,Nicholenichole.k...@gmail.com wrote: Good point, I rewrote the code below to better use the available connections and improve the pattern. Regarding update 1 being committed and update 2 failing, the first is already committed, yes. I think one has to use a retry for the 2nd update (using the task queue structure) for the 2nd operation to eventually succeed, but on a longer timescale. Here's a better approach to the problem: import com.climbwithyourfeet.software.twotransaction.util.PMF; import com.google.appengine.api.datastore.Key; import java.util.ArrayList; import javax.jdo.Transaction; import javax.jdo.PersistenceManager; import java.util.logging.Logger; import com.google.appengine.tools.development.LocalDatastoreTestCase; import java.util.List; import org.junit.After; import org.junit.Before; import org.junit.Test; /** Goal: * Update 2 entities which reside in 2 different entity groups. * The updates must both pass or both fail. * * Solution: * Use a different transaction for each entity, configurable in jdoconfig.xml. * (Note that it looks like 2 named PersistenceManagerFactory connections are possible, but not more than that, and there is only one transaction for a PMF connection). * * Solution is essentially check that transaction1 succeeds or fails before * committing transaction2. * * The case which needs additional fail-over is the case in which transaction 1 is committed successfully but transaction2 fails. * In this case a retry of transaction2 should be invoked and must eventually succeed. * * For that reason, any code using this pattern should design the logic so that the logic in the 2nd transaction can be consistent on a longer timescale. * * @authornichole */ public class TwoOperationPseudoTransactionTest extends LocalDatastoreTestCase { private final Logger log = Logger.getLogger(this.getClass().getName()); private String iden1 = 1234567; private String iden2 = 1123456; public TwoOperationPseudoTransactionTest() { super(); } @Before public void setUp() throws Exception { super.setUp(); try { PersistenceManager pm = PMF.get().getPersistenceManager(); Transaction tx = pm.currentTransaction(); tx.begin(); UserGameCredits e1 = new UserGameCredits(iden1); pm.makePersistent(e1); pm.flush(); tx.commit(); PersistenceManager pm2 = PMF.get2().getPersistenceManager(); tx = pm2.currentTransaction(); tx.begin(); UserAccount e2 = new UserAccount(iden2); pm2.makePersistent(e2); pm2.flush(); tx.commit(); } catch (Throwable t) { String msg = t.getMessage(); } } @After public void tearDown() throws Exception { super.tearDown(); } @Test public void test2() throws Exception { PersistenceManager pm = PMF.get().getPersistenceManager(); PersistenceManager pm2 = PMF.get2().getPersistenceManager(); final Transaction tx = pm.currentTransaction(); final Transaction tx2 = pm2.currentTransaction(); final ListBoolean completedOp1 = new ArrayListBoolean(); final ListBoolean completedOp2 = new ArrayListBoolean(); try { // change to for tests final boolean commit1 = true; final boolean commit2 = false; tx.setSynchronization(new javax.transaction.Synchronization() { public void beforeCompletion() { log.info(before transaction 1); } public void afterCompletion(int status) { switch (status) { case
[appengine-java] Re: How to ensure two entities are updated WITHOUT using transactions?
By the way, if you wanted vary your jdoconfig.xml settings knowing which are impl in appengine, here's a link to appengine datanucleus test code: http://code.google.com/p/datanucleus-appengine/source/browse/trunk/tests/META-INF/jdoconfig.xml?r=514spec=svn514 On Jul 18, 8:44 pm, Nichole nichole.k...@gmail.com wrote: The answer to the nontransactionalread and write are below, but meanwhile, if you really do need those updates to be as close to atomic as possible, then you need them in the same entity group so they're co-located in the distributed file system. On Jul 18, 2:02 am, mscwd01 mscw...@gmail.com wrote: Thanks for the update. It's a pity you cant check to see if the first transaction committed before it leaves an active state, that'd make things so much easier. I really needed the two updates to occur as quickly as possible so relying on the second update to continue retying via the task queue, is not ideal. Would running the PersistenceManagerFactory with 'NontransactionalRead' and 'NontransactionalWrite' set to 'true' allow me to do what I want? I cant really find any documentation that describes what those two values do. Thanks again On Jul 17, 11:46 pm,Nicholenichole.k...@gmail.com wrote: Good point, I rewrote the code below to better use the available connections and improve the pattern. Regarding update 1 being committed and update 2 failing, the first is already committed, yes. I think one has to use a retry for the 2nd update (using the task queue structure) for the 2nd operation to eventually succeed, but on a longer timescale. Here's a better approach to the problem: import com.climbwithyourfeet.software.twotransaction.util.PMF; import com.google.appengine.api.datastore.Key; import java.util.ArrayList; import javax.jdo.Transaction; import javax.jdo.PersistenceManager; import java.util.logging.Logger; import com.google.appengine.tools.development.LocalDatastoreTestCase; import java.util.List; import org.junit.After; import org.junit.Before; import org.junit.Test; /** Goal: * Update 2 entities which reside in 2 different entity groups. * The updates must both pass or both fail. * * Solution: * Use a different transaction for each entity, configurable in jdoconfig.xml. * (Note that it looks like 2 named PersistenceManagerFactory connections are possible, but not more than that, and there is only one transaction for a PMF connection). * * Solution is essentially check that transaction1 succeeds or fails before * committing transaction2. * * The case which needs additional fail-over is the case in which transaction 1 is committed successfully but transaction2 fails. * In this case a retry of transaction2 should be invoked and must eventually succeed. * * For that reason, any code using this pattern should design the logic so that the logic in the 2nd transaction can be consistent on a longer timescale. * * @authornichole */ public class TwoOperationPseudoTransactionTest extends LocalDatastoreTestCase { private final Logger log = Logger.getLogger(this.getClass().getName()); private String iden1 = 1234567; private String iden2 = 1123456; public TwoOperationPseudoTransactionTest() { super(); } @Before public void setUp() throws Exception { super.setUp(); try { PersistenceManager pm = PMF.get().getPersistenceManager(); Transaction tx = pm.currentTransaction(); tx.begin(); UserGameCredits e1 = new UserGameCredits(iden1); pm.makePersistent(e1); pm.flush(); tx.commit(); PersistenceManager pm2 = PMF.get2().getPersistenceManager(); tx = pm2.currentTransaction(); tx.begin(); UserAccount e2 = new UserAccount(iden2); pm2.makePersistent(e2); pm2.flush(); tx.commit(); } catch (Throwable t) { String msg = t.getMessage(); } } @After public void tearDown() throws Exception { super.tearDown(); } @Test public void test2() throws Exception { PersistenceManager pm = PMF.get().getPersistenceManager(); PersistenceManager pm2 = PMF.get2().getPersistenceManager(); final Transaction tx = pm.currentTransaction(); final Transaction tx2 = pm2.currentTransaction(); final ListBoolean completedOp1 = new ArrayListBoolean(); final ListBoolean completedOp2 = new ArrayListBoolean(); try { // change to for tests final boolean
[appengine-java] Re: bulkloader - namespace -errors
Any suggestions on this... Thanks. On Sat, Jul 16, 2011 at 10:08 AM, Aswath Satrasala aswath.satras...@gmail.com wrote: Hello, I was trying to download the data for a particular namespace using the bulkloader tool. Following command is issued. C:\backup\vs-accounting\asterix\Program Files\Google\google_appengine\appcfg.py download_data --filename=aswath.sql3 --url=http://vs-accounting.appspot.com/r emote_api --namespace=aswath-gmail-com Downloading data records. [INFO] Logging to bulkloader-log-20110715.201356 [INFO] Throttling transfers: [INFO] Bandwidth: 25 bytes/second [INFO] HTTP connections: 8/second [INFO] Entities inserted/fetched/modified: 20/second [INFO] Batch Size: 10 [INFO] Opening database: bulkloader-progress-20110715.201356.sql3 [INFO] Opening database: bulkloader-results-20110715.201356.sql3 [INFO] Connecting to vs-accounting.appspot.com/remote_api [ERROR ] Unable to download kind stats for all-kinds download. [ERROR ] Kind stats are generated periodically by the appserver [ERROR ] Kind stats are not available on dev_appserver. Any ideas on how to make bulkloader work with namespaces? -Aswath www.AccountingGuru.in -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] does Google+ use GAE ?
I am curious to know the persistence engine used by Google +. Is it not Google App Engine ? J.Ganesan -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: does Google+ use GAE ?
Hi, J. Smarr, tech lead for G+, says: Our backends are built mostly on top of BigTable and Colossus/GFS in this short description of Google+ insfrastructure: http://www.quora.com/Can-someone-provide-some-information-about-Google+-infrastructure-architecture. regards didier On Jul 19, 6:57 am, J.Ganesan j.gane...@datastoregwt.com wrote: I am curious to know the persistence engine used by Google +. Is it not Google App Engine ? J.Ganesan -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[google-appengine] Re: logs does not work
hong kong do not work too. On Jul 17, 11:22 pm, keakon lolicon kea...@gmail.com wrote: Try Asia/Hong Kong. On Sun, Jul 17, 2011 at 11:01 PM, saintthor saintt...@gmail.com wrote: the logs show out after about 8 hours. now i can see the newest log at 16:22. is it anything about timezone? here is gmt + 8, now is 23:00. On Jul 17, 9:25 pm, saintthor saintt...@gmail.com wrote: run app, with error or not, no logs is found. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Worried about performance of an HTTP based game.
Hi, The easiest way to do this is to not do it, if you'll forgive the misdirection. What is the nature of the update you need to do? Is there a way you can avoid having to update every record, or to update only modified records? What is the upper-limit on players per game, and do the updates for one player depend on what the other player is doing? It's effectively impossible to offer useful suggestions without more concrete details about what you're actually doing. -Nick Johnson On Fri, Jul 15, 2011 at 9:15 PM, Zippoxer zippo...@gmail.com wrote: I'm working on a game and that game will have an update that will run every 10 seconds. In this update every player's data is fetched from the datastore, processed by my code (changed) and saved to the datastore. My worry is how long this update would take if there are 2,000 players in the datastore. I'm almost sure this would take above 30 seconds, especially because I use Python. But I may be wrong in my expectation or in the method of the update. Thanks for reading. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/XuVreG-Uld8J. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Nick Johnson, Developer Programs Engineer, App Engine -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] OAuth Refuses to Function for Non-HTTP(S) Callback URLs
I'm working on connecting my Android application to an App Engine server with the built-in OAuth provider for Python. I'm trying to set a callback for myappname://insert.host.here/oauth/callback, but every time I make a request, I authorise the token and instead of being redirected am given a message: Invalid Callback URL. It looks like most OAuth providers don't currently restrict you to http/https in callbacks (possibly for this very reason). Every http/https request I make works, just the custom callback ones have an issue. Is the App Engine OAuth provider limited to a certain subset of protocols for callbacks? Is there any way to get a list of the allowed callbacks or, preferably, get the limitation lifted? Android and App Engine provide an amazing platform together, but if the OAuth flow is hobbled (e.g, making us use OOB, which isn't very user-friendly), it makes things a bit more difficult. Thanks, Paddy -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/B-J8f70lSOoJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Index writes and the new pricing structure
Dear Greg et al., According to the FAQ, each index write will be charged as an additional datastore write operation. Will this include the index writes for app id, kind and key? According to my understanding, these operations are included today in the index writes counter in App Engine's 'quota details' panel. Having each write operation incur three app-engine internal index writes (regardless of any app specific indices) will be quite cost prohibitive. In fact, this would mean that the actual cost of an entity put is $0.01 for 2,500 operations, rather than $0.01 for 10k operations, as advertised. Can you please clarify what will constitute a index write for billing purposes? Kngt -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/rHJ47NcHtPMJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] vacuum_indexes consistently fails. blocking development.
I've had a production issue open since April with no resolution: http://code.google.com/p/googleappengine/issues/detail?id=4914 My app still has zombie indexes. No amount of update_indexes with a trimmed index.yaml followed by vacuum_indexes makes these things go away. Please fix this bug. We cannot continue to develop our app under these conditions. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Intermittent 404 when hitting my app
Randomly and intermittently when loading a link from my app, appengine throws a 404. Has anyone seen this behaviour ? Reloading the page always works. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] 4.4 ToS question
Hi Is it breaking the TOS 4.4 if I build an API on one account, and then build a front end site which accesses this API on a different account? Not doing it to avoid incurring billing costs (i'll be happy to get to the point where there's enough traffic that we're being charged :) ) We're actually building an API with the intention that others will build clients against it, and our front end happens to just be the first to use it. We have different people working on front end site / back end API. Just want to check if this use case is ok - we don't want to get shut down for something like this. thanks m -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/2bpoU2WklsAJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Where to post production issues? (2 months with no response)
Hey, you got them to nice you! Lucky you! My issue has been ignored since April! http://code.google.com/p/googleappengine/issues/detail?id=4914 On Jul 11, 2:59 pm, Robby Walker robby.wal...@gmail.com wrote: As far as I can tell, the correct place to post production issues is the AppEngine code site - is that true? I posted a very serious issue over 2 months ago and have heard nothing? http://code.google.com/p/googleappengine/issues/detail?id=4972 -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] HOW TO DISPLAY CHANGING INFORMATION IN GOOGLE APP
I'm new to google app, and i wan't to design an app that shows a certain number of pictures, and a map that places markers at each pictures geographic location. This data containing the images and their maps can be changed periodically. What method can i use to store these data on the google app engine, in such a way that they can be changed, by administrative permission, while others can only view the particular image data uploaded. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Using pull queues with REST API
I am wondering if there is something I am doing incorrectly while configuring the acl for my pull queue in queue.yaml. Or perhaps, it is an problem obtaining OAuth tokens. The taskqueue is active. I am able to see my pull-queue in the dashboard, and can post new tasks to the taskqueue from GAE. However, when using the google-api-python-client's gtaskqueue utility to access the REST API, the response is always Error Processing Request, HttpError 403, you are not allowed to make this api call gtaskqueue does the OAuth authentication on first run and gives me a You have successfully authenticated. message. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] appengine seems to giving zero byte response for small responses
Hello All, I have a simple app which requires login. But instead of redirect the user directly to google login I have a link on my main page for Sign In. This page is generated as follows: class Login(webapp.RequestHandler): # GET /login def get(self): user = users.get_current_user() if not user: self.response.out.write(Not signed in ) self.response.out.write('a href=%sSign In/a' % (users.create_login_url('/'))) else: self.response.out.write('Hello, %s ' % (user.nickname())) self.response.out.write('a href=%sSign Out/a' % (users.create_logout_url('/'))) So the response is pretty small, a few bytes. But if I do a wget to the above link it give zero bytes in response the first time I fetch it, on subsequent tries is works fine. From the logs I see the following message in the first request This request caused a new process to be started for your application, and thus caused your application code to be loaded for the first time. This request may thus take longer and use more CPU than a typical request for your application. Whereas there is no such message in the second request which works. Is there something I am missing or is appengine trying to do something for small responses and screwing up especially for new instances ? I would appreciate any help. Thanks -- Pranav P.S. Here are the headers for the zero byte response: HTTP request sent, awaiting response... HTTP/1.0 200 OK Date: Thu, 14 Jul 2011 00:25:29 GMT Content-Type: text/html Server: Google Frontend Content-Length: 0 Connection: Keep-Alive Length: 0 [text/html] -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] javax.xml.ws.WebServiceException
Hi. I have a SOAP web service in GAE. From an other GAE application i access the web service but some times get this error. Caused by: javax.xml.ws.WebServiceException: java.net.SocketTimeoutException: Timeout while fetching: http://.appspot.com/lbswebservice If i test the webService with soapUI i got answer some times in 14 sec. And after the first call it aswer faster, less than a sec. What can i do? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/7XRXhMm1iJ0J. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] WebServiceException
I have a SOAP webservice in the GAE and a client in the GAE too. But some times when the client calls the webservice i got this excepion: Caused by: javax.xml.ws.WebServiceException: java.net.SocketTimeoutException: Timeout while fetching: http://lizbetsoft.appspot.com/lbswebservice If i test the webservice whit soapUI some times it takes 10-14 secs to answer. What can i do to avoid this error in my client side. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/smNr4WpsfXMJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] How to remove datastore indexes
Hi, I'm new in GAE. I have deploy an apps, but how can I remove a datastore indexes? I have an error of my application because Caused by: com.google.appengine.api.datastore.DatastoreNeedIndexException: no matching index found Thanks. /Shamsul -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Unable to create Socket in IE7 from second time
Hi, I am having problem while connecting with Google server to establish channel and create socket with that channel for second time in IE7 browser. I am able to create connection and socket in all other browser like Chrome,firefox ,IE8 IE9. In IE7 browser , i am able to create channel and socket only one time. Once i closed the socket, if i try to create one more socket, it is not allowing me to create socket. Please help me . Thanks Ramesh -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: Updated App Engine Pricing FAQ!
Okay Sent from my iPhone On 13 juil. 2011, at 23:37, Feng xnite...@gmail.com wrote: OK, I have done some quick tests: We are working with 10 Python dictionaries here, ranging from 200KB to 600KB in size. The total size is about 4.2MB, and they contain about 4 million keys in total. We have these 10 dicts serialized and stored in a Datastore Kind. We fetch them using key_names, then we have to call pickle.loads() on them to recreate the dictionaries, and we get/set them in the memcache, which calls pickle.loads() and pickle.dumps() internally. Now to isolate the impact of pickle, we do two experiments. One just getting and setting the strings (serialized form), and the other actually using pickle to convert the strings to the dictionaries we want. -- 1. Just the strings: (1) Load 10 big strings from datastore using key_name: 375ms 270cpu_ms 83api_cpu_ms Profile data: 8390 function calls (8359 primitive calls) in 0.331 CPU seconds In which datastore fetches cost: 100.0000.0000.3230.032 /base/python_runtime/ python_lib/versions/1/google/appengine/ext/db/__init__.py: 1192(get_by_key_name) So 32ms per string on average. (2) Load 10 big strings from memcache: 278ms 93cpu_ms Profile data: 1123 function calls in 0.102 CPU seconds In which memcache fetches cost: 100.0000.0000.1010.010 /base/python_runtime/ python_lib/versions/1/google/appengine/api/memcache/__init__.py: 462(get) So 10ms per string on average, or 1/3 the time of a datastore fetch. I wouldn't call this impressive, but read on. 2. Fetch strings and convert to Python dictionaries using pickle: (1) Load them from datastore and explicitly call pickle.loads(): 4370ms 9626cpu_ms 83api_cpu_ms Profile data: 5417368 function calls (5417337 primitive calls) in 4.339 CPU seconds In which pickle.loads() cost: 100.0150.0023.9830.398 /base/python_runtime/ python_dist/lib/python2.5/pickle.py:1365(loads) So on average 398ms to recreate an object. (2) Load them from memcache, which calls pickle.loads() implicitly: 4535ms 10266cpu_ms Profile data: 5565212 function calls in 4.512 CPU seconds In which memcache fetches cost: 100.0000.0004.4770.448 /base/python_runtime/python_lib/ versions/1/google/appengine/api/memcache/__init__.py:462(get) Almost half a second to fetch a 400KB object from memcache. Note that in this specific case fetching from memcache actually took longer (and more CPU time) than fetching from datastore, and that's because the difference between memcache and datastore is insignificant compared to the parsing cost, and variance in the parsing performance dominates. - As a bonus, memcache.set() costs on the strings and objects, respectively: 100.0000.0000.0980.010 /base/python_runtime/python_lib/ versions/1/google/appengine/api/memcache/__init__.py: 695(_set_with_policy) 100.0000.0009.2320.923 /base/python_runtime/python_lib/ versions/1/google/appengine/api/memcache/__init__.py: 695(_set_with_policy) - In comparison, here are the results with the same objects on a VPS with a single 2.66GHz core using Redis: Store String: 2.4ms - 4x against GAE Fetch String: 0.8ms - 12x against GAE Store Object (cPickle): 65ms - 15x against GAE Fetch Object (cPickle): 50ms - 9x against GAE Store Object (pickle): 320ms - 3x against GAE Fetch Object (pickle): 250ms - 1.8x against GAE Note that the above listed CPU seconds for various GAE operations are extracted from the profile data, which seems to be before the conversion to a 1.2GHz standard CPU. The displayed cpu_ms is over twice that of the corresponding CPU seconds in the profile data: 9626/4339 ~= 10226/4512 ~= 2.2 1.2GHz * 2.2 = 2.664GHz Makes perfect sense:) So Google is most likely using 2.66GHz cores to serve these requests and the above comparisons are quite apples-to- apples. --- rants IMHO this is the problem with AppEngine. It's not only much more expensive than other cloud hosting offerings under the new pricing model, it's also (and has always been) much slower. It is relatively OK with the current power delivered model as Tim termed it, but it's nonsense with the new fuel consumed model. Hey, you force me to
[google-appengine] Stuck bringing my own domain to my app engine
Hi, looks like I've made a mistake with the process of using my own domain with my app engine site. 1) I purchased a domain name (mydomain.com) through www.swishconnect.com.au 2) I created some applications App Engine applications 3) I've signed up for Google Apps 4) Now I would like to use mydomain.com to access one of the app engine site. I thought I could just arrange redirection of traffic via GAE? From what I've read I now need to purchase hosting through www.swishconnect.com.au to redirect traffic. Bummer. What options do I have that do not involve purchasing hosting as well? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/7d91d8qusqcJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Simulating HR database in eclipse
I've been playing around with this and have found no fix. I can't find a place to report bugs :( On Jul 9, 4:56 pm, bejayoharen beayoha...@gmail.com wrote: Hey all, I am interested in using the high replication datastore for an app I've been writing. I don't need to transfer the data, which is good because it's still in development. So I created a new application and set it up using HR. Then, on my machine I set my eclipse project to the new project name. Great, although its not clear to me how I could keep the application name. Now I need to simulate the HR on my machine. The docs are pretty clear on this: you add this -Ddatastore.default_high_rep_job_policy_unapplied_job_pct=20 to your VM arguments (although what exactly does 20 mean? not clear.) So, when I do this, I get some errors when I run my test suite, so I assume I've switched. Then I open up eclipse run configurations window again and that argument is gone. Something has reset it back to the original arguments! If I run it again, now, my test suite runs run, indicating that the behavior has reverted. If these args are managed programmatically, there needs to be some indication that they will be overwritten! When I click on the app engine tab, I see I should be able to choose between Legacy and High Replication in the Local database settings area, but the HR option is grayed out, so that's useless. I need some way to make sure I'm always testing with high replication settings. How do I fix this? I have eclipse: Version: Helios Service Release 2 Build id: 20110218-0911 and the latest google plugin for Helios. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Google plugin in MyEclipse 9 - Unable to sign in
I just ran into this problem myself. Here's the uncaught exception that gets thrown when you try to login or deploy to App Engine: !ENTRY org.eclipse.ui 4 0 2011-07-14 10:40:51.555 !MESSAGE Unhandled event loop exception !STACK 0 java.lang.LinkageError: loader constraint violation: when resolving method com.google.gdt.eclipse.login.LoginCallbackServer.addServlet(Ljava/lang/String;Ljavax/servlet/Servlet;)V the class loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) of the current class, com/google/gdt/eclipse/login/LoginCallbackServer, and the class loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) for resolved class, com/google/gdt/eclipse/login/LoginCallbackServer, have different Class objects for the type javax/servlet/Servlet used in the signature at com.google.gdt.eclipse.login.LoginCallbackServer.init(LoginCallbackServer.java:137) at com.google.gdt.eclipse.login.GoogleLogin.logIn(GoogleLogin.java:403) at com.google.appengine.eclipse.core.deploy.ui.DeployProjectHandler.execute(DeployProjectHandler.java:51) at com.google.appengine.eclipse.core.deploy.ui.DeployProjectAction.run(DeployProjectAction.java:13) I did my best to figure out how to resolve the conflict by loading various versions of the servlet-api.jar ahead of the version in the App Engine SDK, but no joy. I don't know who could best resolve this the Genuitec or the Google plugin team, but I couldn't figure it out in the time I devoted to it. I finally did a fresh install of the basic (not MyEclipse) Eclipse Java (time to try Indigo anyway) and added the Google plugins and SDKs and deployed to App Engine from there. I now have an Eclipse with just the Android plugins, an Eclipse with App Engine and GWT for App Engine projects and MyEclipse which I use for web projects with GWT (but not deployed on App Engine). It's a bit of a bother, but my experience is that there are always conflicts with Eclipse that can be minimized with this sort of segregation. Not the answer you were looking for, but it's how I got it working. Roland -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/oH89hQAFKpcJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Eclipse GAE Deploy Button Does Nothing
I posted a response (which I hope will clear moderation soon) on this same topic here: https://groups.google.com/forum/?hl=en#!searchin/google-appengine/roland$20/google-appengine/gtKmQrpVCIw/oH89hQAFKpcJ Roland -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/fpOhar9IoG4J. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] how to integrate Gmail with other information system?
Hi. At my company wish register the institucional mail (Gmail Platform) with other information system. For example, one employee receive one mail (at Gmail account) and should exist one link or button or similar that press it / activated / clicked ... send information from sender (attachment, subject, date, etc) to other information system. Is that could be possible? I researched and found frameworks or function that connect and access Gmail account. If i use it from my system .. they give me one screenshot / first look of the inbox. But if i received a lot continuos messages (every minute maybe), the first message 2 minutes later is not the first message, could be the second, thrid, etc and when i want register the first message, am registering (with that functions) one recent. Can you help me .. please? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] GAE Beginner
Hi, I am new to GAE,and experimenting on simple servlet program Hello,word. It went fine with 1st run on web application server,but after editing some contents in page,i restarted it,but i am getting the same old result,not getting updated with data. Please fix this . -- Thanks Regards Madhusudhan -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Datastore Admin Copy
The same thing just happened with our application. Moving it out of the source app worked fine (I assume, since the Datastore Admin for the source app shows all copy steps completed). It's been over an hour and the target app is still empty. This was as a small amount of data. Does it take a long time to move, or could there be a problem that does not show up in the logs? Note that I created my own appengine_config.py file in the root directory of the target app with just one line: remoteapi_CUSTOM_ENVIRONMENT_AUTHENTICATION = ('HTTP_X_APPENGINE_INBOUND_APPID', ['my source appid here']) Thanks! On Jul 14, 2:07 am, Kyle Mulka kyle.mu...@gmail.com wrote: Ok, now something really weird is happening. I went into the datastore admin of the source application and initiated a copy. From the perspective of the source application it looks like everything worked fine and completed successfully. But, from the perspective of the target application, no data got transfered. The only indication there that anything happened is one log entry for /_ah/remote_api. What happened? On Jul 13, 2:35 am, Kyle Mulka kyle.mu...@gmail.com wrote: Did the way authentication works on the datastore admin copy function change recently? I tried to copy all the data from one app to another, but it said it failed with a 401 error. When I removed the s~ in front of the app name in appengine_config.py it worked again. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: 1.5.2 SDK Prerelease
I too am extremely interested to see an in-depth explanation of not requiring an exploding index. My project was shelved a year ago because of the exploding index issue. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/mL7xRViiWusJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: GAE Beginner
I fixed this myself . On Thu, Jul 14, 2011 at 11:46 PM, Madhusudhan G Revankar sudhansa...@gmail.com wrote: Hi, I am new to GAE,and experimenting on simple servlet program Hello,word. It went fine with 1st run on web application server,but after editing some contents in page,i restarted it,but i am getting the same old result,not getting updated with data. Please fix this . -- Thanks Regards Madhusudhan -- Thanks Regards Madhusudhan -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Pull-Queue with REST API
Has anybody out there successfully used the REST API to lease tasks from a pull queue? Using the Java and Python API clients to lease a task from my pull-queue has resulted in 403, you are not allowed to make this api call errors. I've double checked that my email has been added to the acl: section of the queue.yaml, and it seems like the OAuth token has been retrieved correctly. If this has worked for you, can you please describe how you are talking to the Taskqueue REST API server? Thanks Nick -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/JxhI_dqbfEwJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Thursday 7/14 Downtime
Hi Nick, my application has just been stuck and throwing exceptions for about an hour. I understand that you need to schedule maintenance periods at short notice, but as far as I can tell, this was announced 2 days ahead in the forum, but not posted into the downtime calendar like I'd expect. I have 5 notification (email AND sms) on that calendar because I really need to communicate downtime to our customers upfront. Did I miss something obvious? Even now I can find the downtime announcements from April and May in that calendar, but not today's downtime. I just realised there's a new sentence in your recent announcement: Most importantly, sign up to receive notices from the App Engine To my knowledge that was not mentioned in the previous announcements, the previous announcements only directed us to the calendar. I get the feeling this downtime was not handled as well as it should have been. But, I'm happy to learn, please let me know what the best way is to stay up to date reliably. Cheers, Per On Jul 13, 7:14 am, Nick Johnson (Google) nick.john...@google.com wrote: Hi Ryan, On Wed, Jul 13, 2011 at 12:33 AM, Ryan Goldstein r...@moberg.com wrote: Regarding https://groups.google.com/d/msg/google-appengine-downtime-notify/C7d8... ... 1. I assume the subject stating July 15 is incorrect, and the real date is Thursday, July 14, as in the body. That's correct. 2. Will this downtime affect apps that don't use the datastore (i.e. only use the Google Spreadsheets API to read/write data)? Only insofar as it will also result in Memcache being cleared. Other than that, your app will continue to serve as normal. -Nick Johnson Thanks, -Ryan -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/Sdy_q1wx20cJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Nick Johnson, Developer Programs Engineer, App Engine -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: HardDeadlineExceptions after the maintenance
My app is also down and I'm getting angry users. Why does the maintenance so often result in blackouts?! On Jul 14, 9:41 pm, Waleed Abdulla wal...@ninua.com wrote: I'm noticing strange behavior as well. Cannot pinpoint it yet, but my app has been up and down since the maintenance. Will post more if I manage to pinpoint the issue. Waleed On Thu, Jul 14, 2011 at 9:30 PM, nischalshetty nischalshett...@gmail.comwrote: Is anyone from the appengine team looking into this? Now I'm getting emails from my users! And they are angry. The maintenance did not go well, at least for our app! -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/XD4RkNs-ezUJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] 500 and 503 errors for 99% of requests.
What is going on?? I'm getting angry emails, someone please look in to this asap. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: HardDeadlineExceptions after the maintenance
If you use Java on GAE, then you might be affected as the status shows. http://code.google.com/status/appengine On Jul 14, 10:44 pm, Black Snapper ja...@jecahill.com wrote: My users are extremely angry as well. We are getting negative reviews in our app thanks to this outage. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: HardDeadlineExceptions after the maintenance
we're getting same problem. but it seems down the status to Noramal now. http://code.google.com/status/appengine is it over? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Need help
Hi, I am facing problem in run/debug setting in eclipse for python(webapp). Not able to run on google app engine. Please help me on this -- Thanks Regards Madhusudhan -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Datastore Admin Copy
This happened to me yesterday as well. The Source app indicated success (19 steps completed), the Target app has no signs of any data. Given it's been a day, I assume it has failed. What should I do? On Jul 14, 2:07 am, Kyle Mulka kyle.mu...@gmail.com wrote: Ok, now something really weird is happening. I went into the datastore admin of the source application and initiated a copy. From the perspective of the source application it looks like everything worked fine and completed successfully. But, from the perspective of the target application, no data got transfered. The only indication there that anything happened is one log entry for /_ah/remote_api. What happened? On Jul 13, 2:35 am, Kyle Mulka kyle.mu...@gmail.com wrote: Did the way authentication works on the datastore admin copy function change recently? I tried to copy all the data from one app to another, but it said it failed with a 401 error. When I removed the s~ in front of the app name in appengine_config.py it worked again. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Trying to move app to High-Replication Datastore using Datastore Admin Copy
I get no errors. 19 steps succeeded on the source app. There is only one log record for remote_api in target app, but no data. I have - remote_api: on and appengine_config.py set with remoteapi_CUSTOM_ENVIRONMENT_AUTHENTICATION = ('HTTP_X_APPENGINE_INBOUND_APPID', ['my source appid here']) Here's the log record: 2011-07-14 14:30:12.823 /_ah/remote_api?rtok=505727511337 200 409ms 77cpu_ms 0kb AppEngine-Google; (+http://code.google.com/appengine; appid: {my source app id}) 0.1.0.40 - - [14/Jul/2011:11:30:12 -0700] GET /_ah/remote_api? rtok=505727511337 HTTP/1.1 200 173 - AppEngine-Google; (+http:// code.google.com/appengine; appid: troopla-a3) {my target appid}.appspot.com ms=409 cpu_ms=78 api_cpu_ms=0 cpm_usd=0.002249 instance=00c61b117c6e2611e40d62d2f5793e9a9d0f If I go to https://{my target app id}.appspot.com/_ah/mapreduce, the status page says: MapReduce Overview Notice: Could not find 'mapreduce.yaml Running jobs No job records found. Launch job Loading... What should I do? Thanks! -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Import Google Hosted Project ... with the Eclipse Plugin is empty
So, it is not particular clear, but is this function only reserved for projects I am a member of? I think it would be great, if I could update my api as soon as there is an update available, without doing this manually. or am I just doing something wrong? best regards Manuel -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Java Remote API - getting 302 error
I have the same issue, because error is 302 (http redirection), I wonder if it's related to authentication? any ideas? Miguel On 12 jul, 10:59, Muneer Malik tutti...@gmail.com wrote: any clues / suggestion here ? not sure if my query was successfully posted ! thanks On Monday, July 11, 2011, Muneer Malik tutti...@gmail.com wrote: Did anyone try this yet? any ideas here? Thanks On Mon, Jul 11, 2011 at 10:51 AM, Muneer Malik tutti...@gmail.com wrote: Exception in thread main java.io.IOException: can't get appId from remote api; status code = 302 at com.google.appengine.tools.remoteapi.RemoteApiInstaller.getAppIdFromServer( RemoteApiInstaller.java:217) at com.google.appengine.tools.remoteapi.RemoteApiInstaller.loginImpl(RemoteApi Installer.java:199) at com.google.appengine.tools.remoteapi.RemoteApiInstaller.login(RemoteApiInst aller.java:165) at com.google.appengine.tools.remoteapi.RemoteApiInstaller.install(RemoteApiIn staller.java:86) at RemoteExample.main(RemoteExample.java:29) Any clues? Best,Muneer -- Confidentiality Notice --- THIS INFORMATION IS INTENDED ONLY FOR THE USE OF THE ADDRESSEE AND MAY CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL AND EXEMPT FROM DISCLOSURE UNDER APPLICABLE LAW. IF YOU ARE NOT THE INTENDED RECIPIENT, OR THE EMPLOYEE OR AGENT RESPONSIBLE FOR DELIVERING THIS MESSAGE TO THE INTENDED RECIPIENT, YOU ARE HEREBY NOTIFIED THAT ANY DISSEMINATION, DISTRIBUTION OR COPYING OF THE COMMUNICATION IS STRICTLY PROHIBITED. IF YOU HAVE RECEIVED THIS COMMUNICATION IN ERROR, PLEASE NOTIFY IMMEDIATELY AT tutti...@gmail.com OR BY TELEPHONE AT 817-458-1764. THANK YOU. -- Confidentiality Notice --- THIS INFORMATION IS INTENDED ONLY FOR THE USE OF THE ADDRESSEE AND MAY CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL AND EXEMPT FROM DISCLOSURE UNDER APPLICABLE LAW. IF YOU ARE NOT THE INTENDED RECIPIENT, OR THE EMPLOYEE OR AGENT RESPONSIBLE FOR DELIVERING THIS MESSAGE TO THE INTENDED RECIPIENT, YOU ARE HEREBY NOTIFIED THAT ANY DISSEMINATION, DISTRIBUTION OR COPYING OF THE COMMUNICATION IS STRICTLY PROHIBITED. IF YOU HAVE RECEIVED THIS COMMUNICATION IN ERROR, PLEASE NOTIFY IMMEDIATELY AT tutti...@gmail.com OR BY TELEPHONE AT 817-458-1764. THANK YOU. -- Confidentiality Notice --- THIS INFORMATION IS INTENDED ONLY FOR THE USE OF THE ADDRESSEE AND MAY CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL AND EXEMPT FROM DISCLOSURE UNDER APPLICABLE LAW. IF YOU ARE NOT THE INTENDED RECIPIENT, OR THE EMPLOYEE OR AGENT RESPONSIBLE FOR DELIVERING THIS MESSAGE TO THE INTENDED RECIPIENT, YOU ARE HEREBY NOTIFIED THAT ANY DISSEMINATION, DISTRIBUTION OR COPYING OF THE COMMUNICATION IS STRICTLY PROHIBITED. IF YOU HAVE RECEIVED THIS COMMUNICATION IN ERROR, PLEASE NOTIFY IMMEDIATELY AT tutti...@gmail.com OR BY TELEPHONE AT 817-458-1764. 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-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Logging
@googleappengine Since yesterday Google Appengine's logging functionality stopped working for my application(eve-hub, using python). Every single request to my application should result in at least a few logging.info results in the log viewer in my administrative panel. But it appears that only a small percentage is actually shown now there. Even when exceptions happen, only some are logged, most are discarded. What can I/you do to fix this? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [appengine-java] Re: [google-appengine] Re: CMS for GAE
What's the unique advantage of having a CMS in GAE? thanks, Maneesh http://mightytext.net On Sat, Jul 16, 2011 at 11:25 AM, Prashant antsh...@gmail.com wrote: Hi All, Claymus is close to its (first) preview release. Only few bug fixes and minor modifications are remaining. Check out the live demo at http://demo.claymus.com . -- Prashant claymus.googlecode.com On Wed, May 25, 2011 at 10:29 AM, Jeff Schnitzer j...@infohazard.orgwrote: On Mon, May 23, 2011 at 11:17 AM, Brandon Wirtz drak...@digerat.com wrote: That's more deployed, not spoken. Every Blogger and IT guy on the planet can hack together a PHP Plugin for their CMS. Very Few can do that in Python or Java. ...and even fewer can do it in Ruby or C#. Truly, PHP is in a class by itself. Jeff -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Impossible to update backend
Since last maintenance I have been experiencing problems with backends: - dynamic backend instances dissapeared after some time executing (I have had to sitch my two Backends to static/Resident now) - one of my resident backends' instances still continue dissapearing. Worst of all, when I try to update this backend (B2, 1 instance, resident), the appcfg tool always respond with the Unable to update app: Version not ready message, after some minutes trying to upload. I have tried to delete the backend, with no change. This backend should be running as part of an application that is now life and in Marketplace (we are paying for it), is there any way to fix this ASAP? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/L41G3Oru0-QJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Is anyone seeing deployment 500 server error now?
I have similr problem, I cannot deploy one of my backends since 2 hours ago (but the other backend deployed with no problem !?!). I receive a GRAVE: Version still not ready to serve, aborting. since two hours ago for this backend everythime I try to update. I tried removing the backend before deploying, but with no possitive results. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/J1nIl7Eds90J. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] google app.
hello all. I am finding problem in creating a database which could run on google sdk. I am unable to import Db package from google app folder.please help me . -- SHOBHIT SUMAN B.Tech(II year) Computer Science Engineering The LNM Institute of Information Technology Jaipur, India. #+91-7742475353 -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] User-agent has disappeared from logs(static files only)
Hi, The logs for static files do not show user-agent since last maintenance. 2011-07-16 08:50:35.872 /robots.txt 200 22ms 0cpu_ms 0kb 65.52.xx.xx - - [16/Jul/2011:08:50:35 -0700] GET /robots.txt HTTP/ 1.1 200 0 - - www.domanin.com ms=22 cpu_ms=0 api_cpu_ms=0 cpm_usd=0.40 can someone confirm this. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Logs don't expand!
My application's logging mechanism is working just fine. However, the log entries that are getting created seep to be non-expandable. I usually log sufficient detail with my INFO entries, and depend on these logs to help debug ERROR entries. When I tried to expand a recent error entry, no extra data showed up. Here's an example: The entry is: *2011-07-17 13:29:24.374 /updateStatus 500 8173ms 378cpu_ms 215api_cpu_ms 0kb Apache-HttpClient/UNAVAILABLE (java 1.4) * And if I expand it, this is all I get (I'd at least expect a Python stack trace usually): *2011-07-17 13:29:24.374 /updateStatus 500 8173ms 378cpu_ms 215api_cpu_ms 0kb Apache-HttpClient/UNAVAILABLE (java 1.4) 66.146.205.116 - sailrish [17/Jul/2011:06:29:24 -0700] POST /updateStatus HTTP/1.1 500 585 - Apache-HttpClient/UNAVAILABLE (java 1.4) r1-eta.shiprack-test1.appspot.com ms=8173 cpu_ms=378 api_cpu_ms=215 cpm_usd=0.010665 loading_request=1 pending_ms=3749 instance=00c61b117c0aad029392db333b13fcdcba016ebf *It appears that this situation applies only to the most recent logs. If I look at logs that are a couple of days old, I can see all the detail. This is a really serious issue - one that completely impedes development. I can't fix errors in my app anymore!! -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/QvvmrVx5ZZkJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Some questions about AppEngine
Hello, i want to make an mmo with AppEngine and i have some questions: 1) Can data stored in MemCache from one instance, read from another instance? I mean, is it a cache for the entire application or separate for each instance? 2) Can a channel created from one instance, send update back to the client from another instance? Thanks -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/b5LBYqF0v_cJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Unittest + Blobstore?
Hi everyone, I'm trying to unit test some blobstore handlers and am having a hard time. I can generate and return an upload url fine, but when I then try to use this url to upload a file I get a 404. I'm using WebTest, Nose and NoseGAE and my code looks a bit like this: upload_url = self.app.get(/upload_url).body # Get a blobstore upload url files = [(file, ./tests/assets/test.zip)] # Prepare the file to upload response = self.app.post(upload_url, upload_files=files) # Returns a 404 Does anyone have an idea where I'm going wrong? Or has anyone got a different way for testing blobstore handlers that works? Thanks in advance :) -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: logs does not work
You're right, the logs do show up after several hours. I have used PST, GMT, GMT+6, etc, and in all cases the problem is still there. Isn't it totally ridiculous that the logs won't show up instantly? It used to work just fine a few days ago. It adds several hours to the turn around time for fixing problems. On Sun, Jul 17, 2011 at 10:01 AM, saintthor saintt...@gmail.com wrote: the logs show out after about 8 hours. now i can see the newest log at 16:22. is it anything about timezone? here is gmt + 8, now is 23:00. On Jul 17, 9:25 pm, saintthor saintt...@gmail.com wrote: run app, with error or not, no logs is found. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: 回覆:Re: 回覆:Re: Not able to copy data from an app to another
I'm having this issue as well, really frustrating. On Jul 17, 3:12 pm, Raymond C. windz...@gmail.com wrote: anyone from Google can update sth about this? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Logging messages don't appear in the logs anymore
Hey, We are using logging.* to log specific events, and then later analyze them offline. Usually at around 5 rps, which hasn't changed. For us, since july 15th, these logging.* requests are only logged occasionally. Instead of the usual 80-100mb of logs of severity 0, we only get about 15-30mb. The requests are still all logged, but the associated logging.* data is not. In the dashboard, only the requests appear, and when downloading with severity 0, nothing is being downloaded. This seems to happen at certain times. For example, the first proper log entry for july 16 is 16/Jul/2011:05:23:11, from which on it seems to run normally for about 2-3 seconds (we're getting a burst of around 20-30 entries, and then there is a huge gap to 16/Jul/2011:05:30:23. This continues throughout the day. Today we have not received a single log line yet, although we already had more than 40k requests, each of which generates a log message on any code-path. Everything else is appearing to run normally. This has crippled our analytics, which are crucial to our service. Please let me know what I can do to fix this issue, time is of the essence. Thanks, Volker -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/bNEGjiObxSAJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: how to integrate Gmail with other information system?
On which platform you are Working ?? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Static SQLite files
I'm trying to write an app that has to handle somewhat complex queries to a never (or very rarely) changing data set. Right now I have a static .csv file that my app reads, parses, and returns results from. This solution isn't really ideal though, I would much rather have a read-only SQLite file that the app can read, so that I can make use of all of the good things that come with using a database (indices, complex queries, performance ...). It seems like App Engine refuses to load the sqlite3 python module, even if I don't try to open a file for writing. Is there some workaround to get read-only SQLite access in App Engine? I can't imagine I'm the first person who's wanted to do this, but everything I've found has been about people using SQLite as a local store for the App Engine development kit, or wanting to use SQLite as a read-write datastore. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Logging messages don't appear in the logs anymore
I think your issue might be similar to mine, but I'm not positive. I logged an issue in the GAE Issue Tracker - its been two days without any attention from google. Perhaps multiple comments from users would help escalate it? http://code.google.com/p/googleappengine/issues/detail?id=5356 2011/7/18 Volker Schönefeld volker.schoenef...@gmail.com Hey, We are using logging.* to log specific events, and then later analyze them offline. Usually at around 5 rps, which hasn't changed. For us, since july 15th, these logging.* requests are only logged occasionally. Instead of the usual 80-100mb of logs of severity 0, we only get about 15-30mb. The requests are still all logged, but the associated logging.* data is not. In the dashboard, only the requests appear, and when downloading with severity 0, nothing is being downloaded. This seems to happen at certain times. For example, the first proper log entry for july 16 is 16/Jul/2011:05:23:11, from which on it seems to run normally for about 2-3 seconds (we're getting a burst of around 20-30 entries, and then there is a huge gap to 16/Jul/2011:05:30:23. This continues throughout the day. Today we have not received a single log line yet, although we already had more than 40k requests, each of which generates a log message on any code-path. Everything else is appearing to run normally. This has crippled our analytics, which are crucial to our service. Please let me know what I can do to fix this issue, time is of the essence. Thanks, Volker -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/bNEGjiObxSAJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Logging
I think your issue might be similar to mine, but I'm not positive. I logged an issue in the GAE Issue Tracker - its been two days without any attention from google. Perhaps multiple comments from users would help escalate it? http://code.google.com/p/googleappengine/issues/detail?id=5356 On Sat, Jul 16, 2011 at 3:34 AM, Aidamina aidam...@gmail.com wrote: @googleappengine Since yesterday Google Appengine's logging functionality stopped working for my application(eve-hub, using python). Every single request to my application should result in at least a few logging.info results in the log viewer in my administrative panel. But it appears that only a small percentage is actually shown now there. Even when exceptions happen, only some are logged, most are discarded. What can I/you do to fix this? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: how to override skip_files on local dev server
Thanks. I just looked at the code in dev_appserver.py and dev_appserver_main.py, and saw that there is a command line option -- allow_skipped_files. I plan to use this on my dev server to get around this problem. On Jul 15, 6:36 pm, Jay Young jayyoung9...@gmail.com wrote: Put your JS files outside of your app's directory structure and have your build process put the minified files in the right folder. If you need to serve all of your JS files during development, you can serve them separately from your app using python -m SimpleHTTPServer from your root JS directory. You just need to update the script tag in your HTML file. Or, have one app.yaml file for development and another for deployment. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: 回覆:Re: 回覆:Re: Not able to copy data from an app to another
Hi Still not working. I just submit a ticket for this, please star if it's happening to you: http://code.google.com/p/googleappengine/issues/detail?id=5360 Google guys is Monday get to work! Cheers, Sebastián -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/CyYe08KTmBEJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Logging
i meet same trouble. the logs show 7 hours after happening. On Jul 16, 4:34 pm, Aidamina aidam...@gmail.com wrote: @googleappengine Since yesterday Google Appengine's logging functionality stopped working for my application(eve-hub, using python). Every single request to my application should result in at least a few logging.info results in the log viewer in my administrative panel. But it appears that only a small percentage is actually shown now there. Even when exceptions happen, only some are logged, most are discarded. What can I/you do to fix this? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] can not view entity in datastore viewer
since yesterday or earlier, click the id of entity in entity list to view it, always show me: Server Error A server error has occurred. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [appengine-java] Re: [google-appengine] Re: CMS for GAE
Having something like a CMS eg like wordpress, joomla or mediawiki compatible then we won't have to start every project from scratch and project would become more configuration than programming which naturally is an advantage since programming takes more time than just configuring a new CMS deployment. I used web2py for a project when a friend wanted a quick website started and naturally to change pages we'd prefer a web-based editor instead of changing templates and redeploying. I'm glad to see some CMS are coming to app engine. Some frameworks offer features that are getting close to that of a CMS, for instance GAE Framework (www.gaeframework.com) comes with a blog engine and when you have a blog you are getting close the the functions of a CMS. Do you agree? On Sun, Jul 17, 2011 at 3:48 AM, Maneesh Arora mane...@gmail.com wrote: What's the unique advantage of having a CMS in GAE? thanks, Maneesh http://mightytext.net On Sat, Jul 16, 2011 at 11:25 AM, Prashant antsh...@gmail.com wrote: Hi All, Claymus is close to its (first) preview release. Only few bug fixes and minor modifications are remaining. Check out the live demo at http://demo.claymus.com . -- Prashant claymus.googlecode.com On Wed, May 25, 2011 at 10:29 AM, Jeff Schnitzer j...@infohazard.orgwrote: On Mon, May 23, 2011 at 11:17 AM, Brandon Wirtz drak...@digerat.com wrote: That's more deployed, not spoken. Every Blogger and IT guy on the planet can hack together a PHP Plugin for their CMS. Very Few can do that in Python or Java. ...and even fewer can do it in Ruby or C#. Truly, PHP is in a class by itself. Jeff -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] can not view entity in datastore viewer
Hi saintthor, What is your appid ? Thanks in advance. On Mon, Jul 18, 2011 at 3:50 PM, saintthor saintt...@gmail.com wrote: since yesterday or earlier, click the id of entity in entity list to view it, always show me: Server Error A server error has occurred. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Johan Euphrosine (proppy) Developer Programs Engineer Google Developer Relations -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: Logging
Hi all, Please comment on this bug report, with your appid: http://code.google.com/p/googleappengine/issues/detail?id=5356 Thanks in advance. On Mon, Jul 18, 2011 at 3:40 PM, saintthor saintt...@gmail.com wrote: i meet same trouble. the logs show 7 hours after happening. On Jul 16, 4:34 pm, Aidamina aidam...@gmail.com wrote: @googleappengine Since yesterday Google Appengine's logging functionality stopped working for my application(eve-hub, using python). Every single request to my application should result in at least a few logging.info results in the log viewer in my administrative panel. But it appears that only a small percentage is actually shown now there. Even when exceptions happen, only some are logged, most are discarded. What can I/you do to fix this? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Johan Euphrosine (proppy) Developer Programs Engineer Google Developer Relations -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Logging messages don't appear in the logs anymore
Hi Volker, Please comment on the bug Rishi pointed you to with your appid. Thanks in advance. On Mon, Jul 18, 2011 at 2:49 PM, Rishi Arora rishi.ar...@ship-rack.com wrote: I think your issue might be similar to mine, but I'm not positive. I logged an issue in the GAE Issue Tracker - its been two days without any attention from google. Perhaps multiple comments from users would help escalate it? http://code.google.com/p/googleappengine/issues/detail?id=5356 2011/7/18 Volker Schönefeld volker.schoenef...@gmail.com Hey, We are using logging.* to log specific events, and then later analyze them offline. Usually at around 5 rps, which hasn't changed. For us, since july 15th, these logging.* requests are only logged occasionally. Instead of the usual 80-100mb of logs of severity 0, we only get about 15-30mb. The requests are still all logged, but the associated logging.* data is not. In the dashboard, only the requests appear, and when downloading with severity 0, nothing is being downloaded. This seems to happen at certain times. For example, the first proper log entry for july 16 is 16/Jul/2011:05:23:11, from which on it seems to run normally for about 2-3 seconds (we're getting a burst of around 20-30 entries, and then there is a huge gap to 16/Jul/2011:05:30:23. This continues throughout the day. Today we have not received a single log line yet, although we already had more than 40k requests, each of which generates a log message on any code-path. Everything else is appearing to run normally. This has crippled our analytics, which are crucial to our service. Please let me know what I can do to fix this issue, time is of the essence. Thanks, Volker -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/bNEGjiObxSAJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Johan Euphrosine (proppy) Developer Programs Engineer Google Developer Relations -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Static SQLite files
You need use your SQLite in DataStore , use the api objectify its very simple. bye 2011/7/18 Jim Cipar jci...@gmail.com I'm trying to write an app that has to handle somewhat complex queries to a never (or very rarely) changing data set. Right now I have a static .csv file that my app reads, parses, and returns results from. This solution isn't really ideal though, I would much rather have a read-only SQLite file that the app can read, so that I can make use of all of the good things that come with using a database (indices, complex queries, performance ...). It seems like App Engine refuses to load the sqlite3 python module, even if I don't try to open a file for writing. Is there some workaround to get read-only SQLite access in App Engine? I can't imagine I'm the first person who's wanted to do this, but everything I've found has been about people using SQLite as a local store for the App Engine development kit, or wanting to use SQLite as a read-write datastore. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- *Felipe Teixeira* *Desenvolvedor Java * IPNET Soluções Tel.: 55 21 3553 2717 / 21-7805-6867 Rua Visconde de Inhaúma, 134, Sala 615 Centro - RJ - CEP: 20091-007 *http://www.ipnetsolucoes.com.br** * ** * * -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: can not view entity in datastore viewer
djdqbbs On Jul 18, 10:12 pm, Johan Euphrosine pro...@google.com wrote: Hi saintthor, What is your appid ? Thanks in advance. On Mon, Jul 18, 2011 at 3:50 PM, saintthor saintt...@gmail.com wrote: since yesterday or earlier, click the id of entity in entity list to view it, always show me: Server Error A server error has occurred. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/google-appengine?hl=en. -- Johan Euphrosine (proppy) Developer Programs Engineer Google Developer Relations -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [appengine-java] Re: [google-appengine] Re: CMS for GAE
Yes, you are right. Picking an opensource project and making it work for you is very easy, but making something from scratch has its own fun :) . I stared building Claymus because I felt need of Java based CMS which is made for GAE, considering what GAE is, how it is different from other hosting services, services/apis GAE is providing to developers, etc. etc. etc. Claymus is designed to give you maximum flexibility and support to build your app on top of Claymus. Along with all the GAE features you can take advantage of Servlet Level caching to minimize delay and cpu usage, plugable modules and themes, etc ... (complete list will be put on updated Claymus Website :) ). Regards, Prashant On Mon, Jul 18, 2011 at 7:28 PM, Niklas Rosencrantz nikla...@gmail.comwrote: Having something like a CMS eg like wordpress, joomla or mediawiki compatible then we won't have to start every project from scratch and project would become more configuration than programming which naturally is an advantage since programming takes more time than just configuring a new CMS deployment. I used web2py for a project when a friend wanted a quick website started and naturally to change pages we'd prefer a web-based editor instead of changing templates and redeploying. I'm glad to see some CMS are coming to app engine. Some frameworks offer features that are getting close to that of a CMS, for instance GAE Framework (www.gaeframework.com) comes with a blog engine and when you have a blog you are getting close the the functions of a CMS. Do you agree? On Sun, Jul 17, 2011 at 3:48 AM, Maneesh Arora mane...@gmail.com wrote: What's the unique advantage of having a CMS in GAE? thanks, Maneesh http://mightytext.net On Sat, Jul 16, 2011 at 11:25 AM, Prashant antsh...@gmail.com wrote: Hi All, Claymus is close to its (first) preview release. Only few bug fixes and minor modifications are remaining. Check out the live demo at http://demo.claymus.com . -- Prashant claymus.googlecode.com On Wed, May 25, 2011 at 10:29 AM, Jeff Schnitzer j...@infohazard.orgwrote: On Mon, May 23, 2011 at 11:17 AM, Brandon Wirtz drak...@digerat.com wrote: That's more deployed, not spoken. Every Blogger and IT guy on the planet can hack together a PHP Plugin for their CMS. Very Few can do that in Python or Java. ...and even fewer can do it in Ruby or C#. Truly, PHP is in a class by itself. Jeff -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Pull-Queue with REST API
hi Nick: I'm sorry this isnt working for you, some quick things to check. When did you last sync from the api client samples? We made a change to the Discovery URL around late June, http://code.google.com/p/google-api-python-client/source/detail?r=10111e1c2391ac86cbe1ccc3e5994ad68e4a8ae9. It would be good to sync to that change. Also can you add a --dump_request to your gtaskqueue command? That may give you some more information about whats going on. Another thing we've seen in the past is due to using multiple logins on the browser, make sure you're authorizing the right account. If all this is fine, please share the command line you're using with gtaskqueue and I can take a look. Thanks Vivek -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/TpPtCfi2B0UJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Static SQLite files
That doesn't solve either of my problems. I'm not trying to use SQLite instead of DataStore, I'm trying to use it instead of static CSV files. To paraphrase the SQLite documentation: don't think of SQLite as a replacement for MySQL, think of it as a replacement for fopen(). I want a lightweight structured file format for *static* data. Serving static data out of DataStore is a waste of resources. Secondly, DataStore doesn't solve the complex query problem. It can't do JOIN, GROUP BY, or any kind of nested queries. Lastly, a memory-only SQLite instance is a very useful abstraction for doing data transformations even when you're not worried about persistence at all. Even if we could simply load the SQLite module for memory-only databases that would be a step in the right direction, though storing my static data in SQLite format would be ideal. On Jul 18, 10:25 am, Felipe Teixeira felipe.teixe...@ipnetsolucoes.com.br wrote: You need use your SQLite in DataStore , use the api objectify its very simple. bye 2011/7/18 Jim Cipar jci...@gmail.com I'm trying to write an app that has to handle somewhat complex queries to a never (or very rarely) changing data set. Right now I have a static .csv file that my app reads, parses, and returns results from. This solution isn't really ideal though, I would much rather have a read-only SQLite file that the app can read, so that I can make use of all of the good things that come with using a database (indices, complex queries, performance ...). It seems like App Engine refuses to load the sqlite3 python module, even if I don't try to open a file for writing. Is there some workaround to get read-only SQLite access in App Engine? I can't imagine I'm the first person who's wanted to do this, but everything I've found has been about people using SQLite as a local store for the App Engine development kit, or wanting to use SQLite as a read-write datastore. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- *Felipe Teixeira* *Desenvolvedor Java * IPNET Soluções Tel.: 55 21 3553 2717 / 21-7805-6867 Rua Visconde de Inhaúma, 134, Sala 615 Centro - RJ - CEP: 20091-007 *http://www.ipnetsolucoes.com.br*** ** * * -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Static SQLite files
http://code.google.com/appengine/docs/python/runtime.html#Pure_Python Can't load C extensions. http://www.google.com/search?q=sqlite+pure+python Might lead to something useful...? On Mon, Jul 18, 2011 at 1:40 PM, Jim Cipar jci...@gmail.com wrote: I'm trying to write an app that has to handle somewhat complex queries to a never (or very rarely) changing data set. Right now I have a static .csv file that my app reads, parses, and returns results from. This solution isn't really ideal though, I would much rather have a read-only SQLite file that the app can read, so that I can make use of all of the good things that come with using a database (indices, complex queries, performance ...). It seems like App Engine refuses to load the sqlite3 python module, even if I don't try to open a file for writing. Is there some workaround to get read-only SQLite access in App Engine? I can't imagine I'm the first person who's wanted to do this, but everything I've found has been about people using SQLite as a local store for the App Engine development kit, or wanting to use SQLite as a read-write datastore. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Pull-Queue with REST API
Another quick thing to check. This is probably not very well documented but I used this in my examples in the Google IO talk. Is your appengine app an HR app? (does it use a HR datastore?) In that case, if your appid is my-appid you need to use the name s~my-appid for the project name on the REST API. - Vivek -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/088bc2OPifwJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] SDK channel_service_stub.py Removing channel in some responses
Hi there, I'm having some issues when sending messages from server to a client through a channel (GAE python SDK) Usually there aren't problems and when a message is sent from the server to the client, the client is able to pick it up: ... DEBUG2011-07-18 16:14:53,800 channel_service_stub.py:105] Creating channel token channel-2384468497-BT01 with client id BT01 ... DEBUG2011-07-18 16:14:59,682 dev_appserver.py:569] Matched /_ah/ channel/dev?command=connectchannel=channel-2384468497-BT01 to google.appengine.tools.dev_appserver_channel.ChannelDispatcher object at 0xace3e8c with path DEBUG2011-07-18 16:14:59,710 dev_appserver.py:4215] GET /_ah/ channel/dev?command=connectchannel=channel-2384468497-BT01 HTTP/1.1 200 - DEBUG2011-07-18 16:14:59,713 dev_appserver_index.py:172] No need to update index.yaml ... [there is something in the channel] DEBUG2011-07-18 16:15:01,147 dev_appserver.py:569] Matched /_ah/ channel/dev?command=pollchannel=channel-2384468497-BT01client=1 to google.appengine.tools.dev_appserver_channel.ChannelDispatcher object at 0xada5cac with path DEBUG2011-07-18 16:15:01,148 channel_service_stub.py:187] Checking for messages on channel (channel-2384468497-BT01) (True) DEBUG2011-07-18 16:15:01,151 channel_service_stub.py:187] Checking for messages on channel (channel-2384468497-BT01) (True) DEBUG2011-07-18 16:15:01,152 channel_service_stub.py:202] Popping first message of queue for channel (channel-2384468497-BT01) DEBUG2011-07-18 16:15:01,187 dev_appserver.py:4215] GET /_ah/ channel/dev?command=pollchannel=channel-2384468497-BT01client=1 HTTP/ 1.1 200 - ... [nothing in the channel] DEBUG2011-07-18 16:15:02,494 dev_appserver.py:569] Matched /_ah/ channel/dev?command=pollchannel=channel-2384468497-BT01client=1 to google.appengine.tools.dev_appserver_channel.ChannelDispatcher object at 0xada952c with path DEBUG2011-07-18 16:15:02,495 channel_service_stub.py:187] Checking for messages on channel (channel-2384468497-BT01) (False) DEBUG2011-07-18 16:15:02,530 dev_appserver.py:4215] GET /_ah/ channel/dev?command=pollchannel=channel-2384468497-BT01client=1 HTTP/ 1.1 200 - ... But some times, with some kind of responses the channel is removed and the client is not able to retrieve the message and then process it: ... [some contents should be in the channel] DEBUG2011-07-18 16:15:10,282 channel_service_stub.py:278] Removing channel BT01 WARNING 2011-07-18 16:15:10,308 dev_appserver.py:4081] Request to / _ah/channel/disconnected/ excluded because channel_presence is not enabled in inbound_services in app.yaml INFO 2011-07-18 16:15:10,309 dev_appserver.py:4217] POST /_ah/ channel/disconnected/ HTTP/1.1 404 - DEBUG2011-07-18 16:15:10,997 dev_appserver.py:569] Matched /_ah/ channel/dev?command=pollchannel=channel-2384468497-BT01client=1 to google.appengine.tools.dev_appserver_channel.ChannelDispatcher object at 0xacdfb8c with path DEBUG2011-07-18 16:15:10,998 channel_service_stub.py:187] Checking for messages on channel (channel-2384468497-BT01) (False) DEBUG2011-07-18 16:15:11,021 dev_appserver.py:4215] GET /_ah/ channel/dev?command=pollchannel=channel-2384468497-BT01client=1 HTTP/ 1.1 200 - ... The really curious thing is, when deploying the app to GAE everything works fine. I suppose there is being some kind of exception while picking up the message, but i don't know how to trace it to try to fix it. Any suggestion in this matter? Regards -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] redirect after upload returns NoneType even with check on the UploadHandler
hi, im having issues when i upload many (50-100) files at on a web based upload queue. i have 2 handlers. the FileUploadHandler saves the binary, checks if its saved and redirects to the RedirectAfterUpload which creates a json dict for the uplaod js to tell that the uplaod is done. the issue is that sometimes i get a NoneType when i try to get the asset on the second handler. how is this possible if i checked that it was saved in the first handler and it? i also use entity groups and i tried different ways of getting and putting the binary by key. sometimes i also get a redirect to temporary-blobstore-error.appspot.com which is really annoying. here the 2 handlers: class FileUploadHandler(blobstore_handlers.BlobstoreUploadHandler): def post(self, tags=None): uploads = self.get_uploads() if uploads: binary = uploads[0] bin = Binary(parent = imageapp_key, blob = binary, filename = binary.filename, size= binary.size) # put the entity bin.put() # make a test get operation to see if the # asset is saved. testget = db.get(bin.key()) if not testget or not bin.is_saved(): import logging logging.warning('*** bin is not saved!') return self.error(500) key = str(bin.key()) self.redirect('/assets/api/upload/%s.json' %key) class RedirectAfterUpload(RequestHandler): def get(self, key): asset = db.get(key) # get the asset if not asset: asset = Binary.get(key) # after the second get the get # still returns a None if not asset: logging.warning('still no asset after second get') return self.error(500) data = dict(name = asset.filename, thumbnail = asset.serving_url, size = asset.size) self.response.headers[Content-Type] = application/x-javascript self.response.out.write(jsonify(data)) i don't understand what it could be. thx andreas -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Static SQLite files
would using fusion tables in app engine do what you want? http://code.google.com/apis/fusiontables/docs/sample_code.html I do NOT know, but it looks like you can use fusion tables in app engine and fusion tables provide SQLite queries. or I could be completely wrong - in which case - never mind... Gary -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/IOt2oOfdch4J. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Stuck bringing my own domain to my app engine
Hi, after step 3, you need to prove ownership of your custom domain in the Google apps dashboard. the configuration for a custom domain to redirect to your GAE application is made in the google apps dashboard. Hope this helps! On Jul 14, 3:34 am, Rossco rosscoe.p...@gmail.com wrote: Hi, looks like I've made a mistake with the process of using my own domain with my app engine site. 1) I purchased a domain name (mydomain.com) throughwww.swishconnect.com.au 2) I created some applications App Engine applications 3) I've signed up for Google Apps 4) Now I would like to use mydomain.com to access one of the app engine site. I thought I could just arrange redirection of traffic via GAE? From what I've read I now need to purchase hosting throughwww.swishconnect.com.auto redirect traffic. Bummer. What options do I have that do not involve purchasing hosting as well? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] For deployment only does the sdk version matter?
Hi, When deploying an app, does the sdk version you deploy it with (not compiled with in case of Java) matter? Is it OK to deploy an app using the 1.5.x API's with an older SDK such as 1.4.x? I'm asking because I'm setting up an automated deploy and some day I'm bound to forget to update to the latest sdk on the CI machine :) Thanks, Hugo -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: How to remove datastore indexes
Hi, To remove datastore indexes you should read this documentation: http://code.google.com/appengine/docs/python/tools/uploadinganapp.html#Deleting_Unused_Indexes The error you are experiencing its because you are doing a query which need a index, you could read more about indexes here: http://code.google.com/appengine/docs/python/datastore/queries.html#Introduction_to_Indexes When you upload a application, there is a file called index.yaml where you declare upfront the indexes you would need to solve your queries. if you trying your application locally, any query you fetch if an index is required and not created the SDK will create it on your behalf in index.yaml. So a good practice would be to try your application locally and call the queries so the SDK will create the corresponded indexes, after index.yaml is properly populated go ahead and upload your application. Your application will now have the indexes needed to serve the queries. Hope this helps. Jose Montes de Oca On Jul 13, 11:38 pm, Shamsul Kamal shamsulkamal.abuba...@gmail.com wrote: Hi, I'm new in GAE. I have deploy an apps, but how can I remove a datastore indexes? I have an error of my application because Caused by: com.google.appengine.api.datastore.DatastoreNeedIndexException: no matching index found Thanks. /Shamsul -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Any mechanisms to block/wait without polling?
I have some patterns that I would very much like to try to implement in GAE, but I can't seem to get past a requirement to coordinate a signal between two tasks running in GAE. There seems to be no GAE mechanism to wait for an event without going into some sort of polling loop. Is there something maybe that I'm missing or is this just wishful thinking? Thanks!! -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: 回覆:Re: 回覆:Re: Not able to copy data from an app to another
Hi everyone, Thanks for the feed back on regards the Datastore Admin copy functionality, A fix for this issue wil roll out shortly after 1.5.2 release. Best, Jose Montes de Oca -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/JSaUoUyyFncJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.