google-app-engine

Best Domain Host for App Engine?

I'm now paying Dreamhost for domain hosting, and I was pleased with it when I was actually using their shared hosting, but now I'm a paying customer of Google's App Engine service and I haven't moved more than a few dozen megabytes of data to or from the Dreamhost server in over a year. I'm now investigating the different ways I could b...

JSP hosting on Google App Engine?

Any body hosted JSP in GoogleAppEngine... I Expect the user experiences from GoogleAppEngine Is it easy to maintain JSP/Servlet . I have used another free webhosting service.But it wasnt nice to manage and use. ...

Hierarchical data output from App Engine Datastore to JSON?

I have a large hierarchical dataset in the App Engine Datastore. The hierarchy is preserved by storing the data in Entity groups, so that I can pull a whole tree by simply knowing the top element key like so: query = db.Query().ancestor(db.get(key)) The question: How do I now output this data as JSON and preserve the hierarchy? Googl...

app-engine-patch "DJANGO_STYLE_MODEL_KIND = False" settings causes the Dango Administration fail.

The Problm occurs when Iset DJANGO_STYLE_MODEL_KIND = False in the file "settings.py". The datastore model entity of admin users in GAE will change from auth_users to Users, then try to login to admin and server error occured. That is, if DJANGO_STYLE_MODEL_KIND set to "False", the Django admin funciton will fail because of the name of d...

Google App Engine: Saving a list of objects?

Hi. I need to save in my model a list of objects from a certain class on the datastore. Is there any simple way to archive this with ListProperty and custom property's without going into pickled/simplejson blob data? I just want something like this: class Test: pass class model(db.Model): list = db.ListProperty(Test) Loo...

Pros & Cons of Google App Engine

Pros & Cons of Google App Engine [An Updated List 21st Aug 09] Help me Compile a List of all the Advantages & Disadvantages of Building an Application on the Google App Engine Pros: 1) No Need to buy Servers or Server Space (no maintenance). 2) Makes solving the problem of scaling much easier. Cons: 1) Locked into Google App Engine ...

How do I programatically pull lists/arrays of (itunes urls to) apps in the iphone app store?

I'd like to know how to pragmatically pull lists of apps from the iphone app store. I'd code this in python (via the google app engine) or in an iphone app. My goal would be to select maybe 5 of them and present them to the user. (for instance a top 5 kind of thing, or advanced filtering or queries) ...

Do any Python ORMs (SQLAlchemy?) work with Google App Engine?

I'd like to use the Python version of App Engine but rather than write my code specifically for the Google Data Store, I'd like to create my models with a generic Python ORM that could be attached to Big Table, or, if I prefer, a regular database at some later time. Is there any Python ORM such as SQLAlchemy that would allow this? ...

Google App Engine - differences between the development server and the production server

Hi all, I would like to ask what are the differences between the development server and the production server. To be more specific, I give an example, I can run my application in the development server but when deploy to the production server, there is an error 500 Internal Server Error So, can you please give me some advices? 08-20 ...

Fetching or Deleting Entity from Google App Engine DB with Unicode Property Name

I have an Expando model kind in my App Engine datastore and I'm setting many arbitrary property names. I didn't consider that I couldn't store Unicode property names, and now I'm in a troubling situation where any attempt to fetch entities of this kind, or even deleting them to get rid of the offender get the following error: Traceback ...

User-Agent in Google App Engine python

I'm using Google App Engine python. I want to know what browser the user is using. ...

GAE can't serve my image

I need help fixing the following error when I run my webapp: com.google.appengine.tools.development.LocalResourceFileServlet doGet WARNING: No file found for: /images/banner.jpg I've already setup the config file to include that folder in web-inf: <static-files> <include path="/images/**.jpg" /> </static-files> I am ...

Where is the best place to put cache-evicting logic in an AppEngine application?

I've written an application for Google AppEngine, and I'd like to make use of the memcache API to cut down on per-request CPU time. I've profiled the application and found that a large chunk of the CPU time is in template rendering and API calls to the datastore, and after chatting with a co-worker I jumped (perhaps a bit early?) to the ...

Python what does it mean "AttributeError: 'unicode' object has no attribute 'has_key' "

Hello, I would like to ask what does it mean "AttributeError: 'unicode' object has no attribute 'has_key'" Here is the full stack trace: Traceback (most recent call last): File "D:\Projects\GoogleAppEngine\google_appengine\google\appengine\ext\webapp\__init__.py", line 509, in __call__ handler.post(*groups) File "D:\Projects...

app-engine-patch with pyamf = No module named encoding

I'm trying to use app-engine-patch with pyamf by following this: http://pyamf.org/wiki/GoogleAppEngine because I want to migrate my Django <-> pyamf application to app-engine-patch <-> pyamf. What I have now is that I created my gateway.py with only one line of code: import pyamf just to test can I use pyamf and I get blank page whe...

Unable to modify App Engine entities, except in administration console

I'm experiencing a critical problem with my App Engine datastore, and it seems to be completely immune to debugging: I'm unable to modify entities after constructing them. The problem is even present when working from a console defined in app.yaml that does not share any code with my main application. Here's an example from the console...

Bigtable to MySQL?

We're thinking of building some of our infrastructure on to Google AppEngine. But we're worried that if it does not scale, we'll need to export the data and run it on our own servers in future. Is there a way to export Bigtable to MySQL? ...

Can one application access other applications data querying the key in Google App Engine?

It would be an enormous security flaw if it does. Proposed method: entity = db.get(key) source: http://code.google.com/appengine/docs/python/datastore/creatinggettinganddeletingdata.html#Getting%5Fan%5FEntity%5FUsing%5Fa%5FKey ...

Right way to use twitter4j in appengine

I am practicing making a web app which tries to read the user's twitter profile, display his/her friends and show his/her picture. The code example at the Twitter4j website goes: public static void main(String args[]) thrwos Exception{ Twitter twitter = new Twitter(); twitter.setOAuthConsumer("[consumer key]", "[consumer secret]"...

Python/GAE web request error handling

I am developing an application on the Google App Engine using Python. I have a handler that can return a variety of outputs (html and json at the moment), I am testing for obvious errors in the system based on invalid parameters sent to the request handler. However what I am doing feels dirty (see below): class FeedHandler(webapp.Requ...