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 ...
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...
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...
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?
...
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 do you go about catching this exception in a servlet that takes longer than 30 seconds?
Thanks!
...
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
...
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...
Anyone successfully using deferred.defer library with app-engine-patch?
If so please share.
...
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
-...
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
...
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...
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...
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
...
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...
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") )
...
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.
...
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...
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...
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 - ...