google-app-engine

Current tasks count at Appengine Task Queue

Are there any ways to get count of current unfinished tasks at Google Appengine development server? I need it for making my integration test. I found a way to get this when running it local (just in mem), as described at appengine docs. But when i'm running it as a standalone server, from maven, this doesn't work. Just because library...

How do I do a fresh install of Google App Engine?

I've been using GAE for months now, but very recently I've had difficulty getting the latest release (1.3.4) to work for me. I'd like to remove GAE and start from scratch and reinstall it. However, it appears that deleting the googleappenginelauncher.app is not enough to completely remove it, because when I install the launcher again I s...

StringListProperty limited to 500 char strings (Google App Engine / Python)

It seems that StringListProperty can only contain strings up to 500 chars each, just like StringProperty... Is there a way to store longer strings than that? I don't need them to be indexed or anything. What I would need would be something like a "TextListProperty", where each string in the list can be any length and not limited to 500 ...

AppEngine BlobStore upload failing with a request that works in the Development Environment

I have an AppEngine application that uses the blobstore to store user-provided image data. When I upload images to that application from a form in Chrome it works fine. When I try to upload an image from an Android application it fails. Both methods work fine if I am running against the development server, but the Android upload doesn't ...

Refreshing WEB-INF/lib in Google App Engine (with Eclipse)

Hi, I've created a new Google App Engine project within Eclipse. I copied several JARs that I need for my application into the WEB-INF/lib directory, and add them to the build path. I make some random calls to these JARs from within the handler, deploy, and everything works fine. However, if I then change one of the JARs outside the pr...

Does migrating a site that is 99% several megs of static HTML from Apache to Google App Enging make sense?

I have a large site of mostly static content, and I have entertained migrating to Google App Engine. I am wondering, not so much if it is possible as whether that is cutting a steak with a screwdriver. I see a way to do it in Django that has a bad design smell. Does migrating a literature site that is largely static HTML from Apache to...

Selecting based on __key__ (a unique identifier) in google appengine [Java]

I have public class QuantityType { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Key key; @Persistent private String type; } I am trying to setup a query to get the right QuantityType by it's key gql = "select * from QuantityType where __key__='aght52oobW1hIHTWVzc2FnZRiyAQw'"; Bu...

using grails and google app engine to store image as blob and the view dynamically

I am trying to dynamically display an image that I am storing in the google datastore as a Blob. I am not getting any errors but I am getting a broken image on the page that I view. Any help would be awesome! I have the following code in my grails app domain class has the following @PrimaryKey @Persistent(valueStrategy = IdGenerator...

Google App Engine - What exception does Transaction.commit() throw when there is a concurrency problem?

What exception does com.google.appengine.api.datastore.Transaction.commit() throw when there is a concurrency problem? I want to retry if there is a concurrency issue, but I don't know what exception to catch. ...

gae error : Error: Server Error, how to debug it .

when i upload my project to google-app-engine , it show this : Error: Server Error The server encountered an error and could not complete your request. If the problem persists, please report your problem and mention this error message and the query that caused it. why ? how can i debug this error ? thanks ...

Google App Engine: Which is its RDBMS?

According to this: http://code.google.com/appengine/docs/whatisgoogleappengine.html it seems that GAE only uses Datastore to store data, which is equivalent with Table service on Windows Azure Platform. Does anyone know that which RDBMS it uses? or such thing exists or not? EDIT: Windows Azure Platform, a cloud-computing platform by ...

Creating Auto Incrementing column in Google Appengine

What is the easiest and most efficient way to create an auto-increment counter for every data row in google appengine? basically I want to give every row a unique row_number so that I can overcome the issue of only being able to get the first 1000 results in a select query. I can thus add a counter lies between condition and mine all th...

Google App Engine appcfg.py data_upload Authentication fail

Hi, I am using appcfg.py to upload data to datastore from a csv file. But every time I try, I am getting error: [info ] Authentication failed even if i am using Admin id and password. In my app.yaml file I am having: handlers: - url: /remote_api script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py login: admin -...

Google App Engine - Help with running python shell comands from aptanna studio

Hi I'm somewhat of a newbie to python and I'm using app engine and aptanna studio - I need to run some python shell commands so that i can complete the tasks in this Tutorial on how to set up 118 and django. I have got this all working but i don't understand how i run the python commands to compile the dictionarys such as $ PYTHONPATH=/...

unable to set fields of a collection-property elements after changing their order (elements becoming 'deleted')

Hello I want to change order of objects in a collection, and then to access+modify fields of those items. Unfortunately the items somehow become 'deleted'. This is what I do... if(someCondition) { MainEvent mainEvent = pm.getObjectById(MainEvent.class, mainEventKey); /* * events in the original order * MainEvent.subEvents f...

how to model a follower stream in appengine?

I am trying to design tables to buildout a follower relationship. Say I have a stream of 140char records that have user, hashtag and other text. Users follow other users, and can also follow hashtags. I am outlining the way I've designed this below, but there are two limitaions in my design. I was wondering if others had smarter ways...

What mock object framework should I use when developing in Python on the Google App Engine?

I am developing an application on the Google App Engine using Python (and Django, if that matters). Which mock object framework should I help to assist with unit tests? I see there are a number of standalone projects (i.e. http://python-mock.sourceforge.net), but I'm not sure if there's something built-in that I can use. Any ideas? ...

Google App Engine query data store by a string start with ...

How to write a query that can find me all item_number start with a certain value ? For instance there are item_numbers like these : 123_abc 123_xyz ierireire 321_add 999_pop My current query looks like this : "select from "+PayPal_Message.class.getName()+" where item_number == '"+Item_Number+"' order by item_number desc" What's a q...

speed up calling lot of entities, and getting unique values, google app engine python

OK this is a 2 part question, I've seen and searched for several methods to get a list of unique values for a class and haven't been practically happy with any method so far. So anyone have a simple example code of getting unique values for instance for this code. Here is my super slow example. class LinkRating2(db.Model): user = d...

How do i make my google web app searchable on google?

I have started to develop a web app on google's app engine and i wish to make the static content on the site searchable on google. For example, my app is at http://xxxxxxx.appspot.com/ and on it there is only some random text like 'form bell road smear sky orange fan glass key'. When i google for 'form bell road smear' for example or ...