google-app-engine

key_name and entities groups

Can i have two entities in the same model , but in different entities groups, with the same key_name? Thank Joel ...

Google App Engine App.yaml config for skip-files to ignore Mercurial files

I have added a line at the top of skip_files to make app engine deployment skip all files starting with .hg such as the .hgignore file and the .hg directory. Will this ignore the whole .hg directory and all its files and subdirectories? skip_files: - ^(./)?.hg$ ^(.*/)?app.yaml ^(.*/)?app.yml ^(.*/)?index.yaml ^(.*/)?index.yml ^(./)?#....

How to deploy GWT Project containing GWT modules without entry points with Eclipse GAE plugin?

I have a GWT Project containing some GWT modules that I would like to have NO entry point, functioning as libraries for other modules WITH entry points. The GWT 'entry point' modules compile fine with the "GWT Compile Project" option in Eclipse if I choose not to compile the GWT 'library' modules with them. They also run fine. When I ...

Google App Engine + JSON based service + Authentication

I am new to GAE (cloud based development in general actually) and I am looking for some advice. I am looking to use GAE only as a service (REST + JSON) with my client-side in Sproutcore. I am looking to find a light-weight service-based framework that will provide me with strong security (authentication, protection against XSS etc). Ja...

Including a third party python package in Django on app-engine.

I have a django app running on appengine and it works fine. Now I want to extend it to use a third party python package - googleanalytics. No matter where I put this package django complaints about not finding it (Error was: No module named googleanalytics). My dir structure is as follows- app.yaml myproject   -settings.py   -manage.py...

in appengine how do i get foo.cust-one.com, foo.cust-two.com etc. to point to foo.appspot.vom

If foo is a google appengine app that can be accessed at both foo.appspot.com and www.mydomain.com How do I get various publishers to be able to access this by pointing foo.theirdomain.com to theirdomain.mydomain.com or theirdomain.foo.appsopt.com. One way is - theirdomain needs to setup a google apps account - and than install my ap...

App Engine reference property optimization

I have a database structure like this - class Movie(db.Model): name = db.StringProperty() class Tag(db.Model): name = db.StringProperty() class MovieTag(db.Model): movie = db.ReferenceProperty(Movie, collection_name='tags') tag = db.ReferenceProperty(Tag, collection_name='movies') I have a query where I am trying to ...

GAE & response caching

Good afternoon, I need that results of my Servlet always cached by browser. Trying to put the same headers like http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js but the results still do not come from the browser cache (tested with FireBug). My code: response.setContentType("text/javascript"); response.setHeader("Last-Modi...

Can a GQL query execute an order by over two or more kinds?

I have two entity kinds in my python GAE app - both with similar attributes - and I'd like to query both lists and order the result according to an attribute common to both kinds. So something along the lines of: db.GqlQuery("SELECT * FROM Video1, Video2 ORDER BY views DESC").fetch(1000) Can I do this in GQL directly? ...

GWT getting RPC StatusCodeException when deploying from a MAC

Ive successfully run and deploy a google appengine app from a windows machine for months. Now i on a mac and my app works fine running locally (both in hosted mode and compiled mode). However, after doing a mvn gae:deploy my app starts spitting out RPC StatusCodeExceptions through javascript only. There is no exception on the Server side...

Google App Engine Deployment Errors

We deployed an app using Google App Engine before. We are trying to redeploy the app in Eclipse. We are getting the following errors: The App Engine SDK '\XXXX\war' on the project's build path is not valid Google App Engine Problem The output directory for the project should be set to /XXXX/war/WEB-INF/classes Unknown Goo...

How to know which row a user selects from an HTML table - GAE Python

Sorry if this is a newbie question. I have searched but found nothing... Using Python on GAE, I will display a table of, say, customers on an HTML table. The table will show their name and phone number. I want the user to double-click on a row and have the python Post() method know either the row number double-clicked or the customer...

Can I use IronPython to develop GUIs for Google App Engine?

I'm developing a simple Python program with a (dynamic) form interface, but it needs to run on Google App Engine. I understand that IronPython lets one use Visual Studio's drag-and-drop interface builder and classes while programming with Python, but will this be compatible with Google App Engine? ...

App engine - easy text search

I was hoping to implement an easy, but effective text search for App Engine that I could use until official text search capabilities for app engine are released. I see there are libraries out there, but its always a hassle to install something new. I'm wondering if this is a valid strategy: 1) Break each property that needs to be text...

With the GAE Bulk Uploader script, how do I deal with empty values in the CSV?

I've set up my app.yaml and data_uploader files as suggested in this document. My CSV file has some null values (the spreadsheet that I exported had some empty cells). When I run the script, I get this error in the log file: [ERROR ] Error in WorkerThread-0: Value should not be empty; received []. My guess is that it is because som...

How to copy dependencies to gae war/WEB-INF/lib? (take 2)

Have same challenge as this guy: http://stackoverflow.com/questions/3421826/how-to-copy-dependencies-to-gae-war-web-inf-lib Applying his solution's pom segment for copy-dependencies and running "mvn package" did nothing. Seems that the goal doesn't ever get run. Help! Pom.xml: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns...

RSS parser in Google App Engine (Java)

What is the best approach to writing a super simple RSS parser in Google App Engine (Java)? I read few posts about Rome, but seems like Rome is not compatible with App Engine. Am I better off writing my own library? Fewest lines of code is a requirement, as this is not the main function of the application. ...

Possible to do ordered dictionary in python 2.5 (due to GAE)?

I'm new to Python, and using Google App Engine, which is currently running only Python 2.5. Are there any built-in ways of doing an ordered dictionary, or do I have to implement something custom? ...

How to decode string to use with Google Language Detection API?

Hi. I want to use Google Language Detection API in my app to detect language of url parameter. For example user requests url http://myapp.com/q?Это тест and gets message "Russian". I do it this way: def get(self): url = "http://ajax.googleapis.com/ajax/services/language/detect?v...

Python Threads (or their equivalent) on Google Application Engine Workaround?

I want to make a Google App Engine app that does the following: Client makes an asynchronous http request Server starts processing that request Client makes ajax http requests to get progress The problem is that the server processing (step #2) may take more than 30 seconds. I know that you can't have threads on Google Application E...