google-app-engine

What are the corresponding Django form classes rendered by default for each Google App Engine data entity?

Django lays out the mapping of Django model data types to Django form widgets nicely here, but I can't find a similar mapping for Google App Engine data types. For instance what does a db.TextProperty() map too and how would I know that? ...

ORM for GSQL, LINQ 2 GSQL ?

is there LINQ 2 GSQL implementation ? Note : GSQL is the query language (SQL subset) used in Google AppEngine datastore ...

Using AppEngine XMPP for Client Notifications

I've been looking for a way to tell clients about expired objects and AppEngine's XMPP implementation seems really interesting because it's scalable, should be reliable and can contain up to 100kb of data. But as I understand it, before a client can listen to messages, he should have a gmail account. That's very impractical. Is there ...

Uploading single files to the Appengine installation

Is it possible to upload single files to the Appengine installation instead of the full project every time. This question is related to the Java version of Appengine. ...

Text extraction from email in Python

My users will send me posts by email ala Posterous I'm using Google Apps Engine (GAE) to receive and parse emails. GAE returns the text part of the message. I need to extract the post from the plain text part of the message. The plain text can be "contaminated" with promotional headers, footers, signatures, etc. Also I would like to ...

Using Google App Engine to display a Rss/Atom feed

Im thinking of setting up a Google App that simply displays an RSS or Atom feed. The idea is that every once in a while (a cron job or at the push of a magic button) the feed is read and copied into the apps internal data, ready to be viewed. This would be done in Python. I found this page that seems to explain what I want to do. But th...

Message instance has no attribute 'read' in Google app engine mail receive

Code in receive handler class LogSenderHandler(InboundMailHandler): def receive(self, mail_message): logging.info("Received a message from: " + mail_message.sender) #logging.info("Received a message from: " + mail_message.attachments) logging.info("Received a message from: " + mail_message.date) logging.info("Receiv...

WMD Preview Doesn't Match Output

I am using WMD in a google app situation whereby the site administrator can update the pages of the site and the users see the information. The preview function is working fine and I can see the text the way I want it to appear, but when I am in the users section, the markdown is being returned without the formatting - how can i fix th...

Does Google App Engine supports JDO data objects with "Object" fields?

I have an "Object" field in one of my JDO classes, like this: @PersistenceCapable(identityType = IdentityType.APPLICATION, detachable = "true") class Foo { ... @Persistent @Value(types={java.lang.Boolean.class, java.lang.String.class}) Object bar; ... } When I tried to access this field, I got the following exception: ...

How to create a .py file for Google App Engine?

Hello everybody!!! I am just at the very start of what I think is gonna be a long journey exploring the world of applications in Google App Engine using Python. I have just downloaded Python 2.6.4 from the Python official website and installed it on my computer (I am using Windows XP). I also downloaded the App Engine Python software ...

how to set the unique identifier key dynamically from a list containing unique numbers from a csv file?

Hi, I would like to know if there is a way to set the key of an entity in google app engine dynamically from a list of unique numbers stored in a csv file and bulkload it to the datastore. Also is it possible to have an entity model with out any properties and just use the the set of predefined unique numbers as keys. Thanks, Arun ...

PKI verification across Java and Python

I am trying to implement a PKI verification scheme, where a message string is signed with a private key on server, the signature is stored on the client along with the message string. The client then verifies the signature using a public key. The restrictions of my environment are, the server is Google App Engine and the client is a Jav...

What is "Python interpreter None"?

Hello everybody!!! I just created my first application for Google App Engines, which is called "Hello World". It was the first lesson from Google App Engines How-to-get-started tutorial. I tasted it on my computer (I am using Windows XP), and it was working just fine - whenever I would open a new window with my web browser (FireFox), I ...

In Google App Engines, how to display the HTML source of a page of a fetched URL in Python ?

Hello everybody!!! On Google App Engine I found this code that is fetching a web page's URL: from google.appengine.api import urlfetch url = "http://www.google.com/" result = urlfetch.fetch(url) if result.status_code == 200: doSomethingWithResult(result.content) Is this the right code to fecth that page's HTML source? Does the resu...

Render in infinity loop

Question for Python 2.6 I would like to create an simple web application which in specified time interval will run a script that modifies the data (in database). My problem is code for infinity loop or some other method to achieve this goal. The script should be run only once by the user. Next iterations should run automatically, even w...

Using Google App Engine DEV behind Proxy Server

I am using Google App Engine behind a proxy server using the Python language. All of the function calls using urlfetch.fetch(url) are failing. When I run the same code on a machine without a proxy server, it works. Anyone has an idea how to solve this? Note: The code upload to prod App Engine does not work also when I'm behind the pro...

Why can't I see any data in the Google App Engine *Development* Console?

I run my google app engine application in one of two ways... Directly by using the application from http://localhost:8080 Or execute unit tests from http://localhost:8080/test When I create entities by using the application directly, the data is visible in the Development Console (dataStore view). However, when I execute the unit te...

gae python optimization: django filter for language support

Hi, I have a filter that I use for lang support in my webapp. But when I publish it to gae it keeps telling me that it the usage of CPU is to high. I think I located the problem to my filters I use for support. I use this in my templates: <h1>{{ "collection.header"|translate:lang }}</h1> The filter code looks like this: import re ...

HttpUnit with GAE

Hi, I am trying to tweak HttpUnit 1.7.2 to run under GAE, and stumbled accross the URLStreamHandler error. As HttpUnit uses URLStreamHandler to process javascript and https, removing URLStreamHandler means I can only access plain html website. How do I use GAE UrlFetch service to replace URLStreamHandler ? ...

Do gae datanucleus annotations modify our java code?

I placed this question in Google groups for gae java (http://groups.google.com/group/google-appengine-java/browse%5Fthread/thread/85dc9f10d7e12a3), but sometimes it takes a week for someone to bother answering a question and I feel I need to know the answer much quicker. We are advised to have our persistent fields accessible only thro ...