google-app-engine

It's appropriate use AppEngine for serve only static pages?

I have been recived some job offers to develop simple static pages (only with a contact form) and I have been tempted to suggest appengine for the hosting, but, is this appropiate? I don't want to see appengine become in the new geocities. ...

Why would a Django admin site limited to 301 entries?

I'm working on a Google App Engine project using Django. I noticed that for some reason, the Django administration system page lists only 301 entities for one model, and 301 entities for another model. But there are actually over 500 stored instances for both of these models. What could be causing this problem? ...

google app engine request log breakdown

Here is an example line from one of python appengine apps in the admin console Logs section filtered to 'Request Only': 01-22 07:19PM 55.483 /zone/5 200 82ms 161cpu_ms 115api_cpu_ms 0kb Mozilla/5.0 (Windows; U; W... Is there an explanation somewhere of what the columns are? Here's what I'm curious about: Column 3: 55.483 - I assum...

Convert string in Class name (from appengine datastore to class)

Hello guys, I'm using appengine to develop an application. Ideally I would like to define a new kind (called Recipe) like this: class Recipe(db.Model): ingredients = db.ListProperty(type) quantities = db.ListProperty(int) However it seems that you cannot use "type" as the class value in ListProperty. I was thinking of instead ...

Appengine mercurial error

I am trying to deploy mercurial for google app engine and keep getting this error. Please see if anyone has a solution. <type 'exceptions.ImportError'>: No module named pwd Traceback (most recent call last): File "/base/data/home/apps/ajatus-graphics/2.339364808142331297/hgapp.py", line 33, in <module> main() File "/base/data/ho...

Google App Engine - how do you handle a DatastoreTimeoutException?

I've built something on Google App Engine that acts as a backend for an iPhone app. In the app, there are interactions that are pushed out to social networks via their APIs. So the typical workflow is like this: User uses the iPhone app to do "something" App Engine app is alerted via HTTP App Engine alerts social network that user did ...

Google App Engine and Django templates: why do these two cases differ?

I'm new to Python, and I'm using Google App Engine to build a simple blog to help me learn it. I have the following test code: entries = db.Query(Entry).order("-published").get() comments = db.Query(Comment).order("published").get() self.response.out.write(template.render(templatePath + 'test.django.html', { 'entries': e...

Can GAE act as an XMPP server?

Hi, I'm thinking of building a multi-player game using GAE. When player A makes a move, I'd like to record the details and then let player B know about the move. I thought that I might get some open-source XMPP library in my client and notify presence to my app if that is possible? I wouldn't want to force the player to sign-up to a se...

Google app engine and custom subdomain

So, I wrote my own application which is hosted on Google app engine., and can be accessed on URL like this: http://myapp.appspot.com/ - where "myapp" is the name/id of my application. I want the app to be accessible on subdomain I don't own (myapp.somedomain.com), and want to give admin of somedomain.com info he needs to set it up. The...

iPhone app with Goole App Engine

I've prototyped an iPhone app that uses (internally) sqLite as its data base. The intent was to ultimately have it communicate with a server via PHP, which would use mySQL as the backend database. I just discovered Google App Engine, however, but know very little about it. I think it'd be nice to use the Python interface to write to...

What are the advantages of using Django insead of app-engine's default web framework?

I'm building my first python app on app-engine and wondering if I should use Django or not. What are the strong points of each? If you have references that support your answer, please post them. Maybe we can make a wiki out of this question. ...

How to organize an app-engine application

I want to create a directory structure like the following. How can I get the account.py and game.py to handle the requests that go to \account\ and \game\ respectfully. All the app-engine examples I have seen have all the logic in on main.py that handle all urls. app\account\ \account.py \game\ \ game.py \st...

Spring Security 3.0 on Google App Engine?

Blogs show that Spring Security works on Google App Engine, but based on the date of their posts, I think they are speaking of version 2 of Spring Security. Has anyone tried Spring Security 3 on Google App Engine? ...

What is best way to update Google datastore with new fields?

I have to add new fields to existing tables. After I add the fields , the application breaks as old records do not have newly added field and throw exception. Is there a way to update all old records with newly added fields? I need it for a java application on google app engine? ...

Is Pinax able to be deployed on gae?

Hi all, Is there any chance that an application developed with Pinax could be deployed in google app engine? As I know, Pinax is based on Django, and integrates tons of applications, it is suitable for building even a social networking site. It's extremely useful but I wonder if I can deploy it on google app engine. Thank you, ...

Google App Engine: Add task to queue from a task

I need to track data from another website. Since it's spread over 60+ pages, I intend to use a daily cron job to add a task to the queue. This task then should take care of one page and depending on some checks, put another instance of itself on the queue for the next page. Now a simple taskqueue.add(url='/path/to_self', params=control...

Grails Warnings/Errors during run-app

I'm currently seeing the warnings below when trying to run my Google App Engine/Grails test app in Eclipse. Warning, target causing name overwriting of name startLogging Warning: C:\Users\Some Person.grails\1.2.0\projects\test-grails\plugins\app-engine-0.8.8\grails-app\conf\spring not found. Warning: C:\Users\Some Person.grails\1.2.0\p...

Google App Engine - Does starting up a new instance cause the user to wait for it to initialize?

I know that when your Google App Engine (GAE) app has 0 instances running (because it has been idle for a bit), and a user requests a page, the user has to wait for the instance to boot up and do all of the instantiation which can cause the user to wait a significant amount of time. My question is about the situation when your GAE app a...

Grails - Class "org.grails.tomcat.TomcatLoader" was not found in the CLASSPATH

grails run-app from within Eclipse is currently giving me the exception below for my Google App Engine/Grails test application: Enhancing JDO classes [enhance] DataNucleus Enhancer (version 1.1.4) : Enhancement of classes [enhance] Jan 24, 2010 5:11:42 AM org.datanucleus.metadata.MetaDataManager loadClasses [enhance] SEVERE: Class...

Google App Engine Java: how to remove unused indexes?

If I found information about removing unused indexes, like in Uploading and Managing a Python App / Deleting Unused Indexes, it was only for the Python environment... Any way to tag an index in the [~project]/war/WEB-INF/datastore-indexes.xml file? ...