google-app-engine

OpenID consumer for JAVA GAE

Is there any OpenID implementation I could use in my GAE (Google App Engine) Project? ...

Opinion about Glashammer App engine Web framework

I am having to look into some code and consider working in a Python framework called Glashammer. I know and love Django. I have some experience with Appengine native framework and Django on Appengine. I'd like to know from you that have used one or more of those, how Glahammer compares and contrasts with others. What are there any Pros...

App Engine SDK DevServer Read-Only Mode?

Is there a way to run the app engine dev server in read-only mode in order to simulate the scheduled maintenance by Google which puts the datastore into read-only mode? Gracefully Degrading During Scheduled Maintenance ...

How to activate datanucleus java-type extensions for JPA?

I have a simple JPA @Entity that has a property of type java.util.Locale. When I try and persist this, I get the following error: java.lang.IllegalArgumentException: locale: java.util.Locale is not a supported property type. at com.google.appengine.api.datastore.DataTypeUtils.checkSupportedSingleValue( DataTypeUtils.java:174...

Trouble using PIL with Google Appengine SDK

I have a Windows Server 2008 R2 (64bits) machine on which I wanted to develop a google AppEngine app. So I installed Python 2.5.4 from python.org (because the Google SDK said I needed 2.5 and 2.5.6 didn't have any MSI's) Then I installed PIL from http://www.pythonware.com/products/pil/ I used version 1.1.7 for python 2.5 I used the 32-...

Problem with running Django 1.1.1 on Google App Engine Developement Server

I've downloaded google_appengine version 1.3.1. Using some web tutorials, I've created basic django 1.1.1 application. Using appcfg I managed to deploy it on GAE and it works. The problem is, that application doesn't want to work on dev_appengine.py developement server. Whenever I run the app GAE local server is returning HTTP 200 witho...

AppEngine (JAVA): Updating record

I have the following code [in doPost()] to edit existing record. It does not give any error but record not saved. Any idea? or what is best way to update exsting record based on a single unique field? if(sAction.compareToIgnoreCase("S")==0) { String email = req.getParameter("Email"); PersistenceManager pm =...

Grails on Google App Engine - Production Issue: Response 500 Error

Hi, I am using Grails (app-engine and gorm-jpa plugins) for the development. I don't know why, But my application is running fine on local environment. But on Google App Engine, I am in-consistently (1 in 3 times) getting Error Code-500. Also, in GAE logs - reason of request failure is its taking so long to execute the request (usuall...

Examinations for Google App Engine Java update permissions error

I have a gae application (created via GRAILS) which loaded up fine, though my first attempt is not working (due to me not testing locally first), but the point being that it loaded up fine. Now when I try and do an update on windows: "%APPENGINE_HOME%/bin/appcfg.cmd" update ./target/war I get the message - You do not have permission ...

Google visualization api on app engine not working... (python)

I'm trying to render the sortable table that's provided in Google visualization API in my app on app engine, but it's not working. The app is written in python and uses the django framework. When I copy the generated HTML/Javascript and save it as a plain html file locally, it works just fine. This leads me to believe that the problem i...

a way to convert appengine datastore Entity to my object?

Using google appengine 1.3.0 w/ java and jdo... While trying to write JDO querys for 1-to-many owned relationships, I came across a non-JDO concept that I thought was really smart. Ancestor Querys. The appengine.api.datastore.Query interface allows for scoping of a query using the parent Key. Unfortunately the results from the query ar...

Querying on keys only from a back-reference

If I have a class that has a back reference (eg something_set), how do I query for keys only on that set? The Query() constructor allows you to do this by settings keys_only=True, but as far as I can tell, filtering directly on the back reference always de-references the entities when it returns them. ...

Google App Engine - org.datanucleus.exceptions.NucleusUserException: Object Manager has been closed

Why does the code below result in org.datanucleus.exceptions.NucleusUserException: Object Manager has been closed? The exception appears to be thrown at query.getResultList(). public final void removeUserTokens(final String username) { final Query query = entityManager.createQuery( "SELECT p FROM PersistentLogin p WHERE user...

Geocoding from App Engine servers results in 620

Is anyone else having this problem? Sometime last night after app engine's server maintenance, i have only successfully been able to geocode a few addresses -- most responses are 620 errors. ive been running the same app with no problems for 3 months, so i think i think its a problem on google's end. one other person on the google gro...

Pretty URLs in Google App Engine

I want to pass a parameter 'A1B2C3' to a GWT application based on Google App Engine. I do it like www.example.com/index.html?key=A1B2C3. Although it's working, I'd like to use pretty URLs. Is it possible to do URL rewriting on Google App Engine? I couldn't find out how. www.example.com/A1B2C3 instead of www.example.com/index.html?key...

How can I set the language (and culture) used by the django template system in webapp?

I'm writing a Google App Engine application using the WebApp framework. I'd like the various django filters to use the user-agent requested language (and culture) and not the default (English). I'm mainly interested in timesince, timeuntil, and date. Side-question: how can I enable the filters provided by django.contrib.markup inside We...

Local App Engine datastore is slow once loaded up, any suggestions?

I've loaded up a local datastore with 40,000+ entries. Unfortunately, recalling any data from it at all is very slow on my fairly new Macbook Pro. Any suggestions on speeding things up, short of buying a new piece of hardware? ...

getting strange exception trying to implement asynchronous http in google app engine for java

Hi, I'm trying to implement async http in java. Here is the important part of the code: for (String urlString : urls) { // TODO: try and get rid of these two heap allocations url = new URL(urlString); request = new HTTPRequest(url); request.addHeader(userAgentHeader); request.addHeader(authorizationHeader);...

What is the best way to do AppEngine Model Memcaching?

Currently my application caches models in memcache like this: memcache.set("somekey", aModel) But Nicks' post at http://blog.notdot.net/2009/9/Efficient-model-memcaching suggests that first converting it to protobuffers is a lot more efficient. But after running some tests I found out it's indeed smaller in size, but actually slower ...

Manipulating dates in the datastore

Hey everyone, I've recently been playing around with Google's AppEngine and I seem to have gotten stuck. I'm trying to create a query that selects posts that are before a certain date (in this case, the date is now - 1 day). I've tried a few different methods in order to accomplish this, but none have worked. One of which involved conve...