google-app-engine

app-engine (python) Modeling relationships, am I doing it wrong?

Using the following models I am trying to figure out a way to generate a news feed of sorts so that when a user logs in they are presented with a list of upcoming events for bars that they choose to follow. Will I be able to query something like “SELECT * FROM Barevent WHERE parent_bar IN UserprofileInstance.following”? If so will this b...

GeoModel with Google App Engine - queries

I'm trying to use GeoModel python module to quickly access geospatial data for my Google App Engine app. I just have a few general questions for issues I'm running into. There's two main methods, proximity_fetch and bounding_box_fetch, that you can use to return queries. They actually return a result set, not a filtered query, which mea...

Spring Form Tags on Google App Engine throws java.security.AccessControlException

When I use Spring form tags on my Google App Engine App it throws a security exception (java.security.AccessControlException). If I comment out the form tags for the page that is causing the problem, everything works fine. Anyone know how to fix this? ...

AppEngine 'explicitly cancelled' error.

I'm using Google AppEngine and the deferred library, with the Mapper class, as described here (with some improvements as in here). In some iterations of the mapper I get the following error: CancelledError: The API call datastore_v3.Put() was explicitly cancelled. The Mapper usually runs fine, I used to have a higher batch size, so th...

What would happen if invalid WAR file is uploaded to Google App Engine?

What would happen if invalid WAR file is uploaded to Google App Engine? I can do try to upload myself but I can't seem to upload because of my network connection. Thanks! ...

setBackingStoreLocation

What is the base path of setBackingStoreLocation? I've setNoStorage to false. I see datastore-indexes-auto.xml being created in \WEB-INF\appengine-generated(not \war\WEB-INF\appengine-generated). I've tried providing an empty string, null, not setting it at all, and an absolute path, all with both a file name specified as well as wit...

Casting Entity into it's class type on App Engine

I have the Entity object and I want to get the object. Currently, I'm using PersistenceManager.getObjectById(Object.class, Entity.getId()); The problem with this is that it is an extra call to the datastore when all of the properties are already available in the Entity. ...

How to improve the throughput of request_logs on Google App Engine

Downloading logs from App Engine is nontrivial. Requests are batched; appcfg.py does not use normal file IO but rather a temporary file (in reverse chronological order) which it ultimately appends to the local log file; when appending, the need to find the "sentinel" makes log rotation difficult since one must leave enough old logs for a...

How to create JPA application in eclipse

How to create a JPA application using Google's datastore in Eclipse? What are the steps to create a Google App Engine application in Eclipse? ...

Effect on updating current running WAR file in Google App Engine

What would happen on the current running application if you are going to update the WAR file in Google App Engine? Will Google App Engine automatically stop the service of your application while new WAR file is being uploaded? Thanks! ...

How can you sell or auction your code?

Say you write some python code using your expertise in some knowledge-domain that could be used to perform some sort of Web Service for a wider set of people. (ie. you take their data and do something magic with it and return something of more info value.) So you get the code to work -- you get to the proof of concept stage by deployin...

Google App Engine datastore

I created employee details application in eclipse. I want to store employee details in google Bigtable. so that i used JPA. I created one jpa project in eclipse.In that i want to use google datastore[Bigtable] as database. After created application its enough to run directly.are need to give any database connection. ...

Google App Engine 1.3.1 JAR's in publicly available Maven repository?

Is anyone aware of a publicly available Maven repository that contains the Google App Engine 1.3.1 JAR's? I've been using the maven-gae-plugin repository, but it's not updated yet. It looks like the JAR's on the central Maven repository are even older. EDIT: It looks like Cletus's answer below has most of the JAR's, but not all of them....

Ajax Form submittion in Google App Engine with jQuery

could not figure out why it is not working: i need to send request to server, generate some fragment of html in python with meanCal method, and then want that fragment embedded into submitting html file using calculation method and dynamically shows in dyContent div. all the processes are done by single click on submit button in a form...

Getting raw post data in Google App Engine Python API

Hi, I am trying to get raw data sent as post to Google App engine, using self.request.get('content'), but in vain. It returns empty. I am sure the data is being sent from the client, coz I checked with another simple server code. Any idea what I am doing wrong? I am using the following code on the client side generating the POST call (...

Running script on server start in google app engine

Hi, Is it possible to run a script each time the dev server starts? Also at each deploy to google? I want the application to fill the database based on what some methods returns. Is there any way to do this? ..fredrik ...

Need beginner's explanation for the difference between using a parent-entity relationship versus ReferenceProperty

In regards to this statement in Google's app-engine doc: "Only use entity groups when they are needed for transactions. For other relationships between entities, use ReferenceProperty properties and Key values, which can be used in queries." can someone give an example of a query of say getting all the players that are member of the sa...

How to organize Python source code files?

I am developing a Python App Engine app, where I want to split the content of a source code file Models.py into separate files for each model, but I want to put it all in a folder called Models. The problem is that when I do that, my app can't find the classes anymore. What should I do? This question is not about MVC but another questio...

Can google app engine be used as a socket server?

My webhost has rules against socket servers so I've been looking into GAE. Does anyone know of a socket server that can successfully run on GAE? I'm using it for flash so anything like smartfox would be amazing if it's possible. Thanks. ...

app engine secret key for iphone access

Hi, How can i make sure only my iphone app is allowed to use my app engine application for sending and receiving data? I probably have to use a secret key, but i don't know how. Can i just use post/get to send my static key over https? Or do i need to use some dynamic secret key algorithm? Any help would be appreciated! Bjorn ...