Re: [appengine-java] Re: Index Names now throwing an error
It's been over 3 weeks and I still have this blocking prod issue. Can someone at Google please look into it. http://code.google.com/p/googleappengine/issues/detail?id=5004 thanks, On Thu, May 5, 2011 at 11:16 AM, Matt Farnell mfarn...@gmail.com wrote: I haven't created a Java Property, I create the property using the low level api as I use these numbered properties for stats which I query on. It's been working for over a year and still does, however I now can't upload any app modifications as I'm getting an error due to this new property name type check. Can someone on the inside please chime in, it's been a few days and I need to upload an app mod. thanks, Matt On Thu, May 5, 2011 at 6:15 AM, Simon Knott knott.si...@gmail.com wrote: How have you managed to create a Java property which starts with a number? -- 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. -- thanks, *Matt Farnell* *follow on twitter http://twitter.com/lepah* -- thanks, *Matt Farnell* *follow on twitter http://twitter.com/lepah* -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Re: Index Names now throwing an error
I haven't created a Java Property, I create the property using the low level api as I use these numbered properties for stats which I query on. It's been working for over a year and still does, however I now can't upload any app modifications as I'm getting an error due to this new property name type check. Can someone on the inside please chime in, it's been a few days and I need to upload an app mod. thanks, Matt On Thu, May 5, 2011 at 6:15 AM, Simon Knott knott.si...@gmail.com wrote: How have you managed to create a Java property which starts with a number? -- 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. -- thanks, *Matt Farnell* *follow on twitter http://twitter.com/lepah* -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] warmup requests going crazy (9850 requests in 15 hours)
That url doesn't work, I'm assuming you mean http://code.google.com/p/googleappengine/issues/detail?id=4984 On Wed, May 4, 2011 at 5:08 PM, Ikai Lan (Google) ika...@google.com wrote: Can anyone else experiencing this add details here? http://code.google.com/p/googleappengine/issues/list?cursor=4984 Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine On Wed, May 4, 2011 at 3:33 PM, Matt Farnell mfarn...@gmail.com wrote: Hi there, My app is going crazy with warmup requests, here's the dashboard URI Req/Mincurrent Requestslast 16 hrs Avg CPU (API)last hr % CPUlast 16 hrs /_ah/warmuphttps://appengine.google.com/logs?version_id=1.350168112217871336app_id=memapapifilter_type=labelsfilter=path%3A%22%2F_ah%2Fwarmup%22severity_level_override=1view=Search 26.0 9.85K 1876 (0) 98% This has only started happening today? -- thanks, *Matt Farnell* *follow on twitter http://twitter.com/lepah* -- 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. -- thanks, *Matt Farnell* *follow on twitter http://twitter.com/lepah* -- 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] Index Names now throwing an error
Hi there, I have an app in production which has been working for over a year with an index defined like so datastore-index kind=MapUser ancestor=false source=auto property name=dci direction=asc/ property name=201012 direction=desc/ /datastore-index I went to make a modification to another unrelated part of the app and tried to deploy it however it now throws the following error. Unable to update app: Error posting to URL: xxx 400 Bad Request Error when parsing index.yaml: Unable to assign value '201012' to attribute 'name': Value 201012 for name is not of the expected type str So existing index names that did work are now preventing app deploys?? -- thanks, *Matt Farnell* *follow on twitter http://twitter.com/lepah* -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Re: 620 Error with Google Geocoding service
I'd suggest you do the geocoding on the clients browser and pass the results back to your server if you need them. On Wed, Jan 19, 2011 at 9:12 AM, Didier Durand durand.did...@gmail.com wrote: Hi, I think that you've more chances of getting heard by going to http://groups.google.com/group/google-maps-api or one of the other groups mentionned on the page of this url. regards didier On Jan 19, 6:09 pm, culov cul...@gmail.com wrote: This has happened many times before and its happening again. I can't geocode anything successfully from my GAE Java app because a 620 error is ALWAYS returned. Please fix! -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] SDK 1.3.8 released!
I can't either, when I try an update in eclipse by using help - install new software - Google App Engine - http://dl.google.com/eclipse/plugin/3.6 I can only see 1.3.7 under the SDKs section. On Fri, Oct 15, 2010 at 6:14 AM, Cyrille Vincey crll...@gmail.com wrote: Am I the only one who cannot download the eclipse 1.3.8 update ? On 15/10/10 14:51, Guillaume Laforge glafo...@gmail.com wrote: Excellent, thank you! The instances view is really nice and interesting! I just wanted to also mention that while upgrading one of my apps, one controller wasn't compiling against the new SDK, as there had been a little rename refactoring of a method: FetchOptions.Builder#withDefault is now: FetchOptions.Builder#withDefaults Notice the final 's'! Perhaps you could publish a list of API differences between releases? I know some OSS projects publish such documents for helping people upgrade to newer versions, or for showing users what the new APIs are. Anyhow, well done for this release! Guillaume On Fri, Oct 15, 2010 at 05:44, Takashi Matsuo tmat...@google.com wrote: Hello App Engine Developers! We're very happy to announce that SDK 1.3.8 is released today. There are many new cool features, so please download the new SDK and enjoy it! You can download the new SDK from: http://code.google.com/appengine/downloads.html Our blog post includes some screenshots of new features in admin console: http://googleappengine.blogspot.com/2010/10/new-app-engine-sdk-138-includ es-new.html Here are release notes: Java --- Version 1.3.8 = - You can run task queue tasks immediately from the admin console. - Added an OutputSettings class to the Images API to specify the JPEG encoding quality when running in production. - Support for login of multiple Google accounts within an app, and longer login sessions. For more information see: http://www.google.com/support/accounts/bin/answer.py?answer=181599 - In queue.xml, the maximum allowed bucket size is now 100. - Removed limits on zigzag merge-join queries. Therefore the error The built-in indices are not efficient enough for this query and your data. Please add a composite index for this query. will no longer be thrown in most cases, enabling more types of queries without indexes. - The whitelist has been updated to include java.net.InetAddress and some interfaces and abstract classes in javax.xml.soap, including javax.xml.soap.SOAPMessage. - Fixed an issue reserving App Ids by owners of emails containing periods, multiple cases, and googlemail.com address. http://code.google.com/p/googleappengine/issues/detail?id=1196 - Fixed an issue where TaskOptions had no public getters, making testing impossible. http://code.google.com/p/googleappengine/issues/detail?id=3243 - Fixed an issue on the development server where PNGs were being returned as JPEGs. http://code.google.com/p/googleappengine/issues/detail?id=3661 Python - Version 1.3.8 == - Builtin app.yaml handlers are available for common application functions, such as appstats. http://code.google.com/appengine/docs/python/config/appconfig.html#Builti n_Handlers - The Admin Console now provides an experimental tool to delete all entities in the datastore or all entities of a given type. This is available only if enabled using the datastore_admin builtin. Deleting entities will count against application quota. http://code.google.com/appengine/docs/python/datastore/creatinggettingand deletingdata.html#Deleting_Entities_in_Bulk - You can run task queue tasks immediately from the Admin Console. - You can now specify the quality of JPEG images via the Image API's execute_transforms function. Available in production only. - Support for login of multiple Google accounts within an app, and longer login sessions. For more information see: http://www.google.com/support/accounts/bin/answer.py?answer=181599 - In queue.yaml, the maximum allowed bucket size is now 100. - Precompilation is now enabled by default. To disable, use the --no_precompilation flag when updating your app. - BlobInfo now has an open() method that returns a BlobReader. - BlobReader now accepts a BlobInfo. - Removed limits on zigzag merge-join queries. Therefore the error The built-in indices are not efficient enough for this query and your data. Please add a composite index for this query. will no longer be thrown in most cases, enabling more types of queries without indexes. - Fixed an issue with task queue tasks not running on the dev_appserver when using Python 2.6. - Fixed an issue on the dev_appserver where auto task running wasn't working for BulkAdd. - Fixed an issue reserving App Ids by owners of similarly-named mails accounts containing periods, multiple cases, and googlemail.com address. http://code.google.com/p/googleappengine/issues/detail?id=1196 - Fixed an issue on the
[appengine-java] a basic tutorial on using the new 1.3.8 datastore delete with a Java app
It wasn't immediately obvious on how to get the 1.3.8 datastore delete functionality working with a Java app so I played around with it, got it working and thought I'd share how I did it for those java devs that cringe at the sight of python :) lets assume you have an existing java app with an app id my_java_app 1. install the appengine python sdk (http://code.google.com/appengine/downloads.html) 2. create a new folder anywhere outside your existing java project and call it (for example) my_java_app_tmp 3. create a file called app.yaml with these contents (make sure the application id is the same as your java one, and it has a non existing version number (I used 99) application: my_java_app version: 99 runtime: python api_version: 1 handlers: - url: .* script: main.py builtins: - datastore_admin: on 3. create a index.yaml with this content (not sure if this is required but I did it) indexes: 4. create a main.py with this content #!/usr/bin/env python # # Copyright 2007 Google Inc. # # Licensed under the Apache License, Version 2.0 (the License); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an AS IS BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # from google.appengine.ext import webapp from google.appengine.ext.webapp import util class MainHandler(webapp.RequestHandler): def get(self): self.response.out.write('Hello world!') def main(): application = webapp.WSGIApplication([('/', MainHandler)], debug=True) util.run_wsgi_app(application) if __name__ == '__main__': main() 5. upload the app using the python script (its installed when you install the appengine python sdk) appcfg.py update my_java_app_tmp 6. once uploaded go to the app console (https://appengine.google.com) and on the top left of the console select your java app and then in the option box next to it select 99 7. now underneath the blob viewer on the left side you should have the option 'datastore admin' all done. enjoy. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] email templating
Does anyone have any recommendations for an emailing template solution? Ideally I'd like to be able to define my HTML emails like JSP and then just substitute in the values. I've come across Velocity and StringTemplate, I'd like something thats really lightweight, simple, fast and easy to you. thanks. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Re: Eventually consistent reads and JDO
I finally figured it out, its on the Datastore config level. DatastoreServiceConfig config = DatastoreServiceConfig.Builder.withReadPolicy(new ReadPolicy(Consistency. EVENTUAL)); DatastoreService dss = DatastoreServiceFactory.getDatastoreService(config); I thought it would have been on the Query object as it is in the JDO example posted in the blog. I was using a singleton as I thought we were only meant to instantiate one DatastoreService instance and reuse it?? On Fri, Apr 2, 2010 at 1:04 AM, lepah mfarn...@gmail.com wrote: Hi there, How can I use this with the low level datastore, I've looked around in the JavaDocs and found ReadPolicy.Consistency but couldn't find anywhere to set it. It could be just me as it's 1AM. Would love to try it out. On Apr 1, 11:39 am, Isdal tomas.is...@gmail.com wrote: Thanks Ikai! I noticed that the docs are updated now too. This page has a couple examples on it as well: http://code.google.com/appengine/docs/java/datastore/usingjdo.html // Tomas On Mar 30, 3:57 pm, Ikai L (Google) ika...@google.com wrote: Yep. The example is documented here: http://googleappengine.blogspot.com/2010/03/read-consistency-deadline. .. http://googleappengine.blogspot.com/2010/03/read-consistency-deadline.. .Query q = pm.newQuery(Employee.class); q.addExtension(datanucleus.appengine.datastoreReadConsistency, EVENTUAL); On Fri, Mar 26, 2010 at 5:12 PM, Isdal tomas.is...@gmail.com wrote: Hi all, Thanks for all new new features in 1.3.2! I was just wondering if it is possible to use the ReadPolicy.Consistency.EVENTUAL feature and still use the JDO interface. I am currently getting a PersistenceManager with: JDOHelper.getPersistenceManagerFactory(transactions- optional); Is there a way to tell the PersistenceManager to tell the datastore to accept eventually consistent reads? Most of my app can handle stale data, and any performance improvement would be great! Thanks! // Tomas -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.comgoogle-appengine-java%2B unsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Enginehttp:// googleappengine.blogspot.com|http://twitter.com/app_engine -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Introducing App Engine SDK 1.3.0
Hi Jason, It could be just me but when I try and update to 1.3.0 from 1.2.8 in eclipse by clicking Help - Software Updates - Update I don't get any updates for google appengine, thats how I have always in the past got updates but I seem to be stuck on 1.2.8, 1.3.0 isn't coming through the eclipse updates (I know I can add the SDK manually but I'd prefer the automagical way) Is this a known issue or just me? thanks, Matt On Mon, Dec 14, 2009 at 8:00 PM, Jason (Google) apija...@google.com wrote: Hi Everyone. We just released version 1.3.0 of the App Engine SDK for both Python and Java. The most notable change is the new experimental Blobstore API which allows billed apps to store files up to 50 MB. The release also includes some performance tweaks to the Java runtime. Blog post: http://googleappengine.blogspot.com/2009/12/app-engine-sdk-130-released-including.html Release notes: Python: http://code.google.com/p/googleappengine/wiki/SdkReleaseNotes Java: http://code.google.com/p/googleappengine/wiki/SdkForJavaReleaseNotes Cheers! - Jason -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Introducing App Engine SDK 1.3.0
doh, never thought to try that, I guess I do need some more sleep :) thanks Jason and Vince for your help, that fixed the problem! On Wed, Dec 16, 2009 at 8:46 AM, Jason Parekh jasonpar...@gmail.com wrote: Hi Matt, You'll need to go to Help Available software, expand the Google Update Site for Eclipse 3.4, and select the App Engine SDK from there. Hope that helps, jason On Wed, Dec 16, 2009 at 11:37 AM, Matt Farnell mfarn...@gmail.com wrote: Hi Jason, It could be just me but when I try and update to 1.3.0 from 1.2.8 in eclipse by clicking Help - Software Updates - Update I don't get any updates for google appengine, thats how I have always in the past got updates but I seem to be stuck on 1.2.8, 1.3.0 isn't coming through the eclipse updates (I know I can add the SDK manually but I'd prefer the automagical way) Is this a known issue or just me? thanks, Matt On Mon, Dec 14, 2009 at 8:00 PM, Jason (Google) apija...@google.com wrote: Hi Everyone. We just released version 1.3.0 of the App Engine SDK for both Python and Java. The most notable change is the new experimental Blobstore API which allows billed apps to store files up to 50 MB. The release also includes some performance tweaks to the Java runtime. Blog post: http://googleappengine.blogspot.com/2009/12/app-engine-sdk-130-released-including.html Release notes: Python: http://code.google.com/p/googleappengine/wiki/SdkReleaseNotes Java: http://code.google.com/p/googleappengine/wiki/SdkForJavaReleaseNotes Cheers! - Jason -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: How to save GeoPt in JPA?
use geohash Sent from my iPhone On 15/09/2009, at 7:09 AM, Jason (Google) apija...@google.com wrote: Release 1.2.5 did add a GeoPt property type for Java so you can more easily store geographic coordinates in the datastore, but App Engine itself does not provide the logic necessary for doing bounding-box or other geo queries. As you said, there are several projects available for App Engine Python, but I don't know of any for Java, though they could still be out there. - Jason On Sat, Sep 12, 2009 at 1:55 PM, damenlon inhouse...@gmail.com wrote: Hi, There is a good Map tutorial, geodatastore, for Python. Is there one for Java using JPA? What I want to do is searching Geo Points within a boundary. Thanks! --~--~-~--~~~---~--~~ 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] Tasks Rate and Bucket Size
Hi there, Can me mentally challenged or maybe its just monday but I'm having a hard time figuring out what the Bucket Size is and how/if its related to the rate for tasks. I've read the documentation here, http://code.google.com/appengine/docs/java/config/queue.html and the wiki article on token buckets http://en.wikipedia.org/wiki/Token_Bucket and also the python docs but I'm still not getting it., I wrote a simple test case and tried varying the bucket size between 1 and 10 but didn't notice any difference, maybe due to not having enough volume to see any difference?? thanks, Matt --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---