google-app-engine

Grails and Google App Engine - Should I use them together?

I've been playing around with Grails and Google App Engine for a day or so using Eclipse+STS+Google plugin and I've been running into a number of roadblocks. However, I'm not sure if this is just lack of experience with them on my part or if the Grails+GAE support is just not mature enough. Should I switch to Java+GAE until the Grails ...

Google App Engine (python) authorization web services /third party client

I have a google app engine project and i want to make my REST API available to third parties. Like twitter API. Twitter requests the user and password to be sent so thet they can be authorized - can i do this with google user accounts? I have read somewhere on this site this is not a prefered method as their credentials are entered in...

Question on serving Images on App Engine ( 2 Alternatives )

planning to launch a comic site which serves comic strips (images). I have little prior experience to serving/caching images. so these are my 2 methods i'm considering: 1. Using LinkProperty class Comic(db.Model) image_link = db.LinkProperty() timestamp = db.DateTimeProperty(auto_now=True) Advantages: The images are get-ed from...

GQL query with "like" operator

Possible Duplicate: Google App Engine: Is it possible to do a Gql LIKE query? In SQL (T-SQL at least) you can write a query that uses the "like" operator, something like this: select * from MyTable where MyColumn like '%something%' Is there any way to do this in GQL? ...

Grails + GAE - Issue using app.servlet.version=2.5

Updating the servlet version in application.properties to 2.5 has no affect on the generated web.xml. The generated web.xml is still version 2.4. I'm using Grails 1.2.1. app.servlet.version=2.5 Also, if I try to execute "run-app" I get the exception below: Running Grails application.. Starting AppEngine generated indices thread. Star...

How to catch DeadlineExceedException in GAE/J?

How do you go about catching this exception in a servlet that takes longer than 30 seconds? Thanks! ...

How to model social graph in Java

Very simple scenario N users, each user can have 0 .. N - 1 friends (who are also users) How can I model this in Java for AppEngine data store Scenario to consider user x and user y become friends (so both need update their own status, in a transaction ...

Import by file/module name in GAE

I am trying to make a simple localization module that takes a key name and returns the localized string based on the language given. The language is one of the constants and maps to a python file that contains the string table. I want to do this dynamically at runtime. Below is my approach, but GAE does not support the imp module. Is the...

Google App Engine with Django Patch and the Deferred library

Anyone successfully using deferred.defer library with app-engine-patch? If so please share. ...

unittest import error with virtualenv + google-app-engine-django

I'm working with google-app-engine-django + zipped django. Just running "python manage.py test" succeeded without error. But with virtualenv, test was failed with "import unittest error". same error with Django 1.1. - OSX 10.5.6 - google-app-engine-django (r101 via svn) : r100 was failed with launcher 1.3.0 - GoogleAppLauncher 1.3.0 -...

Using HtmlUnit/HttpUnit under GAE

Hi, I'm trying to load the DOM of web pages in my application (running under Google App Engine), using HtmlUnit, HttpUnit or any similar library. Did anyone manage to do something similar? Thanks Gilad ...

Google App Engine - User accounts - Authoriztion - RPX - oAuth

I am at the start of A GOOGLE APP PROJECT. Its tempting to dive straight in and use google accounts as the drive behind security and users. But this would super glue my app to google. I want a fast means to re-secure the pages/site with a users system that works with big page. I want to use RPX for mt poen id - this should be a synch an...

Handle 404 throw by code in appengine

I manage the "real" 404 errors in this way: application = webapp.WSGIApplication([ ('/', MainPage), #Some others urls ('/.*',Trow404) #I got the 404 page ],debug=False) But in some parts of my code i throw a 404 error self.error(404) and i wanna show the same page that mentioned before, ¿there is any way to catch...

Google Appengine: programmatic access to request log files?

http://code.google.com/appengine/docs/whatisgoogleappengine.html "An app can read files, but only files uploaded with the application code." I am assuming this precludes one from programmatically reading the request log files - is that correct? Thank You, Geoff ...

Redirect to different domain URL (google app engine logout) doesn't work from silverlight + javascript

Hi, I see the following behavior: When I call javascript XMLHttpRequest/open/send from silverlight, for a URL that eventually causes HTTP redirect to a different domain (logout URL in google app engine), than the silverlight application was loaded from, the browser doesn't follow the redirect. When I go to the same URL either manuall...

Google App Engine: Easy way to work with GET, POST and Cookies

When using webapp from Google App Engine, how can I distinguish POST and GET? Which one gets priority and how can I seprate them? A piece of code below shows the way to obtain a POST/GET field value: class AddWordHandler(webapp.RequestHandler): def post(self): theWord = str( self.request.get('theWord', default_value="no") ) ...

Convert Unicode/UTF-8 string to lower/upper case using pure & pythonic library

I use Google App Engine and cannot use any C/C++ extension, just pure & pythonic library to do conversion of Unicode/UTF-8 strings to lower/upper case. str.lower() and string.lowercase() don't. ...

Emptying the datastore in GAE

I know what you're thinking, 'O not that again!', but here we are since Google have not yet provided a simpler method. I have been using a queue based solution which worked fine: import datetime from models import * DELETABLE_MODELS = [Alpha, Beta, AlphaBeta] def initiate_purge(): for e in config.DELETABLE_MODELS: deferre...

Directly Putting Data in AppEngine's Blobstore

The AppEngine's standard API assumes files are uploaded from an HTML form. I'm trying to post a file to the blobstore from a REST API method that can be called by a non Html client (Flash, iPhone, etc.) The code I'm trying to get working: # Get the blobstore upload url upload_url = blobstore.create_upload_url("/activities/upload_fi...

RPX - OPEN ID - APP ENGINE USER AUTH SYSTEM HELP!

Ive spent days searching the web and im drawing a blank -im new to python too! I simply want to integrate RPX (janrain) into Appengine - loads of code for the script inserts and the return of the openid token - that's all great - but other than that no-one seems to take it any further as in actually creating an openid login that works - ...