google-app-engine

Where should one place the code to autoincrement a sharded counter on Google App Engine/Django when one creates a new model?

I've a model MyModel (extending Google's db.Model), and I want to keep track of the number of Models that have been created. I think the code at from Google's I/O talk on Sharding Counters is quite good, so I'm using that. But I'm not sure where I ought to be calling the increment when creating a new code. (I'm using Django, and I've ke...

Google App Engine - which tools to edit datastore locally?

Hi all, I would like to ask if there is any tools for Google App Engine to edit datastore in localhost? In the Application Console, I can edit data on appspot, but for localhost, which tools are available? Please advice! ...

'Query' object has no attribute 'kind' when using appcfg.py download_data

I'm having problems with bulk downloads -- all of my data is not being pulled down. I'm still debugging, but I see in my console: Traceback (most recent call last): File "/Users/matthew/local/opt/google_appengine/google/appengine/tools/adaptive_thread_pool.py", line 150, in WorkOnItems status, instruction = item.PerformWork(self.__th...

How to set a complex custom crontab in google-app-engine (java)?

I am building an app for which I need to set up cron jobs. What I want to do is to set the specific minutes in a hour where specific crons should run. For instance: Task1 at 1st minute of the hour Task2 on every second minute of the hour Task3 every 2 minute only in the second half of the hour Building this in the standard Unix cron ...

Why is java.lang.Thread in the Google App Engine whitelist?

Why is java.lang.Thread in the Google App Engine whitelist when it is not supported? ...

how to create an excel file in google app engine (python)?

I want to create an excel sheet using Google App Engine in python. my application datastore contains the data of company details like name, business, website,..etc.,. i want to put those details in an excel sheet, is it possible to generate excel file in Google App Engine using python. can anybody help me! ...

How to process UDP data in Appengine

I have a service provider who is transmitting data thro' UDP. I want to establish a connection to them, receive & process data (will be with in the 30 sec limit/request) Is it possible to get & process UDP data in appengine. I am looking for some simple example. ...

Mechanize and Google App Engine

Has someone managed to use mechanize with Google App Engine application? ...

Google App Engine - Request class query_string

Hi all, In Python and GAE, I would like to ask how to get the parameters of a query string in the url. As I know, the query_string part returns all the part after the "?" in the url. So what I have to do is to split the query string with "&", and use the variables. Is there any other convinient way to manage the query string? How do yo...

Is it possible to deploy one GAE application from another GAE application?

In order to redeploy a GAE application, I currently have to install the GAE deployment tools on the system that I am using for deployment. While this process is relatively straight forward, the deployment process is a manual process that does not work from behind a firewall and the deployment tools must be installed on every machine that...

session persistant across browser/server restart using google app-engine

How do I make sessions persist across browser/server restarts? I'm using Google AppEngine. I'm getting a new session id everytime I restart my browser and/or server. String jSessionId=this.getThreadLocalRequest().getSession().getId(); End Goal The big win I'm shooting for is long lived anonymous accounts. For example, a user can do ac...

updating an object with JDO and GAE

So, I'm creating a small web app using Wicket that will run on the google app engine. I'm using JDO, and so far have no problems persisting data (inserts) or querying data those same data objects. Maybe I'm missing some basic thing, I'm trying to take one of those persisted objects, change two values and then I want that modified objec...

What is the simplest way to implement a remote FIFO queue as a Python GAE application?

What is the simplest way to implement a remote FIFO queue as a Python GAE application and then push/pull name-value pair dictionaries to and from it? For example, when an http get is made to the GAE application, the GAE app would return the oldest collection of name-value pairs that were posted to the app which have not been previously...

where query for spreadsheet

hi I am using google-apps api, is there any way to find particular cell data with where condition Example: I have one spread sheet, with column names are empno, fname, lname, emailid Have to write a query like "select emailid where empno='1111'" . here I am not using any datastore or any database , using simple spreadsheet onl...

Does Google App Engine with app-engine-patch support emailing ADMINS upon 500 errors?

Django will email ADMINS upon 500 errors. Reading app-engine-patch docs, it claims to enable mail support, but I can't tell if it does so enough to support 500 emailing. I tried it and it doesn't seem to be working, but it is a silent failure with no log messages, so I might have misconfigured something. Does anyone have experience wi...

Wildcard search on Appengine in python

Just starting with python on google appengine building a contact database. what is the best way to implement wildcard search? For example can I do query('name=', %ewman%) ?? ...

"deprecated" status on Google App Engine Django

I'm looking at Google App Engine Django on google code but the latest release (May 15/09) has been deprecated. I'd like to know why that is? Are they discouraging us from using it? What deprecated it? Is there a better way to get set up with django? ...

AppEngine datastore: "Object with id ... is managed by a different Object Manager"

I'm using the Google AppEngine, with Java. When I use some datastore features, I'm getting an error message: Object with id "edvaltt.Teacher@64064b" is managed by a different Object Manager I don't know what this means or how to fix it or where to look for documentation on this error. Can anyone help me? The code I'm using is: @P...

Is there a Google AppEngine compatible FW for building django REST API's (like piston etc.) ?

I'm trying to build a REST API on top of django running on Google AppEngine. Is there a FW with similar offering to piston (or a piston fork?) that can run on AppEngine models rather than on django's models? ...

Build Query: q.setFiler("parentID == 123 && language == en")

Hello, I would like to build a query which looks like that query.setFilter("parentID == 123 && langauge == en") because I have an owned OneToMany Relationshiop between Article and Description and I am looking for an effektiv way to get a specific description. Thanks, Ralph @PersistenceCapable(identityType = IdentityType.APPLICATIO...