[appengine-java] Re: CPU bandwidth cost $$ too expensive?

2010-08-31 Thread Alex Bertram
Are you reading the $$ from the X-AppEngine-Estimated-CPM-US-Dollars headers? Note that those are per 1000 requests, not for the single request On Aug 27, 9:31 pm, akirekadu ashw...@gmail.com wrote: I wanted to benchmark GAE read performance. Around 10,000 entities are being fetched from

[appengine-java] Re: Google app engine database backup java

2010-08-31 Thread Frederik Pfisterer
http://code.google.com/intl/de-DE/appengine/docs/python/tools/uploadingdata.html On 30 Aug., 14:05, prabu prabuc...@gmail.com wrote: hi,  please somebody help me.I have a java project on app engine,how to backup and restore database using pythan give example code -- You received this message

[appengine-java] Re: JDO: Null parent on some children objects

2010-08-31 Thread cghersi
ok, thanks. The second answer is dictated by the fact that I don't want null values to be returned from getter methods, otherwise I cannot safely do an operation like: mySecondObject.getTags().add(tag); as I need to check if getTags() has returned null. So, which is the best in your opinion

[appengine-java] Downloading WAR files from appengine

2010-08-31 Thread Puneet
Hi, Is it possible to download war files that I have uploaded to app- engine. I uploaded it through eclipse and now i have accidentally deleted the project from my PC :( -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to

[appengine-java] Weird NPE when trying to work with appstats

2010-08-31 Thread Vikas Hazrati
For performance tuning we wanted use appstats and since ours is a java based application, we used the steps as mentioned As soon as we hit http://localhost:8080/appstats We get the following error java.lang.NullPointerException at java.io.Reader.init(Reader.java:61) at

[appengine-java] Re: Google Update 1.3.6

2010-08-31 Thread Benjamin
I had this problem and found it was from installing the eclipse plug in using the install new software item on the help menu instead of using the install from the new eclipse marketplace item under help or the other way around, i don't remember - but i was installing 64 bit / 32 bit and all sorts

[appengine-java] org.datanucleus.exceptions.ClassNotPersistableException

2010-08-31 Thread Gaurav Munjal
3:34 PM com.google.appengine.tools.development.LocalResourceFileServlet doGet WARNING: No file found for: /favicon.ico org.datanucleus.jdo.exceptions.ClassNotPersistenceCapableException: The class The class mpstme.projects.mgs.classes.Customer is not persistable. This means that it either hasnt

[appengine-java] Re: Best practice modeling a 1:n user-relationship with List properties

2010-08-31 Thread Frederik Pfisterer
Sorry, for some reason my post got lost and then I posted another one twice ... seems google groups had some issues. You are unlikely to have 1 million friends, so the resultset over which you'll iterate will be the 10-50 users in the list: Mind the filter: Query q = pm.newQuery(MyAppUser.class);

[appengine-java] Re: New version is not getting uploaded on Java GAE

2010-08-31 Thread Droid
Did you remember to update version in your yaml? Its picky about that. On Aug 26, 8:56 pm, tomkarren tkar...@gmail.com wrote: Yes.  Seeing the same thing today. On Aug 26, 1:29 pm, oth other...@gmail.com wrote: Hello, Is anyone else having problems uploading new versions to google app

[appengine-java] Re: Just starting new Java install w/Windows but the first demo doesnt work

2010-08-31 Thread Droid
I have not tried the command line in eclipse I use 'run as' and that starts up the Dev server. On Aug 28, 6:24 pm, iBradleyAllen res7d...@verizon.net wrote: Using the instructions to install on Windows using Java, after the SDK is installed, it says try a demo program in a command prompt.

[appengine-java] class not enhanced

2010-08-31 Thread leonardo battagli
I am using google plugin for eclipse, I have only a jpa class and I have been able to store some data yesterday. I have seen this data in the 'datastore viewer'. Google plugin should Enhance the class by itself and it is really what it was doing 'till now. NOW it seems it does not enhance

Re: [appengine-java] Re: problem using limits and offsets with App Engine Low Level API

2010-08-31 Thread Ikai L (Google)
Hi Tom, Have you looked into cursors? http://code.google.com/appengine/docs/java/datastore/queriesandindexes.html#Query_Cursors On Sat, Aug 28, 2010 at 9:49 AM, tomkarren tkar...@gmail.com wrote: I read that pagination has an unpublished limit of 2000. Anyone know it that's still true?

[appengine-java] Re: How we can read uncommitted data in same transaction.

2010-08-31 Thread Vikas Hazrati
That sounds right, the data only becomes available to you once you have committed the tx. From the docs This consistent snapshot view also extends to reads after writes inside transactions. Unlike with most databases, queries and gets inside a datastore transaction do not see the results of

Re: [appengine-java] Unable to upload application through eclipse3.5

2010-08-31 Thread Ikai L (Google)
The reason this is failing is because your url-patterns don't match this regular expression (http://www.regular-expressions.info/tutorial.html): '^(?!\^)/|\.|(\(.).*(?!\$).$' Start your urls with a / or .* (catch all) On Sat, Aug 28, 2010 at 10:35 AM, Saurabh Saxena

[appengine-java] Re: Best practice modeling a 1:n user-relationship with List properties

2010-08-31 Thread androidDeveloper
Yes, I think that makes sense. Now I understand what you mean. To only get those users who are my friends, I have to fill the friendslist differently - I have to put my userId in the friendslist of my friends and not the other way (put all the userIds of my friends in my friendslist). Then I can

[appengine-java] Re: App Engine SDK 1.3.7 bugfix release

2010-08-31 Thread Sekhar
Eclipse is still showing 1.3.6...any ETA on that? On Aug 30, 4:12 pm, Ikai L (Google) ika...@google.com wrote: Hey everyone, I just wanted to let you all know that we're releasing a bugfix release, 1.3.7. You can see our blog post here:

[appengine-java] Re: class not enhanced

2010-08-31 Thread Didier Durand
Hi, Your problem is a know issue on the SDK for a long time: see http://stackoverflow.com/questions/1641697/google-app-engine-jdo-and-equals-hashcode and many others: see http://www.google.com/search?hl=ensource=hpq=class+not+enhanced+app+engine What I do to fix it is that I manually declare 1

Re: [google-appengine] Re: Request Latency from Belgium

2010-08-31 Thread Peter De Keer
It cannot be the application, I'm just measuring a static file (css). There is no processing in Python going on, I set it in the .yaml file. I would really like to see an example website on the appspot.com domain that works faster in Belgium. Any thoughts? I'm willing to start programming on

[google-appengine] Re: Request Latency from Belgium

2010-08-31 Thread Tim Hoffman
Hi I just checked what I am getting, and your speed is actually quite good. I am in Australia and dream of those speeds ;-) On my link the best I can get for a static file is 600ms from appengine, I am on a 3G network (it's all I can get). But even on a faster network I am still only managing

Re: [google-appengine] Re: Request Latency from Belgium

2010-08-31 Thread Pieter Coucke
I have http://www.koopjeszoeker.be and http://www.koopjeszoeker.com running on Appengine. Response times are actually very good in Belgium except when I'm using the Belgacom ISP the first page request is ok but next requests are slow or even timeout. I don't have this with the Telenet ISP. I

[google-appengine] Auto generated keys vs UUID

2010-08-31 Thread Jagan
Hi Google, Nick Johnson and others Does Google recommend using UUID (UUID4 to be specific) as key names for entities in GAE instead of auto generated numeric ids? Does this hold good in all use cases in the universe? And is this the reason why import export of auto generates IDs are not yet

[google-appengine] Re: Google Apps Full Accounts

2010-08-31 Thread Erik Karulf
Hi Matthew, The problem occurs if I try visiting either: http://appengine.google.com/a/penny-arcade.com/ or http://appengine.google.com/ I am prompted to login and I am redirected a few times until the system shows that error. It seems to be a conflict with the Google Multiple Sign In system.

[google-appengine] Datastore StringList or multiple rows?

2010-08-31 Thread ogterran
Hi, I have a choice to store the data two ways. Which way is more efficient when querying in BigTable? First way: class Page(db.Model): pagekey= db.StringProperty(required=True) usernames = db.StringListProperty(required=True) So all the users who visits the page, will be added to the

[google-appengine] Re: Datastore StringList or multiple rows?

2010-08-31 Thread alf
I think second. the first you need deserialize list to find a data but i not sure On Aug 31, 11:22 am, ogterran jonathanh...@gmail.com wrote: Hi, I have a choice to store the data two ways. Which way is more efficient when querying in BigTable? First way: class Page(db.Model):    

[google-appengine] Re: App Engine SDK 1.3.7 bugfix release

2010-08-31 Thread Adam Sah
I assume you know? but 1.3.7 doesn't have release notes in the wiki: http://code.google.com/p/googleappengine/wiki/SdkReleaseNotes cheers / thanks! adam On Aug 30, 4:12 pm, Ikai L (Google) ika...@google.com wrote: Hey everyone, I just wanted to let you all know that we're releasing a

Re: [google-appengine] App Engine SDK 1.3.7 bugfix release

2010-08-31 Thread Jeff Schwartz
Is the Eclipse Google Plugin going to be updated with the latest libraries as well? I noticed that it still references v1.3.6. On Mon, Aug 30, 2010 at 7:12 PM, Ikai L (Google) ika...@google.com wrote: Hey everyone, I just wanted to let you all know that we're releasing a bugfix release,

[google-appengine] Re: Moving Images from Datastore to Blobstore

2010-08-31 Thread Niklasro(.appspot)
Referencing using the key instead enables the wanted effect ie im.primary_image = blob_info.key() Thank you -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To

Re: [google-appengine] Re: Datastore StringList or multiple rows?

2010-08-31 Thread Robert Kluin
This depends somewhat on the specifics of your use case. Take a look at Brett Slatkin's 09 IO talk. He discusses something like your first model. http://code.google.com/events/io/2009/sessions/BuildingScalableComplexApps.html Robert On Tue, Aug 31, 2010 at 06:10, alf

Re: [google-appengine] Datastore StringList or multiple rows?

2010-08-31 Thread Jeff Schwartz
A list property's size is limited to 5000. If you only want to know if a user has visited a page, you can use the first model query it returning only keys to avoid list serialization issues. In addition, key only queries are very fast. Additionally, if your Page model's key had a string name

[google-appengine] Help with deploying my application on GAE/J

2010-08-31 Thread jojo1985
I am new in the development with Google App Engine. I tried to test and deploy my first Hello World application by following this tutorial: http://gaejexperiments.wordpress.com/2009/09/22/google-app-engine-java-development-setup/ Locally it works perfectly but I can not deploy my application on

[google-appengine] Help please

2010-08-31 Thread Aya Chaouachi
I am new in the development with Google App Engine. I tried to test and deploy my first Hello World application by following this tutorial: http://gaejexperiments.wordpress.com/2009/09/22/google-app-engine-java-development-setup/ Locally it works perfectly but I can not deploy my application on

[google-appengine] Forced to reverify account, which fails

2010-08-31 Thread Eric
Hi, this is the text I tried to submit via the Can't receive SMS help forms, but this again gave me an error as the comments section contain an error when entering this text?!? --- This is probably not an issue with my mobile carrier but with app engine itself. I already successfully created a

[google-appengine] Deleting entities

2010-08-31 Thread Simon
Hi! I'm trying to delete an object by using the key id. I'm using an automatically generated key; code @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Key key; /code What is the best way to delete an object with a specific id? I'm using Java, and had

Re: [google-appengine] MapReduce: any way to get the value of counters easily?

2010-08-31 Thread Ikai L (Google)
Here's how you'd get the counter value (excuse the comments, this is copied and pasted from a blog post): MapReduceState mrState = MapReduceState.getMapReduceStateFromJobID( datastore, jobId); // There's a bit of ceremony to get the

[google-appengine] Re: Datastore Read Errors

2010-08-31 Thread Jan Z/ Hapara
Same here. Just in time for a client product demo, too!!! I guess we will have to talk about how we deal with outages too... sigh. Hope it's a quick one! :) J On Sep 1, 8:19 am, Joshua Smith joshuaesm...@charter.net wrote: I'm seeing a small number of data store errors.  Various places, but

[google-appengine] Re: Appengine Internal Error

2010-08-31 Thread Staz
I'm seeing this as well On Aug 31, 9:42 pm, Daniel danielshaneup...@gmail.com wrote: My entire sites ability to access the datastore has been disabled due to a non-specific InternalError. Please help. The application is looxii-beta. -- You received this message because you are subscribed to

[google-appengine] Re: Appengine Internal Error

2010-08-31 Thread Staz
I've raised a production support issue for this. On Aug 31, 9:47 pm, Staz steve.le...@yahoo.com wrote: I'm seeing this as well On Aug 31, 9:42 pm, Daniel danielshaneup...@gmail.com wrote: My entire sites ability to access the datastore has been disabled due to a non-specific

[google-appengine] Re: Appengine Internal Error

2010-08-31 Thread coltsith
+1 On Aug 31, 9:54 pm, Staz steve.le...@yahoo.com wrote: I've raised a production support issue for this. On Aug 31, 9:47 pm, Staz steve.le...@yahoo.com wrote: I'm seeing this as well On Aug 31, 9:42 pm, Daniel danielshaneup...@gmail.com wrote: My entire sites ability to access the

[google-appengine] Re: Appengine Internal Error

2010-08-31 Thread coltsith
Seeing these issues as well. On Aug 31, 9:55 pm, coltsith conla...@gmail.com wrote: +1 On Aug 31, 9:54 pm, Staz steve.le...@yahoo.com wrote: I've raised a production support issue for this. On Aug 31, 9:47 pm, Staz steve.le...@yahoo.com wrote: I'm seeing this as well On Aug 31,

Re: [google-appengine] Re: Appengine Internal Error

2010-08-31 Thread Ross M Karchner
FWIW, I seem to be back up and running On Tue, Aug 31, 2010 at 4:56 PM, coltsith conla...@gmail.com wrote: Seeing these issues as well. On Aug 31, 9:55 pm, coltsith conla...@gmail.com wrote: +1 On Aug 31, 9:54 pm, Staz steve.le...@yahoo.com wrote: I've raised a production

Re: [google-appengine] Re: Appengine Internal Error

2010-08-31 Thread Ikai L (Google)
Hey everyone, One of our backend tasks ended up in a bad state that wasn't immediately detected by our management jobs. These issues should be resolved now - we saw a spike in error rates and addressed it. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog:

[google-appengine] Re: Appengine Internal Error

2010-08-31 Thread coltsith
Seems to be working again, thanks guys for the quick response. On Aug 31, 10:17 pm, Ikai L (Google) ika...@google.com wrote: Hey everyone, One of our backend tasks ended up in a bad state that wasn't immediately detected by our management jobs. These issues should be resolved now - we saw a

[google-appengine] Re: Request Latency from Belgium

2010-08-31 Thread Matt H
http://just-ping.com/ On Aug 31, 9:33 am, Pieter Coucke pieter.cou...@onthoo.com wrote: I havehttp://www.koopjeszoeker.beandhttp://www.koopjeszoeker.comrunning on Appengine.  Response times are actually very good in Belgium except when I'm using the Belgacom ISP the first page request is ok

[google-appengine] Re: Request Latency from Belgium

2010-08-31 Thread Onestone
Ping times are almost irrelevant with GAE static files. Most of the time is spent not reaching the Google HTTP frontend servers, but waiting for them to reply. You can easily see that with Firebug or Chrome. On Sep 1, 12:55 am, Matt H matt2...@gmail.com wrote: http://just-ping.com/ On Aug 31,

[google-appengine] Re: appcfg.py download_data [INFO] Authentication Failed

2010-08-31 Thread morphium_hidrochloricum
Nothing changed after I upgraded to 1.3.7. -- You 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] Datastore Failure

2010-08-31 Thread Luisa
I'm seeing errors trying to load any page in my site. Non of my database code has changed recently. The error message looks like this: javax.jdo.JDODataStoreException: Datastore Failure at org.datanucleus.jdo.NucleusJDOHelper.getJDOExceptionForNucleusException(NucleusJDOHelper.java: 304) at

[google-appengine] Re: Appengine Internal Error

2010-08-31 Thread Luisa
What is the ID of the production support issue your reported? On Aug 31, 1:54 pm, Staz steve.le...@yahoo.com wrote: I've raised a production support issue for this. On Aug 31, 9:47 pm, Staz steve.le...@yahoo.com wrote: I'm seeing this as well On Aug 31, 9:42 pm, Daniel

[google-appengine] Re: Appengine Internal Error

2010-08-31 Thread Luisa
I'm seeing the same problem. On Aug 31, 1:47 pm, Staz steve.le...@yahoo.com wrote: I'm seeing this as well On Aug 31, 9:42 pm, Daniel danielshaneup...@gmail.com wrote: My entire sites ability to access the datastore has been disabled due to a non-specific InternalError. Please help. The

[google-appengine] Re: Datastore Read Errors

2010-08-31 Thread Beruk
Running a load test on my GAE app, getting a truckload of InternalError exceptions in datastore right now. Pascal On Aug 31, 4:19 pm, Joshua Smith joshuaesm...@charter.net wrote: I'm seeing a small number of data store errors.  Various places, but generally like this: 08-31 01:17PM 16.120

[google-appengine] Help -- non-specific InternalError started today!

2010-08-31 Thread Andy
We're preparing for a demo of our application for **tomorrow**, and we just started getting non-specific Internal Errors! * Is this a systematic issue with Google, or my app -- how can I tell? * Is there a workaround? * Can I post this as a formal issue somewhere that will reach Google Engineers?

[google-appengine] Having lots of DeadlineExceeded errors on instance startup

2010-08-31 Thread Tim Hoffman
Hi As of today I am getting a lot of DeadlineExceeded Errors on a couple of instances druing startup. I am not even getting past the initial imports, Nothing is being reported in system status, so it's probably restricted part of the appengine structure. Tim -- You received this message

Re: [google-appengine] Having lots of DeadlineExceeded errors on instance startup

2010-08-31 Thread Andi Albrecht
Tim Hoffman zutes...@gmail.com writes: Hi As of today I am getting a lot of DeadlineExceeded Errors on a couple of instances druing startup. I am not even getting past the initial imports, Nothing is being reported in system status, so it's probably restricted part of the appengine