google-app-engine

Google app engine key value error

I am writing a google app engine app and I have this key value error upon requests coming in from the backtrace I just access and cause the key error self.request.headers entire code snippet is here, I just forward the headers unmodified response = fetch( "%s%s?%s" % ( self.getApiServer()...

Google App Engine access to code

Is it possible to access or download my code that is running on Google App Engine? For instance, say my hard drive crashes and I have not saved my code on any kind of external repository. Is there any way to recover? ...

Java GAE maven configuration problem? just another VerifyError

My project works absolutely fine on the Google Server but I get a VerifyError: java.lang.VerifyError: (class: org/restlet/ext/servlet/ServerServlet, method: createServer signature: (Ljavax/servlet/http/HttpServletRequest;) Lorg/restlet/engine/http/HttpServerHelper;) Incompatible object argument for function call UPDATE Through ex...

Are there any tutorials on using sockets for client/server connection with Google App Engine for Java services?

Are there any tutorials on using sockets for client/server connection with Google App Engine for Java services? ...

What does Google App Engine provide for realtime data transfer from java app to your client?

Are there any mechanisms for real time ive data transfer-delivery like socketsa or something like that? keep-alive http connections? Are there any tutorials on this topic of realtime data transfer from java app to your client and backwords? ...

How to delete data from app engine with a filtered query

Here is my code fragment. This code works very fine with local development data store. But doesn't work on real app engine. The query filter used here only returns 181 rows. import com.google.appengine.api.datastore.DatastoreService; import com.google.appengine.api.datastore.DatastoreServiceFactory; import com.google.appengine.api.datas...

Google App Engine - find out if a user is an administrator

In GAE, is there a way to find out if a User is an administrator? While the is_current_user_admin() reveals whether the current user is an administrator, I'd like to know if there's a way to discover if a given User object is for an administrator or not (e.g. a hypothetical User.is_admin() function). Thank you for reading. Brian ...

Get a Google App Engine user by their user_id

In GAE, can you look up a User with the User object's user_id? In other words, is there something equivalent to: from google.appengine.api.users import User user = User.get_by_id(user_id) Thank you for reading. Brian ...

What is a pattern for keeping track of current users in google app engine?

Each of my users is polling the server every few seconds. I need to keep a list of the users that have polled in the last 30 seconds handy for a task I have queued to run every few seconds. The obvious way I see to do it is to update a datastore entry every time the user polls, and query the entries that have a timestamp within the las...

Does Eclipse upload 3rd-party GWT libraries to GAE?

One of the tips for lowering your app's cold-start latency is to use/upload as few JARs as possible. I'm wondering what can I do to prevent 3rd-party GWT libraries (like gwtquery.jar etc.) from being uploaded to GAE? (Once the app gets compiled these become useless, so it would be quite unfortunate should they attribute to the latency.) ...

how to read rss feed to gae-database .

any gae-lib to do this i think maybe jquery can do this too , yes ? thanks ...

In the Java version of Google App Engine, how can you eval and execute Java code and unit tests passed in as strings?

I am currently using an online system running in Google App Engine to enable students to practice coding in python. The system is inspired by codingbat by Nick Parlante and the public version of Beanshell running on appengine. I would like to extend our system to support Java. In our current system, the Python doctest feature makes it ...

How to reset a Datastore model's property-type, with remote API

I have a Model in an existing Datastore. Which looks like this: class SomeKind(db.Model): name = db.StringProperty(required=True) someField = db.BlobProperty(required=True) There are about 20000+ entities, of this kind, in the datastore Now I want to restructure the kind and make it this way: class SomeKind(db.Model): name = db...

Partial vs. Ajax

Hi there, I have some content (a flash widget, to be precise) on a page that I want to be static, I have been using full coverage GWT on the entire page, which allows user to never have to reload the page. But I am thinking about switching to app engine and django, is there a way so that the user won't reload the widget? or do I have to ...

Use latin characters in appengine

How can store latin characters in appengine? (e.g. "peña") when I want to store this I get this error: UnicodeDecodeError: 'ascii' codec can't decode byte 0xf1 in position 2: ordinal not in range(128) I can change the Ñ by N, but, there not another and better way? And if i encode the value, how can print "Peña" again? ...

Selecting data from Google App Engine datastore by field value

I'm just staring off with GAE. So like many I'm used to standard SQL. Typically when you want to select data that has a certain field value you use: SELECT <columns> FROM <table> WHERE <column> = <wanted value> Is the correct way to do this in GAE <Model Class>.all().filter('<column> =', <wanted value>) Or is there a more efficien...

how to get all "index data" using whoosh ..

i use whoosh for full text search , and i want to know : how to get all 'index data ' that be added. this is my main.py import cgi,os from google.appengine.ext import webapp from google.appengine.ext.webapp import template from google.appengine.ext.webapp.util import run_wsgi_app from whoosh import store from whoosh.fields import Sc...

google-app-engine full-text-search ,which is better , "google custom search" or whoosh.

this is whoosh so ,did you know which is better ? thanks ...

Google app engine vs web hosting (unlimited traffic)

Hello, My current web hosting company offers me unlimited traffic, space etc. Why should I want google app engine? What does it offer me more than traditional web hosting ? Thank you ...

Google App Engine/Python - Change logging formatting

How can one change the formatting of output from the logging module in Google App Engine? I've tried, e.g.: log_format = "* %(asctime)s %(levelname)-8s %(message)s" date_format = "%a, %d %b %Y %H:%M:%S" console = logging.StreamHandler() fr = logging.Formatter(log_format) console.setFormatter(fr) logger = logging.getLogger...