google-app-engine

Using Beaker on Google App Engine (Django)

How do we use Beaker to implement sessions on Google App Engine? (I say Beaker because gmemsess is short-lived, and therefore not suitable). There seem to be no examples online. We're using Django 1.1 via App Engine Helper (not app-engine-patch). ...

GAE and Django: What are the benefits?

Currently I have a website on the Google App Engine written in Google's webapp framework. What I want to know is what are the benefits of converting my app to run with django? And what are the downsides? Also how did you guys code your GAE apps? Did you use webapp or django? Or did you go an entirely different route and use the Java api?...

Confused about the urls in app-engine-patch

In app-engine-patch (http://code.google.com/p/app-engine-patch/) ... How on earth does the sample application know that the /person url maps to the myapp application? I'm trying to understand the url structure to everything and I've looked through the urls and I can't see it anywhere... Source can be seen on mercurial here: http://...

Google App Engine java eclipse plug-in cannot suspend on exception. Is this normal?

GAE java plugin does not suspend at any exception. So I'm seeing only stack-trace. The exception is just simple type-casting exception from bug on my code. (Not a custom breakpoint) I installed all tools with default setting and nothing configured additionally. Is this normal? And addition, DataNeucleus enhancing and app startup to deb...

appengine data structure - child, parent or both?

I'm trying my hand at google appengine and using the datastore with php and quercus. I'm not familiar with Java or Python, so lots of learning going on here. I've got pages rendering, and i'm able to get data in and out of the datastore. The app I am building has users, groups, topics and comments. A group has users, and users can bel...

How to create Form from a Model which has a ListProperty

I am currently using Django forms with the Google App Engine and I have a model which is as follows: class Menu(db.Model): name = db.StringProperty(required=True) is_special = db.BooleanProperty() menu_items = db.ListProperty(MenuItem) I have a MenuForm which is the following: class MenuForm(djangoforms.ModelForm): c...

Adding Google App Engine support and keeping standalone support.

I have a java web application built on Stuts2/Google Guice/JPA. It uses hibernate as the JPA vendor. I would like to add support so it can be used on Google's App Engine. Of course I'm running into issues with the queries and mappings. Such as Many-to-Many and joins not being supported. I'm trying to come up with the best solution f...

What is the admin url in an App Engine application?

I once used a page automatically created by App Engine SDK to view the database contents and other info, but I lost the URL. Do you know it? Does it work in production? ...

app-engine-patch and pyFacebook not working.

Hi, I am trying to write a facebook app using app-engine-patch and pyFacebook. I am using nothing but the examples provided with each tool and for some reason it will not work. I have combined the two just as described in the accepted answet here: http://stackoverflow.com/questions/984071/facebook-django-and-google-app-engine app-engin...

django template call function

Using google appengine and django. Whenever I have a db.ReferenceProperty() inside a model like: class User( db.Model ) : name = db.StringProperty() avatar = db.ReferenceProperty( dbImage ) So when putting out a User's page, in the django template I CAN'T do <div> <span>{{ user.name }}</span> <span>{{ user.avatar.key...

How do I get PyFacebook working with the Google App Engine Patch?

I've tried to follow the advice of this question: http://stackoverflow.com/questions/984071/facebook-django-and-google-app-engine, however I've run into a number of problems. The first is that from facebook.djangofb import facebook doesn't work because when I try to use the decorator @facebook.require_login(), it complains that the face...

a fundamental question on system date

Please forgive my naivette...a very fundamental question: I have a google app engine project that has a cron job that fetches records with date matching the current system date. This cron job triggers at 0:00 (ie, 12:00AM midnight) everyday. The cron job is apparently fetching records corresponding to the previous day. What could be wro...

Appengine jdoconfig.xml for local database

Has anyone successfully configured JDO datanucleus default to google app engine to work on a local database? Why am I always getting an error in jdoconfig.xml when I have specified the property "datanucleus.storeManagerType" with value "rdbms." at the end part. I tried googling but seems no luck. Caused by: org.datanucleus.exceptions....

DateTimeProperty has error being set to a datetime in Google App Engine

I'm having a weird error with some Google App Engine code I'm writing. My program contains some code like this: import datetime ... class Action(db.Model): visibleDate = db.DateTimeProperty() ... getActionQuery = Action.gql("WHERE user = :user AND __key__ = :key", user = user, key = self.request.get("key")) theAction = getActio...

Jaxb initialization in appengine causing HardDeadlineExceededError

Jaxb Context initialization takes more then the request time quota in appenigne. Its failing even with 200 jaxb classes. All my efforts have been futile. I tried speeding up Jaxb initialization with some System Properties. I even wrote a separate servelet which just inits the jaxb context but that too didn't help. Its working fine i...

how to use appcfg.py for google-app-engine projects created using google's eclipse plugin?

I have created a google-app-engine java project in Eclipse using Google's Eclipse plugin. My previous attempt to deploy failed. Now, when I retry, I get the following message: Unable to update app: Error posting to URL : http://appengine.google.com/api/appversion/create?app_id=mybdaywisherversion=1 409 conflict Another transaction for ...

Google app engine Youtube API

Hi, We have a small YoutubeAPI mashup App hosted on Google App engine. From last friday; we have been getting yt:quota - too_many_recent_calls error from youtube even though we call once in an hour. We suspected Google App engine; and hosted our war to some hosting provider & it was Rock Solid & we are NOT getting those youtube quota l...

Grails GoogleAppEngine no metadata problem

Hi I am trying to run grails on google app engine using JDO, but I got this: org.codehaus.groovy.runtime.InvokerInvocationException: javax.jdo.JDOFatalUserException: No meta data for Book. Perhaps you need to run the enhancer on this class? NestedThrowables: org.datanucleus.exceptions.NucleusUserException: No meta data for Book. Perh...

What is the largest website deployed on Google App Engine?

What is the largest website running on App Engine in term of estimated traffic, user base, and datastore size? Is there any success story ever published about big or fast growing websites on App Engine? ...

Can I use JPA 2.0 with Google App Engine?

Can I use JPA 2.0(e.g EclipseLink) with Google App Engine? ...