google-app-engine

How to login to gdata in GWT application deployed on GAE?

I want to use the Google account login to retrieve the informations to be used for Google's gdata api so that when I start the application deployed on Google App Engine the user is asked for its login and I can then use this information on the server side to specify the credentials for Google Calendar login (through gdata api). How can I...

GAE uploading to database - or - how to create big dictionary in GAE?

Hi, I have a GAE application. A new request is to have a huge database to store many items for some functionality. The database needs to populated every week or so - and populating it is done by querying many external links which overall takes around 1-2 hours. So, doing it via GAE Cron is now out of the question. Another option I was...

ODFDOM (the OpenDocument API) compatible with Goope App Engine?

Has anybody already checked if ODFDOM (http://odftoolkit.org/projects/odfdom/pages/Home) only uses "white" Java APIs so I can use this lib on the GAE/J? ...

How to iterate JPA collections in Google App engine

Hi I use Google App Engine with datanucleus and JPA. I'm having a real hard time grasping how I'm supposed to read stuff from data store and pass it to JSP. If I load a list of POJOs with entitymanager and pass it to JSP, it crashes to org.datanucleus.exceptions.NucleusUserException: Object Manager has been closed. I understand why thi...

How to backup an AppEngine site?

So, you build a great shiny cloudy 2.0 website on top of AppEngine, with thousands upon thousands of images saved into the datastore and gigs of data at the blobstore. How do you backup them? Ok, so this is how to do it: 1/ Add this to the app.yaml (and update the app, off course): - url: /remote_api script: $PYTHON_LIB/google/appen...

How can I use the Google App engine bulkloader to back up all my data?

The docs say appcfg.py --dump --app_id=<app-id> \ --url=http://&lt;appname&gt;.appspot.com/remote_api \ --filename=<data-filename> The thing itself barfs: Usage: appcfg.py [options] <action> appcfg.py: error: no such option: --dump $ cat /usr/local/share/google_appengine/VERSION release: "1.3.4" Thoughts? ...

Good mobile oriented GWT widget library alternatives

I've been developing a travel planning site - tripgrep.com - which is built on appengine, GWT and smartgwt, among other technologies. It is still early days, and the site is now working well on my development environment, which is either a windows or mac computer. However, I am frequently talking up the website to my friends when we...

does webapp has 'elseif' or 'elif' in template tags..

my code is : Hello!~~~ {% if user %} <p>Logged in as {{ user.first_name }} {{ user.last_name }}.</p> {% elif openid_user%} <p>Hello, {{openid_user.nickname}}! Do you want to <a href="{{openid_logout_url}}">Log out?</p> {% else %} <p><a href="/login?redirect={{ current_url }}">google Log in</a>.</p> <p><a href="/twitter">...

Consequences of an infinite loop on Google App Engine?

I am not a Google App Engine user. However, I understand you're billed for CPU time and other resources. What are the consequences if you happen to create an infinite loop? Will Google ever terminate it, or will you have to do it yourself manually somehow? I'm a hobbyist developer worried about a small error that might end up costing hu...

Where to store a datastore cursor, in memcache or in the datastore?

In the google documentation it shows storing cursors in memcache, however as pointed out in an answer to this question memcache retention isn't guaranteed. So I was wondering how other people store cursors and what strategies you use for handling missing cursors? ...

App Engine SDK Console Not Fully Updated on OSX for GAE Release 1.3.4

I downloaded and am running the latest SDK (in About GoogleAppleEngineLauncher, I see it is version 1.3.4.794), but when I open the SDK Console and go to the Task Queue section, I still see "Tasks will not run automatically. Select a queue to run tasks manually." I have not added the flag --disable_task_running, so I'm confused as to why...

App Engine Transaction Entity group problem

I have an issue with creating a transaction. I get an error back that the objects are not in the same entity group. I have a type called Relationship and I need to create a two way relationship between two parties. def _transaction(): relationship1 = Relationship(firstParty = party1, secondParty = party2) relationship2 = Relati...

Using Maven in Google App Engine application

I'm making Google App Engine project with SpringSource Tool Suite. I made project without maven and added libraries to lib folder and I got Spring Framework work perfectly. But the I tried to make project that uses Maven, adn I when I tried to run my app on development server it cannot find any classes. So what should I do, so that my d...

Is it possible to increase the response timeout in Google App Engine?

On my local machine the script runs fine but in the cloud it 500 all the time. This is a cron task so I don't really mind if it takes 5min... < class 'google.appengine.runtime.DeadlineExceededError' >: Any idea whether it's possible to increase the timeout? Thanks, rui ...

stale entries in a collection when using detached objects and JDO

I have a class which has a collection. Elements in the collection also have a collection. i am fetching the class instance and detaching it. Now i am updating the collection field to a new collection and then persisting the detached object. To my surpruise the objects collection now has the old elements and the new elements. How do i fix...

simply way to add another webapp framework to my project.

one webapp project has many url and i have to change this: ('/addTopic', AddTopic), ('/delTopic', DeleteTopic), ('/addPost', AddPost), ('/delPost', DeletePost), to this: ('/tribes/addTopic', AddTopic), ('/tribes/delTopic', DeleteTopic), ('/tribes/addPost', AddPost), ('/tribes/delPost', DeletePost), but ,if i add this to my ...

Cluster of computers for rent?

I am doing a project in the university which requires running of multiple instances (1000s) of a program I've written (in C++), which runs for quite a while (say 2 hours). The program is very self contained - it does not require input files, and the only dependency I think is boost. I'm currently using the university-owned cluster of co...

Restict single session for a user in google account

Is it possible to force google to create only one session for a single user? I have created services in GAE, that uses google id to autheticate users. Now a single user creating multiple sessions from multiple PCs by sharing his username/password. I want to restict this. In simple language after successful login the application shou...

Google App Engine in your domain: what about the URIs (mail, jabber, etc.)

Reading Google's documentation (http://code.google.com/appengine/articles/domains.html), I understand I can allow users to access my application from my own domain. I've done that for few NGOs in the past and access like http://mail.[domain]/ is redirected to http://mail.google.com/a/[domain]/. My questions: Does it mean an access to...

How to upload images to appengine from gwt

Related question I am having similar problems to what that guy had in his. My upload server returns aredirect Specifically, I am not sure what FormPanel.SubmitCompleteEvent.getResults() returns. Sometimes, I get html of an img: <img style="cursor: -moz-zoom-in;" alt="http://&lt;myapp&gt;.appspot.com/servePic?blob-key=abcdef" src="http:...