google-app-engine

How to put Google login box inside flash in GAE ?

Hi, I am putting my old flash site into GAE. I want to use Google's user authentication too. Now, I want to put Googles login box inside the flash instead of redirecting to Google's login page. Same thing I want for forgot password. Is it possible to do this? How to do this? ...

App engine datastore: How to implement Posts and Tags without joins?

I'm building an application in Google App Engine (Java), where users can make posts and I'm thinking in adding tags to these posts, so I will have something like this: in entity Post: public List<Key> tags; in entity Tag: public List<Key> posts; It would be easy to query, for example, all posts with a certain tag, but how could I ...

handler not working in gae python

I have two handlers in webapp.WSGIApplication for two forms in a django template, one of the handler works on dopost but the other one goes to blank page. Why is this so? ...

Differences in Django Template Inheritance between 0.96 and 1.0?

Now that Google App Engine natively supports Django 1.0, I updated with the following code: from google.appengine.dist import use_library use_library('django', '1.0') I am now getting template errors relating to template inheritance. For instance, if I have: {% extends "../base.html" %} Referring to a base.html in the parent direct...

Does creating separate functions instead of one big one slow processing time?

I'm working in the Google App Engine environment and programming in Python. I am creating a function that essentially generates a random number/letter string and then stores to the memcache. def generate_random_string(): # return a random 6-digit long string def check_and_store_to_memcache(): randomstring = generate_random_strin...

Cron job syntax on Google App Engine

Hello I am trying to schedule a job to run "every 15 minutes on weekdays only" using the Google App Engine cron scheduler (for Java apps). http://code.google.com/appengine/docs/java/config/cron.html#The_Schedule_Format Does any know what the correct syntax is? I have tried using the xml below, but find that it runs on all days not just t...

How to check available Python libraries on Google App Engine & add more

How to check available Python libraries on Google App Engine & add more? Is SQLite available or we must use GQL with their database system only? Thank you in advance. ...

Is Google App Engine good for scalablity and portability?

I'm evaluating hosted production environments and currently have interest in Google App Engine. Currently I'm enjoying the free quotas. I'm concerned if it is efficient to scale up using Google App Engine. Portability is being analyzed as well. Please advise if Google App Engine is good for scalability and portability. Thank you in ...

Choosing Java vs Python on Google App Engine

Currently Google App Engine supports both Python & Java. Java support is less mature. However, Java seems to have a longer list of libraries and especially support for Java bytecode regardless of the languages used to write that code. Which language will give better performance and more power? Please advise. Thank you! Edit: http://grou...

Blog engine for Google App Engine

Hi! I'm looking for some blog engine on this platform. Something like Wordpress. I don't need many options and features, but I need a ready solution. Thanks in advance. ...

App Engine db.model reference question

How can I get at the Labels data from within my Task model? class Task(db.Model): title = db.StringProperty() class Label(db.Model): name = db.StringProperty() class Tasklabel(db.Model): task = db.ReferenceProperty(Task) label = db.ReferenceProperty(Label) creating the association is no problem, but how can I get at the labe...

How to sign amazon web service requests from the python app engine?

I use Amazon web service api from within my Google app engine application. Amazon have said that they will only accept signed requests from Aug 15, 2009. While they have given simple instructions for signing, I am not so knowledgeable of Python libraries for SHA256. The app engine documentation says it supports pycrypto but I was just w...

AppEngine server cannot import atom module

I have gdata library install on my ArchLinux, and a simple application which imports atom library at the beginning, when I run gapp engine and access that web app, $ python2.5 ./dev_appserver.py ~/myapp It throws exception 'No module named atom'. But when I run 'import atom' in Python2.5 interactive mode, it works well. How can I i...

Google App Engine: Memcache or Static variable?

Well, I think I have a very basic doubt here: I'm developing an app on GAE (Java) and performing a query to the datastore that returns a lot of entities, so I need to cache it. I was using memcache and it was working great, but if I keep the list of entities in a static variable, the whole request goes as twice as fast than using memca...

Alternative Python imaging libraries on Google App Engine?

I am thinking about uploading images to Google App Engine, but I need to brighten parts of the image. I am not sure if the App Engine imagine API will be sufficient. I consider to try an overlay with a white image and partial opacity. However, if that does not yield the desired results, would there be another Python imaging library tha...

How to properly do one-to-many joins on an (Python) Google App Engine datasource?

I have some models set up like: class Apps(db.Model): name = db.StringProperty(multiline=False) description = db.TextProperty() class AppScreenshots(db.Model): image_file = db.StringProperty(multiline=False) description = db.StringProperty(multiline=False) app = db.ReferenceProperty(Apps) ...

Storing uploaded images on Google App Engine with Java

I am looking at writing a Java web application on Google App Engine. I want to be able to upload and serve images from the app but just realised that the Datastore have a 1MB limit. This is slightly too little for decent pictures. Is there an alternative way you can suggest of doing this? Perhaps storing those as static content rather th...

Complex Class Hierarchy in Google AppEngine (Java)

Is it possible to have multiple classes that inherit/extends same class in Google AppEngine with Java (GAE/J) for my entities (JDO). For example I have: Content (Abstract class) Course and then my Course will have : list of Video that is extends Content list of Books At the same time Video has list of...

What is TombstonedTaskError from App Engine's Task Queue?

What does the TombstonedTaskError mean? It is being raised while trying to add a task to the queue, from a cron-job: Traceback (most recent call last): File "/base/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", line 501, in __call__ handler.get(*groups) File "/base/data/home/apps/.../tasks.py", line 132, in get ...

Which DB Does Google AppEngine Eclipse Plugin Uses

Which database does the Google AppEngine Eclipse plugin use? How do I view local_db.bin file which is in war/WEB-INF/appengine-generated. Is it SQLLite ? ...