google-app-engine

What's the max length of a ListProperty?

How many items can be stored in a ListProperty? Is there a limit? ...

On the google app engine, why does my 'import' statement fail on Live, but work on Dev(localmachine)?

I have a python/django application that runs on the google app engine. My views.py file has some imports... from commands.userCommands import RegisterUserCommand from commands.accountCommands import CreateNewAccountCommand, RenameAccountCommand These imports work fine on my development environment (local machine). But when I upload t...

Server rejected one time use token in Google Authsub

Here is the stacktrace and can you figure why its happening? It was working sometimes back but now I am getting this dump. I am trying to authenticate access to google sites using java authsub client library. Error: Server rejected one time use token.com.google.gdata.util.AuthenticationException: 403: OK at com.google.gdata.client.ht...

App engine app design questions

I want to load info from another site (this part is done), but i am doing this every time the page is loaded and that wont do. So i was thinking of having a variable in a table of settings like 'last checked bbc site' and when the page loads it would check if its been long enough since last check to check again. Is there anything silly a...

In Python, how can I test if I'm in Google App Engine SDK?

Whilst developing I want to handle some things slight differently than I will when I eventually upload to the Google servers. Is there a quick test that I can do to find out if I'm in the SDK or live? ...

Having trouble importing middleware classes in App Engine / Django

Trying to get facebook connect to work on app engine, and so I'm following these instructions: http://www.slideshare.net/mrtrosen/lab305-django-facebook-connect-integration-example One of the steps requires me to add to my middleware_classes, and so I've added the following to settings.py (copied from slide 18 in the presentation above...

"This website is temporarily unavailable, please try again later." error on Google App Engine

I recently launched a site on Google App Engine using Python. I'm in Korea, but my client is in California, USA. He and others in his area periodically run into periods of time when they receive this error message instead of the site: This website is temporarily unavailable, please try again later. I cannot figure out what is causi...

bulkloader.py --dump without authentication

Is there some way or using the bulkloader.py dump and restore funtionality without authentication? I have tried using: - url: /remote_api script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py without the login-parameter, but login still seems to be required. I still get [ERROR ] Exception during authentication I strugg...

How do I add text search indexes to my Google App Engine app in Python?

I've read about SearchableModel (e.g., here, here, and here). Looks like it has some real limitations, e.g. no ranking (!). I've seen gae-search. It looks like its author is too busy to provide support anymore. Finally, there is a filed issue. What have people used, and what are your experiences? ...

Speed issues with Google App Engine + Spring MVC + Annotations

Hello, I am developing an application on GAE with spring MVC and using annotations. The application take a long time to load the first time and then it behaves well as long as I access the application. But then when I leave the application for a minute and then I access it again it is taking long time. I have read ppl having similar is...

Open a new browser window from a Python script in Google App Engine

A Python script at Google App Engine fetches data into a HTML page. What is the best way to open a new browser window from the script or HTML page? JavaScript doesn't work. ...

Google App Engine - Caching generated HTML

I have written a Google App Engine application that programatically generates a bunch of HTML code that is really the same output for each user who logs into my system, and I know that this is going to be in-efficient when the code goes into production. So, I am trying to figure out the best way to cache the generated pages. The most p...

How to parse somewhat wrong JSON with Python?

I have a following JSON string coming from external input source: {value: "82363549923gnyh49c9djl239pjm01223", id: 17893} This is wrong-formatted JSON string ("id" and "value" must be in quotes), but I need to parse it anyway. I have tried simplejson and json-py and seems they could not be set up to parse such strings. I am running P...

Uploading and downloading the whole database from google app engine?

Hi, I just want to know it is possible to download and upload the whole database from google app engine to a sqlite db, in case I want to transfer my app from google app engine to another server? What is the chance? Thank you ...

Using Google App Engine's Cron service to extract data from a URL

Hi Guys! I need to scrape a simple webpage which has the following text: Value=29 Time=128769 The values change frequently. I want to extract the Value (29 in this case) and store it in a database. I want to scrape this page every 6 hours. I am not interested in displaying the value anywhere, I just am interested in the cron. Hope I ...

Why use Django on Google App Engine?

When researching Google App Engine (GAE), it's clear that using Django is wildly popular for developing in Python on GAE. I've been scouring the web to find information on the costs and benefits of using Django, to find out why it's so popular. While I've been able to find a wide variety of sources on how to run Django on GAE and the v...

Is it possible to use the Google App Engine as a backend database for Android applications?

I would like to write a client application for Android that uses the Google App Engine as a database backend. My Android client would connect to the App Engine to save information, then it would connect later for reports. Is it possible to use the App Engine as a backend like this? ...

Adding Class files to Google App Engine Wave Bot in Java using Eclipse

Hello, Yeah quite a specific question. I'm making a bot for Google Wave and I'm a bit confused. I have some Java class files of a separate package I want to implement. I put them in the lib directory but they're not found by Wave when its uploaded. Eclipse compiles them fine, as it has the directory, but I guess it doesn't upload it t...

Security Sandbox Issues with Flex/AS3 and AppEngine

I'm having trouble with an AS3 AMF RemoteObject request that is hosted on App Engine. I have a crossdomain.xml file in the root of the domain, and also one at the remoting endpoint. Here are the contents of the root crossdomain.xml: <?xml version="1.0"?> <cross-domain-policy> <site-control permitted-cross-domain-policies ="all"/> ...

createLoginURL creates invalid request URL in GAE

I get the following error from following piece of code. I am trying to login to Google sites service through GAE apps. "The page you requested is invalid. " String authenticationUrl = userService.isUserLoggedIn() ? userService.createLogoutURL(MainServlet.MAIN_URL) : userService.createLoginURL(MainServlet.MAIN_URL+"?clo...