google-app-engine

Google app engine QR code decoder

I was wondering if there is a good library for python for decoding QR code. Basically what I would like is to give library image with QR code on it and the library would output contents saved in image. ...

FacebookXmlRestClient NotSerializableException on Google AppEngine

I've tried to follow the facebook-java-api filter example but i got this expection when i attempted to save to the client object to the session. The code is being hosted on the google appengine platform. java.lang.RuntimeException: java.io.NotSerializableException: com.google.code.facebookapi.FacebookXmlRestClient at com.google.apph...

How do I get a list of namespaces on google app engine?

I would like to make a backup of all user data in the datastore. My application is using the new namespace feature to provide multi tenanting on a per user basis (as per the example in the docs). The bulk loader needs the namespace for each customer to download the data. I don't keep a list of users, so I can't generate the namespaces...

is it possible to share a datastore between multiple GAE applications.

I like to work with data saved in one GAE application in other GAE applications. Basically share the datastore between multiple web applications in Google App Engine (Python) Development and Production. Also if possible with: http://localhost:####/_ah/admin/datastore I like to view data in other applications not runnings and/or running...

How do I upload a 5 MB file to App Engine BlobStore using XmlHttpRequest 2.0?

We all know that App Engine limits you to 1 MB for most input/output requests. But with the recent BlobStore API, you are allowed to upload large files in full by POSTing to a dynamically generated URL. According to the sample, here is what the HTML form would look like: self.response.out.write('<html><body>') self.response.out.write('...

GAE datastore date property auto produce date of 1970

I have datastore Model bellow: class ThisCategory(search.SearchableModel): ancestor = db.ListProperty(db.Key, default=[]) no_ancestor = db.BooleanProperty(default=True) name = db.StringProperty() description = db.TextProperty() last_modified = db.TimeProperty(auto_now=True) #<----- (1970-01-01 15:36:47.987352) in dat...

Is there any python web app framework that provides database abstraction layer for SQL and NoSQL?

Is it even possible to create an abstraction layer that can accommodate relational and non-relational databases? The purpose of this layer is to minimize repetition and allows a web application to use any kind of database by just changing/modifying the code in one place (ie, the abstraction layer). The part that sits on top of the abstra...

Google App Engine Python WebApp framework supported self.error() codes.

Hi! I know we can return errors to requests by calling self.error(http_error_code_here). However, there are some error codes that don't seem to be supported. "Unsupported error code" comes out when I use error code 510. I used http://en.wikipedia.org/wiki/List_of_HTTP_status_codes as a reference for the error codes I am using. What ht...

List query with, facebook friends in list ??

In a python based facebook application on GAE, i want to check which friends of current user have "marked" a web page or not. For this i have to run as many DB queries as the number of friends (say 100) I fear this may run into "timeout" because of large no of queries. Google DOCs suggest that "list" queries run in parallel, will this ...

Installing python ssl module on Windows Vista

Hi! I'm running GAE SDK on a windows vista laptop. It keeps reminding me to install the ssl module. I've been having great difficulty on how to do that. I've downloaded the ssl module. I've done 'python setup.py install' in cmd, but it just says "python is not recognized as an internal..." I've added C:\Python2.5.2 to my PATH. Still...

How to edit a StringListProperty value in Google App Engine?

Hi, I would like to edit the value of a StringListProperty variable on App Engine. Is it possible? I don't see any sign of editable field for a StringListProperty variable right inside the DataViewer panel. ...

Should we expect oauth in GAE to support more openID providers in the future?

This isn't a programming question per se, but I'm hoping someone here will notice it and have an answer, I already tried the GAE group but got nothing. I'm working on an app where the GAE component will be an oauth providor, and a mobile client will be the oauth consumer. For logging into the web app, I want to use openid, but right no...

How to send email on behalf of users in Google Apps?

I'm writing an app which needs to post emails on behalf of users of our Google Apps Premier domain. I see there is a way to do this using the AppEngine Mail Service if you have the admin credentials. I want to know how to do this from a normal Java app running on say Tomcat. ...

Google appengine Java SDK source code?

Hello, Looking for the source of some classes from the AppEngine Java SDK, namely com.google.apphosting.utils.remoteapi.RemoteApiServlet (mentioned here). So I've downloaded http://googleappengine.googlecode.com/svn/trunk/ where I expected to find the source code of the class, instead I got zip: maxim@maxim-desktop:~/Desktop/sources$...

Secure use of GAE application namespace

Hi there, I'd like to have a mapping of users to accounts, and then have users directed to a namespace corresponding to their account. Having looked at the appengine_config.py from the suggested example, there appear to be a few suggested ways to determine what the namespace ought to be, i.e. Server name Google Apps Domain Cookie I...

Is it possible to memcache a json result in App Engine?

I think my question is already clear enough, but to make it even more clear i will illustrate it with my example. I'm currently returning many json every request, which I would like to cache in some way. I thought memcache would be great, but I only see that they use memcache for caching queries. ...

how do I return all memcached values in Google App Engine?

I want to use all the data in my python app engine memcache. I do not know the keys in advance. How do I go about getting all data? ...

Design decision to execute multiple searches on a large set of strings - google app engine

Here is the scenario. The user (web environment) can import a document in a foreign language. When displaying the document the application highlights the words the user does not know yet. The user can then mark some of those words as known, adding them to his dictionary. So basically we have a List of Strings representing the words in t...

TypeError: 'type' object is unsubscriptable using python on google app engine .

i use gaefy.db.properties 's JsonProperty # -*- coding: utf-8 -*- """ gaefy.db.properties ~~~~~~~~~~~~~~~~~~~ Extra properties for App Engine Models. :copyright: 2009 by tipfy.org. :license: BSD, see LICENSE.txt for more details. """ import csv, pickle, simplejson from cStringIO import StringIO from google.appengi...

Google Appengine: objects passed to a template changes their addresses in memory

I query an array of objects from DB, then compare addresses of the objects in Model and in View. They differs! Why? I want access the same objects as from template as from business logics code. I wouldn't ask for it but it really bother me because function calls are disallowed in Django-styled templates and I even can't assign custom pr...