google-app-engine

Google App engine template unicode decoding problem

When trying to render a Django template file in Google App Engine from google.appengine.ext.webapp import template templatepath = os.path.join(os.path.dirname(file), 'template.html') self.response.out.write (template.render( templatepath , template_values)) I come across the following error: <type 'exceptions.UnicodeD...

Rendering chart inside jsp without storing

I have created a chart using JFreeChart inside a JSP. I want to render this chart in a webpage using JSP, without storing the image as JPEG/PNG file. This is in the google app engine environment which does not support writing to disk. I tried the following: java.awt.image.BufferedImage chartImage = targetChart.createBufferedImage(600,4...

GAE and JRuby HTTP connections

Hi, I want to start to a new JRuby project on GAE but I read that GAE does not allow you to create new sockets. I want to use some API that have to work over HTTP connect like Garb (Google Analytics client). Has anyone managed to use any API over HTTP on GAE? Thank you ...

Problems with owned one to one relationships and parent/child relationships

I have three entities User, Company, and Address with declarations like so: @PersistenceCapable(identityType = IdentityType.APPLICATION) public class User implements Serializable { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Key key; @Persistent(mappedBy="creator") @Order(extensions = @Extens...

Why does this XFBML markup embedded within an iframe'd facebook application not display anything?

I've been trying to get this application working on Facebook, but nothing seems to render within the application except "Hi this is some sample text." A box stroked in red. "I am My photo " and a default silhoutte of a Facebook user as the photo. The following is the source code of the canvas frame: <!DOCTYPE html PUBLIC "-//W3C//DT...

python + Spreadsheet

Hi, Can anybody please tell me is there any possible way to connect to spreadsheet from python? I want to store some data from a form and submit it to google spreadsheet. Please help on this issue. What steps do I have to follow? Thanks in advance... ...

Google DataStore Query Set

I have a Course entity which contains a Set of Keys to my Tag entity. How would I go about creating a query to get a list of courses with a specific tag? For example, I want to find all the courses tagged with java. Here are my entities: @PersistenceCapable(identityType = IdentityType.APPLICATION, detachable="true") public class Cou...

Google login from flash Actionscript 2.0 in GAE

I want to implement Google authentication in Flash (actionscript 2) in Google appengine. After pressing the login button it will redirect to the Google login page and will come back to the site after successful authentication. Also, it can logout in same way. I am not good with actionscript and used "loadvers()" for action handling "on...

Switch from Google AppEngine to another server

Currently I'm building my Java Web Application on Google AppEngine (GAE), but due to a lot of limitations they have I'm afraid that I'm going to have to switch from GAE to my own server which is running Glassfish (or I can setup any other server if needed). Also I'm planning to run Oracle or MySql databases. What do I need to do in order...

Possible to access gdata api when using Java App Engine?

I have a dilemma where I want to create an application that manipulates google contacts information. The problem comes down to the fact that Python only supports version 1.0 of the api whilst Java supports 3.0. I also want it to be web-based so I'm having a look at google app engine, but it seems that only the python version of app engi...

using task queues to schedule the fetching/parsing of a number of feeds in appengine python

Say I had over 10,000 feeds that I wanted to periodically fetch/parse. If the period were say 1h that would be 24x10000 = 240,000 fetches. The current 10k limit of the labs taskqueue api would preclude one from setting up one task per fetch. How then would one do this? Update: re: fetching nurls per task: given the 30second timeout pe...

Use Google AppEngine datastore outside of AppEngine project

For my little framework Pyxer I would like to to be able to use the Google AppEngine datastores also outside of AppEngine projects, because I'm now used to this ORM pattern and for little quick hacks this is nice. I can not use Google AppEngine for all of my projects because of its's limitations in file size and number of files. A great...

Make two servers talk to each other

I have application written in GWT and hosted on Google AppEngine/Java. In this application user will have an option to upload video/audio/text file to the server. Those files could be big, up to 1gb or so and because GAE/J does not support large file I have to use another server to store those files. This would be easy to implement if th...

There is a compatibility layer to port AppEngine application to a non-Google infrastructure?

Possible Duplicate: Breaking out of the google appengine python lockin I am wondering if a application running on AppEngine could ever be migrated outside with little effort. Someone has already replicated the AppEngine programming interface? ...

memcache entities without ReferenceProperty

I have a list of entities which I want to store in the memcache. The problem is that I have large Models referenced by their ReferenceProperty which are automatically also stored in the memcache. As a result I'm exceeding the size limit for objects stored in memcache. Is there any possibility to prevent the ReferenceProperties from...

App Engine: How to "reset" the datastore?

Whell, I'm developing in app engine (java) and after a lot of tries and deployments, I need to "reset" the datastore. There is a lot of random data I added to test performance, and besides that the entities changed a lot, so I need to delete all: data, tables, indexes. How can I do that? Thanks :) ...

One-To-Many child has already been persisted without parent

I'm using the Google App Engine in combination with the Google Web Toolkit to write a bug tracker (to see what the technologies are capable of). Modelled after Google Code's issue tracker, I decided that an issue can have 0 or more labels, that can be defined beforehand (let's say in the settings). The label class (CustomLabel): @Pers...

Google Wave Sandbox

Is anyone developing robots and/or gadgets for Google Wave? I have been a part of the sandbox development for a few days and I was interested in seeing what others have thought about the Google Wave APIs. I was also wondering what everyone has been working on. Please share your opinions and comments! ...

GQL Query on date equality in Python

Ok, you guys were quick and helpful last time so I'm going back to the well ;) Disclaimer: I'm new to python and very new to App Engine. What I'm trying to do is a simple modification of the example from the AppEngine tutorial. I've got my date value being stored in my Memory class: class Memory(db.Model): author = db.UserProperty...

Installing usual libraries inside Google App Engine

How should I install (or where should I put and organize) usual python libraries in Google App Engine. Some libraries require to be installed using setuptools. How can I install that libraries. ...