google-app-engine

How to access lowlevel API for storing data in Google App Engine for python

What is the alternative for Entity.java in python version? I do not want any data model. I want my entities without a predefined structure. I just want them to be key and value pairs as the above Entity.java is. Can I do it in Python version? ...

How to save files on Google App Engine server (modifying the source code of the proxy)

How to modify the source code that also collected data used by the proxy server were stored on the server GAE? (optional: for 30 days? - Because there are limits...) And... Sorry for my english, but you know what I mean? For example, to the entry on the website http://kw25net-proxy.appspot.com/www.evisibility.com/images/google-bot-450....

How to use virtualenv with Google App Engine SDK on Mac OS X 10.6

I am pulling my hair out trying to figure this out because I had it working until last week and somehow it broke. When I setup a virtualenv for a Google App Engine app and start the app with dev_appserver.py, I get errors importing the standard library (like "ImportError: No module named base64"). Here's what I'm doing: (Using the sy...

AppEngine no host given exception

Hello. I've got a Python app, that uses urllib.urlopen. It works fine on dev_appserver.py, but throws [Errno http error] no host given error on my GAE production server. The code is exactly the same, the url, it connects to, is hardcoded. I'm out of ideas, what could be wrong. UPD: the code: def getPic(url): sock = urllib.urlopen("...

GAE as an XMPP server

In relation with this question. I am developing a mobile app (Android & iPhone) and I want users to be able to talk to each other. I learn from the question mentioned above that I can't use anonymous users and I need another server to handle that. I would actually want the users to register a jabber id based on UDID of the device for t...

AppEngine: Query datastore for records with no condition for a specific property

i want to do a query that a user may or may not select a filter, but i don't want to create 2 indexes (tables). value=self.request.get('filter') if value: results=Entity.all().filter('p1 =','v1').filter('p2 =','v2').filter('filter_property =',value) else: results=Entity.all().filter('p1 =','v1').filter('p2 =','v2') i could ord...

Using the App Engine datastore to find overlapping ranges

I'm using Google App Engine for Java with the JDO interface for the datastorage for an application for a CrimeWatch organization. One of the features I'm trying to implement is an away log where people report when they're going to be away for an extended period of time (so the patrols know to keep an eye on the houses). In the app, I h...

java.lang.ClassNotFoundException: org.springframework.web.servlet.DispatcherServlet google app engine

Hello Everyone, I'm trying to set up an application for Google app engine, and I cannot make it work. I'm have everything set up with maven but spring its not working. I've been trough a lot of configuration setting and I cannot get it done!! Here you have the stack trace: 05-oct-2010 0:56:54 com.google.appengine.tools.info.RemoteVer...

2 argument error on production, but not development server

The error that I am receiving is the following: Traceback (most recent call last): File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", line 511, in __call__ handler.get(*groups) TypeError: get() takes exactly 1 argument (2 given) What's crazy is I only get it once I deploy the application - on th...

authorization on google appengine application

Please, help. How can I validate user's group membership? Only users of a few google groups can access some pages on the site on appengine (python). validating group membership gives a negative answer to my question, but it was a year ago, maybe something has changed.. ...

How to use get_serving_url in appengine?

The following is my main.py so far. import cgi import datetime import logging from google.appengine.ext import db from google.appengine.api import users from google.appengine.ext import webapp from google.appengine.ext.webapp.util import run_wsgi_app from google.appengine.api import images logging.getLogger().setLevel(logging.DEBUG) ...

Deploying to app engine without eclipse?

I've got a python app and I want to deploy it. I'm using Aptana Studio 3. It's based on Eclipse but will not install the plugin due to dependancy issues. Basically I'm wondering what are my options for deploying my app outside of Eclipse? ...

Beginning Google App Engine Java - Which Framework to start with?

I am new to both JAVA and Google App Engine. My Interest in Java stems from its compiled nature, speed and widespread enterprise use, whereas my interest in app engine is mainly because of it's initial free nature along with scalalbility. I have been through Google's Getting Started and FAQ, I have modified the guestbook app and general...

Finding the maximum value in a column using GQL

How do I find the maximum value in a particular column of a table in the GAE datastore using GQL? ...

Twitter API status update always returns "Incorrect signature"

I'm using Signpost as OAuth implementation for posting to Twitter. And implemented the GoogleAppEngineOAuthConsumer and GoogleAppEngineOAuthProvider classes, but since they're pretty trivial, so I'm not providing their sources here (yet). Here's my authentication part, which seems to work just fine. LoginServlet.java: // fetching the ...

How long will a query with two "contains" tests take to execute on the appengine datastore?

I have two sets of thirty or forty IDs, set A and set B. I have a kind of entity that has a field idA (an id that might be in set A) and a field idB (an id that might be in set B). I want to find all of the entities with idA in set A and idB in set B. I could perform a query with filters like "A.contains(idA) && B.contains(idB)," but ...

migrating from google app engine with Groovy, Java and Gaelyk to another host

I currently have an application that is built on gaelyk, groovy and GAE. I would like to move this application as is to another host like Amazon EC2 and run it against MYSQL. Is this possible? I dont need the google USER services. ...

What are the consequences of failing to close a query or persistence manager?

I see from every example for the appengine datastore that it is important to surround query executions, etc with try{}finally{} blocks to ensure that queries are always closed. What happens if a query or persistence manager isn't closed, but goes out of scope? Could an entity ever be made permanently inaccessible? ...

Google App Engine-Ajax refresh from datastore using python

Hi, I have an application(developed in python) that requires a refreshed view from the datastore after every 5 seconds. I have came out with an javascript function and handle the refresh using ajax. Ajax function <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.0/jquery.min.js"&gt;&lt;/script&gt; ...

Android SyncAdapter

I am writing a syncadapter using google account and app engine. The account appears in account and sync, but when I try to select the account for syncing, I am getting a hard database error. I am trying to figure if this error is on mobile or the app engine. Further, what can be causing this error Another error that I am getting is fail...