[appengine-java] Question about Terms Of Service.

2010-02-10 Thread Thanasis
Hello, Scenario: I create a REST API and publish it on application-1.appspot.com. Then, I create a web/client application (for real people) which uses the API above and publish it on application-2.appspot.com Is this scenario compatible with term 4.4 of the AppEngine TOS (http://

[appengine-java] Running a cron job within a time span of work days

2010-02-10 Thread Imran M Yousuf
Hi, I want to configure a cron job for running every 2 minutes from (e.g.) 1000 to 1600 hours. Firstly, can I use something as follows? Secondly, how can I specify how long the cron job will run? cron url/update/url descriptionRepopulate data every 2 minutes from 10:00 AM/description

[appengine-java] Re: Estimated expiration average of an entity in memcache

2010-02-10 Thread a.maza
thanks for your detailed answer. however, I think I won't be able to track the miss rate, since I am not keeping information which key/value pair's I am putting in memcache (since this would require to keep the list of keys again in memcache). Instead, I would like to fetch the data using the

Re: [appengine-java] Re: UserService.createLoginURL() to a chrome extension

2010-02-10 Thread Shai Levy
Thanks for the reply! I actually already considered what he suggested but had two reason's not to do so: 1. Security - to me it feels like having a html located on a server which hold's trigger commands to an extension is a risky option and might lead to code injection vulnerabilities (of course

Re: [appengine-java] Re: Persistence with JPA + GAE

2010-02-10 Thread Diego Osse Fernandes
Hi Johan, try this code try{ cn2.getTransaction().begin(); cn2.persist(e); cn2.getTransaction().commit(); response.getWriter().write(ok); } catch(Exception e){ cn2.getTransaction().rollback();

[appengine-java] Re: getNextID

2010-02-10 Thread datanucleus
JDO Sequences work, we just haven't publicized them. Max, you mean value-strategy of SEQUENCE ? I was referring to pm.getSequence(), which maps across to your implementation of StoreManager.getNucleusSequence(). i.e a stand- alone way of having sequences available to the user -- You received

Re: [appengine-java] Re: Getting Started : Eclipse, GWT, App Engine - Unable to resolve

2010-02-10 Thread John Patterson
If you do not have the source then you need to create it yourself... or use a library that has already done that like Objectify. Look into super source for how you use your own source code. On 10 Feb 2010, at 16:38, watch wrote: If this is true, and I have no reason to doubt you then none

Re: [appengine-java] Re: getNextID

2010-02-10 Thread aswath satrasala
Hello Max, thanks. I think sequential ids will be a must in my case. It does not have to be for a PK, but for non-pk is also fine. I am creating a small multi-tenancy Accounting/HR application and when I create employees, I am thinking of giving an employeeID for the employee. In addition, I want

Re: [appengine-java] queue.xml question

2010-02-10 Thread seleronm
Hi, Maybe the following thread may help http://groups.google.co.uk/group/google-appengine/browse_thread/thread/3d64511a517cffc1/64fe290597597511 Hope this helps, The bucket size and rate seem to have no effect when running my application in eclipse. The tasks added to my queue are processed

Re: [appengine-java] DataStore Error 1000000 characters, but I'm not persisting

2010-02-10 Thread Don Schwarz
How much data are you storing in your session? Currently, the serialized representation of a sessions contents must be the 1MB entity limit. On Tue, Feb 9, 2010 at 12:46 PM, Jake jbrooko...@cast.org wrote: Hello, I'm getting the following error: java.lang.IllegalArgumentException: string

[appengine-java] Re: Close PersistenceManager every time?

2010-02-10 Thread hsjawanda
Nobody knows the answer to this? On Feb 7, 2:34 pm, hsjawanda hsjawa...@gmail.com wrote: Should the PersistenceManager be closed after every query? I have a utility class that handles querying the datastore. This class then returns results which are used by JSP pages to show output. AFAIK,

Re: [appengine-java] Re: getNextID

2010-02-10 Thread Max Ross (Google)
Both value-strategy of SEQUENCE and the standalone sequences work. See http://code.google.com/p/datanucleus-appengine/source/browse/trunk/tests/org/datanucleus/test/SequenceExamplesJDO.java and

[appengine-java] Re: javax.annotation.Resource Spring 3.0.0.Release declarative DI on Google App Engine

2010-02-10 Thread Larry Cable
Not sure if this helps or not but you cannot use the Spring context:annotation-config / markup in your GAE Spring applications ... This will of course work locally but because the CommonAnnotationBeanPostProcessor attempts to load javax.annotation.Resource (and fails) then no annotation

[appengine-java] Re: Spring 3.0 + Tiles 2.1.4 + GAE

2010-02-10 Thread David F.
Hi, I was experiencing the same trouble and your advice solved it. Thank you for that. But it's not the last problem integrating Spring + Tiles on GAE. My stacktrace now shows : org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tilesConfigurer' defined in

[appengine-java] How to use junit test in the newest SDK1.3.1

2010-02-10 Thread 时空之蕊
I found the class com.google.appengine.tools.development.ApiProxyLocalImpl is not public,but before 1.3.1 it's public! In the JUnit document: import java.io.File; import com.google.appengine.tools.development.ApiProxyLocalImpl; import com.google.apphosting.api.ApiProxy; ApiProxy.setDelegate(new

[appengine-java] Re: can't send attachment via Java Mail API supported by GAE

2010-02-10 Thread Nehul
Thanks everything is working now. Now attachment is working. Flex base video to image capture application hosted on google app engine http://clickpicture.appspot.com/Video.html On Feb 5, 7:59 am, m seleron seler...@gmail.com wrote: Hi. I'm sorry for being not able to explain well. Please

Re: [appengine-java] Re: Estimated expiration average of an entity in memcache

2010-02-10 Thread Ikai L (Google)
You can also collect memcache stats with the API, but this currently can't be reset, so you'd have to work around this limitation to get useful data over time. On Wed, Feb 10, 2010 at 10:56 AM, Ikai L (Google) ika...@google.com wrote: It actually is possible to track the miss rate: track how

Re: [appengine-java] Re: Estimated expiration average of an entity in memcache

2010-02-10 Thread Ikai L (Google)
It actually is possible to track the miss rate: track how many GETs return null for keys you know must exist versus all GETs. You can either do this using memcache's INCR, or using sharded datastore counters. On Wed, Feb 10, 2010 at 1:24 AM, a.maza andr.m...@gmail.com wrote: thanks for your

Re: [appengine-java] Re: UserService.createLoginURL() to a chrome extension

2010-02-10 Thread Ikai L (Google)
Maybe, as there are other custom protocols we may wish to support on Android/Apple App Store/iTunes, etc. Can you file a feature request in our issue tracker? http://code.google.com/p/googleappengine/issues/list On Wed, Feb 10, 2010 at 1:49 AM, Shai Levy levys...@gmail.com wrote: Thanks for

[appengine-java] Re: DataStore Error 1000000 characters, but I'm not persisting

2010-02-10 Thread Jake
I've discovered my issue - Apache Wicket. Wicket has it's own Session that stores data in an ISessionStore. Normally, this is backed by a Disk, but can be backed with an HttpSession if set properly. The trick is that it stores a lot of state with each page, which I can change now that I know

[appengine-java] Re: javax.annotation.Resource Spring 3.0.0.Release declarative DI on Google App Engine

2010-02-10 Thread Marcel Overdijk
Larry, Check out https://jira.springsource.org/browse/SPR-6679 and please vote. On Feb 10, 7:11 pm, Larry Cable larry.ca...@gmail.com wrote: Not sure if this  helps or not but you cannot use the Spring context:annotation-config / markup in your GAE Spring applications ... This will of

Re: [appengine-java] Re: DataStore Error 1000000 characters, but I'm not persisting

2010-02-10 Thread Don Schwarz
On Wed, Feb 10, 2010 at 1:30 PM, Jake jbrooko...@cast.org wrote: I've discovered my issue - Apache Wicket. Wicket has it's own Session that stores data in an ISessionStore. Normally, this is backed by a Disk, but can be backed with an HttpSession if set properly. The trick is that it

Re: [appengine-java] Issue with setContentLength on GAE production

2010-02-10 Thread Ikai L (Google)
I assume you're going by this standard: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.htmlThe length that is being set if the full body were returned. This is likely being overridden somewhere downstream in our serving stack. I'll file

Re: [appengine-java] Issue with setContentLength on GAE production

2010-02-10 Thread Ikai L (Google)
Sorry, my last email was worded poorly. What I meant was, I assume what you meant by your original email is that we have a mismatch from the w3 standard for content length and HEAD requests. I've updated your issue in the tracker. On Wed, Feb 10, 2010 at 11:59 AM, Ikai L (Google)

[appengine-java] Re: Issue with setContentLength on GAE production

2010-02-10 Thread Sean Gilligan
Thanks! On Feb 10, 12:03 pm, Ikai L (Google) ika...@google.com wrote: Sorry, my last email was worded poorly. What I meant was, I assume what you meant by your original email is that we have a mismatch from the w3 standard for content length and HEAD requests. I've updated your issue in the

[appengine-java] Re: UserService.createLoginURL() to a chrome extension

2010-02-10 Thread Shai
Filed a request: http://code.google.com/p/googleappengine/issues/detail?id=2753 On Feb 10, 8:59 pm, Ikai L (Google) ika...@google.com wrote: Maybe, as there are other custom protocols we may wish to support on Android/Apple App Store/iTunes, etc. Can you file a feature request in our issue

[appengine-java] Deadlock on the development server.

2010-02-10 Thread Spines
I get a deadlock on the development server. It happens about once every 4 times I startup my app. It happens at PMF.clinit:11 the first time I access my PMF class, which is just a copy paste of the example PMF class from http://code.google.com/appengine/docs/java/datastore/overview.html. Deeper

[appengine-java] Re: Least CPU Intensive way to query?

2010-02-10 Thread Brian
I actually only need 2 of my 8 columns of those 1000 posts. (the rest is lazily loaded with ajax when clicked) My line of thinking is that in a relational database, getting 2 vs 8 columns won't really matter. The database does the same query and would just dump the extra 6 rows on the table

Re: [appengine-java] Deadlock on the development server.

2010-02-10 Thread Don Schwarz
On Wed, Feb 10, 2010 at 3:09 PM, Spines kwste...@gmail.com wrote: I get a deadlock on the development server. It happens about once every 4 times I startup my app. It happens at PMF.clinit:11 the first time I access my PMF class, which is just a copy paste of the example PMF class from

Re: [appengine-java] Re: Close PersistenceManager every time?

2010-02-10 Thread Ikai L (Google)
This is really up to you, though I would avoid detaching unless absolutely necessary. Opening and closing a PersistenceManager should be extremely cheap (it's instantiating a PersistenceManagerFactory that's expensive). You've got a few options here, and what you do really just depends on what

[appengine-java] Re: Deadlock on the development server.

2010-02-10 Thread Spines
Great! I can definitely initialize synchronously. I was just worried that there may be an issue with my code that would only show up sporadically on the production app engine. On Feb 10, 1:35 pm, Don Schwarz schwa...@google.com wrote: On Wed, Feb 10, 2010 at 3:09 PM, Spines kwste...@gmail.com

Re: [appengine-java] Re: Deadlock on the development server.

2010-02-10 Thread Ikai L (Google)
I'm a bit surprised all the XHR requests are going in parallel, since most browsers limit the amount of XHR calls you can make simultaneously. At any rate, they don't have to be synchronous, so to speak - you can just chain the callbacks so it doesn't block your UI loading. Hooray for languages

[appengine-java] App Engine SDK 1.3.1 is out!

2010-02-10 Thread Ikai L (Google)
Check it out! http://googleappengine.blogspot.com/2010/02/app-engine-sdk-131-including-major.html http://googleappengine.blogspot.com/2010/02/app-engine-sdk-131-including-major.htmlHere's the post: App Engine SDK 1.3.1, Including Major Improvements to

[appengine-java] [ANN] Objectify-Appengine 2.0, an easier way to work with the datastore

2010-02-10 Thread Jeff Schnitzer
Today we released version 2.0 of Objectify-Appengine. Objectify is a mid-level persistence API for the Appengine datastore - much simpler than JDO, much more sophisticated than the Low-Level API, much easier to use than either! http://code.google.com/p/objectify-appengine/ If you are unfamiliar

Re: [appengine-java] How to use junit test in the newest SDK1.3.1

2010-02-10 Thread Ikai L (Google)
We've got a more simple interface for you now. Take a look: http://code.google.com/appengine/docs/java/tools/localunittesting.html 2010/2/10 时空之蕊 skzr@gmail.com I found the class com.google.appengine.tools.development.ApiProxyLocalImpl is not public,but before 1.3.1 it's public! In the

[appengine-java] Re: jython / modjy FileOutputStream exception

2010-02-10 Thread Riley
Thanks for your help, Alan. I won't have a chance to try again for a while, so it'll remain a mystery until then. I'll be sure to post my results back here then. Thanks again! Riley On Feb 9, 8:05 am, Alan Kennedy alan.kennedy.n...@gmail.com wrote: [Riley] Thanks for your response.  I'm

[appengine-java] Re: App Engine SDK 1.3.1 is out!

2010-02-10 Thread Peter Liu
App Engine now automatically retries all datastore calls (with the exception of transaction commits) when your applications encounters a datastore error caused by being unable to reach Bigtable Is the datastore retry logic at the base API level or at the JPA/JDO level? A lot of people are using

Re: [appengine-java] App Engine SDK 1.3.1 is out!

2010-02-10 Thread John Patterson
Very cool! Can't wait to replace my paging code with Cursors Was Async Url Fetch for Java included in this release? On 11 Feb 2010, at 06:15, Ikai L (Google) wrote: Check it out! http://googleappengine.blogspot.com/2010/02/app-engine-sdk-131-including-major.html Here's the post: App

Re: [appengine-java] App Engine SDK 1.3.1 is out!

2010-02-10 Thread yjun hu
i got a problem when i use sdk1.3.1 with compass2.3.0: Nested in org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'compass' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is

Re: [appengine-java] Re: App Engine SDK 1.3.1 is out!

2010-02-10 Thread Don Schwarz
Yes, it is implemented in the low-level API, so it affects all datastore accesses regardless of the API used. On Wed, Feb 10, 2010 at 8:18 PM, Peter Liu tinyee...@gmail.com wrote: App Engine now automatically retries all datastore calls (with the exception of transaction commits) when your

Re: [appengine-java] Re: Close PersistenceManager every time?

2010-02-10 Thread Conor Power
Hi, I have a question on detachment ... I have my PM in a DAO and I open and close pre / post query. The problem was that the objects returned are null once the PM was closed unless I set them to be detachable. Is there an alternative instead of detach in this case? Should I: 1. make DTO of

[appengine-java] Running a cron job within a time span of work days

2010-02-10 Thread imyousuf
Hi, I want to configure a cron job for running every 2 minutes from (e.g.) 1000 to 1600 hours. Firstly, can I use something as follows? Secondly, how can I specify how long the cron job will run? cron url/update/url descriptionRepopulate data every 2 minutes from 10:00 AM/ description

[appengine-java] Very slow outbound URL.openstream() call

2010-02-10 Thread yc
Hello, I am having too many of these java.io.IOException: Timeout while fetching errors from my outbound URL.openstream() calls. When tested in my Firefox browser, the HTTP request to the non-appengine site usually takes less than 3 seconds. But the appengine log on the same request shows

[appengine-java] Re: How to use junit test in the newest SDK1.3.1

2010-02-10 Thread Krishna
Ok! But when I'm using transactions I'm getting: java.lang.NullPointerException: No API environment is registered for this thread. at com.google.appengine.api.datastore.DatastoreApiHelper.getCurrentAppId(DatastoreApiHelper.java: 67) at

[appengine-java] Re: App Engine SDK 1.3.1 is out!

2010-02-10 Thread vori
Is it a bug on JDO of SDK 1.3.1? -- PersistentManager pm = PMF.get().getPersistenceManager();; ClassA classA = pm.getObjectById(ClassA.class, id); ClassB classB = new ClassB(); Transaction tx = pm.currentTransaction(); tx.begin(); pm.makePersistent(classB); tx.commit(); // It throws

[appengine-java] java.io.IOException: Truncated quoted printable data (in 1.3.0 and 1.3.1)

2010-02-10 Thread moca
I am receiving the error below when receiving an email from Hotmail to an App Engine email Servlet. The same code works fine when receiving emails from Gmail and my cell for instance. gui.EMailReceiverServlet doPost: Truncated quoted printable data java.io.IOException: Truncated quoted printable

Re: [appengine-java] Re: App Engine SDK 1.3.1 is out!

2010-02-10 Thread yjun hu
it exists on sdk1.3.0 too. On Thu, Feb 11, 2010 at 11:49 AM, vori vori...@gmail.com wrote: Is it a bug on JDO of SDK 1.3.1? -- PersistentManager pm = PMF.get().getPersistenceManager();; ClassA classA = pm.getObjectById(ClassA.class, id); ClassB classB = new ClassB(); Transaction tx

[google-appengine] Re: Uploading static files without redeploying whole app?

2010-02-10 Thread Wooble
It uploads anything that's not set to be ignored either in app.yaml (if specified there) or in the default list of regexes to ignore. Note that to be uploaded as a static file (rather than an application file accessible to your code but not served directly), a file must either be contained in a

[google-appengine] Re: Does Websense block AppEngine ip addresses?

2010-02-10 Thread Wooble
Or it could just be blocking your domain name if it's using some heuristic that makes it think it's got content it doesn't want to allow. On Feb 8, 7:05 pm, Barry Hunter barrybhun...@googlemail.com wrote: Well if you using a custom domain, its 'Google Hosting'/ghs that used to serve your site,

Re: [google-appengine] Java getServletContext scalability

2010-02-10 Thread Toby Reyelts
The servlet context is not distributed. This means it has no impact on scalability and is not a replacement for memcache or jsr-107. On Wed, Feb 10, 2010 at 1:06 AM, Danny Yoo d...@cs.wpi.edu wrote: How does the use of the global context provided by getServletContext affect scalability? I

[google-appengine] Remote API login problem - keep getting HTTP Error 302 Found

2010-02-10 Thread Nickolas Daskalou
After some Googling, I came across this article from SO: http://stackoverflow.com/questions/1555469/appengine-remote-api-unable-to-login It appears as though I fall into the group of users as described by Nick Johnson in the answer that he gave. Is the workaround in Nick's answer still the best

Re: [google-appengine] get_by_key_name vs fetch performance

2010-02-10 Thread Eli Jones
The main difference I find in .get_by_key_name() is the CPU overhead.. not the time it takes. So .. you should also be benchmarking API CPU time On Wed, Feb 10, 2010 at 11:47 AM, Waldemar Kornewald wkornew...@gmail.comwrote: Hi, were there any optimizations to the datastore lately? We did a

[google-appengine] Admins Emailed quota not working?

2010-02-10 Thread Nickolas Daskalou
I'm sending emails to email addresses that are admins (aka. Admin Console Developers) and those emails are using Recipients Emailed quota instread of Admins Emailed quota. Is this a bug or is my understanding of the Admins Emailed quota wrong? -- You received this message because you are

[google-appengine] Re: Admins Emailed quota not working?

2010-02-10 Thread Nickolas Daskalou
My bad, I think I have to use mail.send_mail_to_admins() instead of mail.send_mail(). Nick On Feb 11, 4:30 am, Nickolas Daskalou n...@daskalou.com wrote: I'm sending emails to email addresses that are admins (aka. Admin Console Developers) and those emails are using Recipients Emailed quota

[google-appengine] Re: get_by_key_name vs fetch performance

2010-02-10 Thread Waldemar Kornewald
On Feb 10, 6:11 pm, Eli Jones eli.jo...@gmail.com wrote: The main difference I find in .get_by_key_name() is the CPU overhead.. not the time it takes.  So .. you should also be benchmarking API CPU time Yes, here the individual fetch() calls indeed cost more than 2x as much, but really I'd

[google-appengine] Re: Unable to appcfg.py update my app

2010-02-10 Thread Angel
I'm having the exact same problem but only with one app. I can upload perfectly to all other my apps but one is giving me the 500 error all the time. Also when I try to access my control panel at https://appengine.google.com/, and check the versions, I almost always got a: Try Again An

Re: [google-appengine] Re: Android app to monitor appengine quotas

2010-02-10 Thread kang
thanks for sharing. will your app be opensourced? On Wed, Feb 10, 2010 at 5:05 AM, Hugo Visser botte...@gmail.com wrote: Hi, I've updated Engine Watch for Android. New: - Now uses the build-in system Google Accounts on Android 2.0 and up (no more entering passwords) - Add shortcuts to a

[google-appengine] LIKE queries in java / Text searching

2010-02-10 Thread tf
Hi I want to query the datastore using a search string entered by the user, which may or may not be the full string value in the datastore. So I need functionality similar to LIKE queries in relational databases. My understanding from seeing other posts and the google documentation is that query

[google-appengine] Cannot use key and key_name at the same time with different values

2010-02-10 Thread Tonny
I'm getting this error this morning (CET) Cannot use key and key_name at the same time with different values The error happens when an Entity is loaded from the store. The app worked fine until recently (unfortunately I do not have an exact time, since it's a non default verison which is not

[google-appengine] need help on creating sub domain

2010-02-10 Thread technut
Hi, How do i configure sub domain in apps engine. my existing domain is : www.xyz.appspot.com want to include subdomain : my.xyz.appspot.com Its appreciate if any one can look into it. Thanks Biswajit -- You received this message because you are subscribed to the Google Groups Google App

[google-appengine] Question about moderator code creation

2010-02-10 Thread Brandon Giroux
My family invested a nice sum of money in a company that had an ex- google employee in 2007. The company claimed to have IP rights to code that does exactly what Google Moderator does and aside from a horrible attempt at integration into WordPress looked the same. When Google released Moderator

[google-appengine] Re: When is the Timeout bug going to get fixed?

2010-02-10 Thread tom
I use this code that I wrote: import time import traceback def retry(func,*args,**kw): start=time.time() e=0 while time.time()-start 25: try: return func(*args,**kw) except: traceback.print_exc() e+=1 time.sleep(e)

[google-appengine] Deploy to google app engine

2010-02-10 Thread Rajalakshmi Subramanian
I developed one web application project using GWT with gdata.I sucessfully run the project within eclipse but an error occurs when i deployed it in google app engine. Help me to overcome this problem. Regards, Rajalakshmi -- You received this message because you are subscribed to the Google

[google-appengine] Re: Unable to appcfg.py update my app

2010-02-10 Thread Angel
I'm having the same problem here. My app gives me the same error when trying to update while other apps that I have works perfectly and I can update them. This one is failing since yesterday in the update. When I try to access the version menu in the control panel, almost always got an error: Try

[google-appengine] Persisting images to BigTable

2010-02-10 Thread Perugini
I am trying to store images on GAE bigtable however I am getting an error that the bean I'm trying to store is missing something. Well it is an almost exact copy of other beans I am storing on bigtable with no problems. Here is the error and please don't tell me that I need to follow the error

Re: [google-appengine] Deploy to google app engine

2010-02-10 Thread Barry Hunter
Umm, a good start would be the Error you got? What did it say? On 10 February 2010 12:27, Rajalakshmi Subramanian raji.sm...@gmail.com wrote: I developed one web application project using GWT with gdata.I sucessfully run the project within eclipse but an error occurs when i deployed it in

[google-appengine] Re: Android app to monitor appengine quotas

2010-02-10 Thread Hugo Visser
At the moment, no, but I'm considering it for a future version once I have a bit more time on my hands to do a proper open source release vs a code dump. Hugo On Feb 10, 5:18 am, kang areyouloo...@gmail.com wrote: thanks for sharing. will your app be opensourced? On Wed, Feb 10, 2010 at

[google-appengine] virtualenv and gae

2010-02-10 Thread Dalius
Hello, I know this theme was already discussed in this group but I will raise it again. Reason why I would love to use virtualenv with GAE is nose and nose-gae. Currently I must install nose-gae into global site- packages because GAE does not work with virtualenv. Here is related nose-gae issue:

Re: [google-appengine] Re: get_by_key_name vs fetch performance

2010-02-10 Thread Eli Jones
I did my own tests on api_cpu cost for meModel.get_by_key_name() versus db.GqlQuery(Select * From meModel Where value=:1,meValue).fetch(1) It costs a fixed 2.6 times as much to do the GqlQuery (it seems Google has pegged the api_cpu cost of these queries to a set amount. 10 for

[google-appengine] Re: Persisting images to BigTable

2010-02-10 Thread Ian Marshall
Hi Wilson, Shouldn't your class start like, instead of public class CerradoImage { something like @PersistenceCapable(identityType = IdentityType.APPLICATION, detachable = true) public class CerradoImage { (or something similar)instead? Cheers, Ian -- You received this message

[google-appengine] Re: get_by_key_name vs fetch performance

2010-02-10 Thread ryan
hi all! great discussion. thanks for the original post and measurements, waldemar! in short, you're right, the 1.3.1 datastore backend in production includes a number of improvements to both query performance and fault tolerance. for query performance, we turned on a new code path that

[google-appengine] App Engine SDK 1.3.1 is out!

2010-02-10 Thread Ikai L (Google)
Check it out! http://googleappengine.blogspot.com/2010/02/app-engine-sdk-131-including-major.html http://googleappengine.blogspot.com/2010/02/app-engine-sdk-131-including-major.htmlHere's the post: App Engine SDK 1.3.1, Including Major Improvements to

[google-appengine] Re: App Engine SDK 1.3.1 is out!

2010-02-10 Thread Koen Bok
Great update! Where can we find more info about: - Custom Admin Console pages - Support for wildcard domain mappings On Feb 11, 12:15 am, Ikai L (Google) ika...@google.com wrote: Check it out! http://googleappengine.blogspot.com/2010/02/app-engine-sdk-131-includ...

Re: [google-appengine] Re: App Engine SDK 1.3.1 is out!

2010-02-10 Thread Ross M Karchner
I just tested wildcard domains-- When you are attaching a subdomain to your app, you can specify *, which will match all subdomains. For this to reach maximum coolness, your registrar would have to support wildcard CNAMES, it appears godaddy doesn't. On Wed, Feb 10, 2010 at 6:45 PM, Koen Bok

[google-appengine] Re: App Engine SDK 1.3.1 is out!

2010-02-10 Thread David W.
On Feb 10, 11:45 pm, Koen Bok k...@madebysofa.com wrote: Great update! Where can we find more info about: -CustomAdminConsole pages Picking through the diffs for 1.3.1, the syntax is: admin_console: pages: - url: /some/protected/url/in/your/app name: My Stats Page - url:

[google-appengine] Email decoding

2010-02-10 Thread pythono
Hey folks, So I set up a couple of my apps (python) to receive email. The tutorial on the appengine developer's guide is not too clear on decoding emails. My problem is being able to get strictly the text of the most recent email in a thread. Currently I'm decoding the 1st plain-text body of a

[google-appengine] Cron syntax in 1.3.1

2010-02-10 Thread theillustratedlife
I am trying to migrate my cron to the new specification. Specifically, I want to make this run on the first day of the month, not necessarily the first monday: cron: - description: … url: /…/ schedule: 1st monday of month 00:00 timezone: America/Los_Angeles The documentation implies 1 of

[google-appengine] Re: App Engine SDK 1.3.1 is out!

2010-02-10 Thread appengine-s...@google.com
For more information on wildcard domain mappings see: http://code.google.com/appengine/docs/domain.html For more information on custom admin console pages see: Java: http://code.google.com/appengine/docs/java/config/appconfig.html#Administration_Console_Custom_Pages Python:

[google-appengine] bulkloader in new SDK 1.3.1

2010-02-10 Thread Eli Jones
First off, thanks for the new release of the SDK. I'm finding the App Engine environment to fit my needs nicely. I'm trying out the bulkloader.py --dump of all my entities, and it seems to be working fine. But, it sure seems to do the dump very slowly. Watching the progress of the

[google-appengine] bulkloader.py --restore --url=http://localhost:8080/remote_api funkydunkyness

2010-02-10 Thread Eli Jones
Ok.. well, after successfully doing a bulkloader.py --dump from my live app using the 1.3.1 SDK (it was slow [see my previous post] but it worked)... I got real excited to do a --restore into my Development Environment.. I issue my command: bulkloader.py --restore

Re: [google-appengine] bulkloader.py --restore --url=http://localhost:8080/remote_api funkydunkyness

2010-02-10 Thread Piotr Jaroszyński
So, long story short.. there's some sort of bug with using more than one thread (the default) to --restore a lot of entities into your local Dev It's just that dev_appserver handles only one request at the same time. Pretty sure it makes its implementation way way simpler. -- Best Regards

Re: [google-appengine] Re: App Engine SDK 1.3.1 is out!

2010-02-10 Thread Nickolas Daskalou
Yeah, this is a great release. Well done Google dudes and dudettes! On 11 February 2010 15:32, gops patelgo...@gmail.com wrote: Wow!!! with wildcard and cursor , all thing i need is available, yay!! ( of course map reduce remains,,,but i sense it coming soon.. ) On Feb 11, 5:38 am,

[google-appengine] Re: Cannot use key and key_name at the same time with different values

2010-02-10 Thread Toru Tomita
Yes, Me too, I get same problem. 1.3.1 current production env in /base/python_lib/versions/1/google/ appengine/ext/db/__init__.py in __init__ raises the error 672: if key_name and key_name != key.name(): 673:raise BadArgumentError('Cannot use key and key_name at the same time' 674:

[google-appengine] Re: Cannot use key and key_name at the same time with different values

2010-02-10 Thread Toru Tomita
Me too, I am getting the error. On Feb 10, 6:04 am, Tonny 12br...@gmail.com wrote: I'm getting this error this morning (CET) Cannot use key and key_name at the same time with different values The error happens when an Entity is loaded from the store. The app worked fine until recently

[google-appengine] AppStats and custom admin pages - the alomst perfect duo

2010-02-10 Thread Piotr Jaroszyński
Hello, The perfect duo: handlers: # stats - url: /stats.* script: $PYTHON_LIB/google/appengine/ext/appstats/ui.py and admin_console: pages: - url: /stats name: Stats Except that with my long urls i get both horizontal and vertical scrollbars in the custom stats iframe. I can see this

Re: [google-appengine] Select columns

2010-02-10 Thread Manny S
Hi Ikai, I did read the documentation and now I have my data structures in place. One thing I wanted to do and that was not clear from my previous post was to append a app generated string (not unique) as a prefix to a datastore generated key. For instance, I want to generate a key that has the

[google-appengine] Re: Server error message when signing up to the google app engine

2010-02-10 Thread Wesley Chun (Google)
bruce, is this still happening when you try to sign up? if so, from which page exactly are you getting this error? (please copy-n-paste the URL). thanks, -- wesley - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Core Python Programming, Prentice Hall, (c)2007,2001 Python

[google-appengine] JPA

2010-02-10 Thread megala dhinakaran
what are jar files needed for google App engine datastore via JPA and JDO -- You 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] App Engine not listing my apps

2010-02-10 Thread Hendy Irawan
When I go to https://appengine.google.com/ I always get redirected to https://appengine.google.com/start and prompted to create a new application. I can create new applications and deploy to an app ID I already created (from my own memory). However I cannot list/manage existing apps. Thank you.

[google-appengine] Class model.Address is listed in the persistence.xml file but not mapped

2010-02-10 Thread megala dhinakaran
I create one JPA project .In that it display the following error .How to slove this error? ERROR MESSAGE: Class model.Address is listed in the persistence.xml file but not mapped -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to

[google-appengine] JPA

2010-02-10 Thread megala dhinakaran
what are jar files needed for google App engine datastore via JPA and JDO -- You 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