google-app-engine

unable to add app engine administrator for emailing

I want to send emails from my app engine application using one of my Google Apps accounts. According to the GAE python docs: The From: address can be the email address of a registered administrator (developer) of the application, the current user if signed in with Google Accounts, or any valid email receiving address for the app (that ...

Google App engine(python) Updating a db.StringListProperty contention/concurrency issues

Ive been looking at the principles of fan out of messages as described in the google IO "building scalable complex apps" In it it suggests that using a list property for say a list of receivers is a scalable solution. In this scenario how does one update the list property so that contention issues don't step in, If the app is handling ...

Version control ignore list for google app engine Java apps

Is there a standard list of files/directories/pattens that can be added to a version control ignore list (e.g. .hgignore) when version controlling the source of a Google app engine Java app? I guess a bunch of people must have worked this out already, any good examples out there? ...

Uploading an image to a static directory in my app engine project?

Hi, Is it possible to copy images into a static directory under my app engine project domain? For example, when a user signs up for my app, I want them to supply an image for themselves, and I would copy it to a static directory but rename the image using their username, like: www.mysite.com/imgs/username.jpg www.mysite.com/imgs/john....

Get the key of logged-in user with no DB access in Django on Google App Engine?

I'm using Django on GAE. When I say user = request.user, I believe it hits the datastore to fetch the User entity. I would like to just get the key for the currently logged in user, because that will allow me to get the user-related data I need from the memcache. ...

Python Google App Engine: A better way of saying, "If an object does not exist in the datastore, do something"?

I am asking because the way I have it right now seems really strange. Basically, I am saying, "If there is an exception thrown, do something. Else, do nothing." Here is some sample code: try: db.get(db.Key(uid)) except: newUser = User(key_name=str(uid)) newUser.first_name = self.request.get("first") n...

Google App Engine Emails Going to SPAM folder

When I send emails through google app engine using the mail's send_mail function, they often get placed in the receiver's SPAM folder. Although this problem does not happen for GMail accounts, it does for Yahoo Mail accounts (and presumably several others) Is there a way to get the emails GAE sends around the SPAM filter? ...

I am attempting to use google app engine (python) to save a url with # character

My class looks like this: class Post(db.Model): link = db.LinkProperty() I am getting the url parameter and populating the class like this: newpost = Post( link = cgi.escape(self.request.get('link'))) newpost.put() If I send a regular link it works fine. If I send a link like this (with a hash): http://www.url.com#paragraph...

Trying to use java 1.6 with app engine gives runtime errors

Hi, I'm using google app engine java 1.3.4. In eclipse, I set the java compiler to use java 1.6. I don't get any compile errors, but as soon as I try Run As -> Web App I get the following: WARNING: failed forwardFilter: java.lang.UnsupportedClassVersionError: Bad version number in .class file WARNING: failed com.google.apphosti...

GAE Datastore Java data type for date/time values

Both java.sql.Date and java.util.Date return the following when trying to persist them in the datastore. javax.jdo.JDOUserException: Attempt to handle persistence for object using datastore-identity yet StoreManager for this datastore doesn't support that identity type What data types do you use for date/time values? ...

Persisting a list of serializable objects

Hello, I'm still trying to persist a list of serializable objects. I would expect this to be a standard collection as described here: http://code.google.com/appengine/docs/java/datastore/dataclasses.html#Collections That gave me an exception complaining that: FooObject is not a supported property type. When that didn't work, I tried ...

Using app engine java image api with eclipse + dev server?

Hi, I'm using the image api for google app engine java. I've uploaded an image using my dev server + eclipse, but trying to use any of the image api does not work. This is explained by the exception which is thrown: Jul 6, 2010 5:28:02 PM com.google.appengine.api.images.dev.LocalImagesService init WARNING: No image reader found fo...

Please decipher the following error message: "Multiple keys in #<KeywordUser @user_id=1 @keyword_id=2>"

jruby google app engine error message: Multiple keys in #<KeywordUser @user_id=1 @keyword_id=2> Models: (attempting to implement has and belongs to many relationship) class Keyword include DataMapper::Resource property :id, Serial # required for DataMapper property :name, String # A varchar type string, for short strings ...

Any effective way to count web application traffic when testing locally?

I am writing a GWT web application which is supposed to run on Google App Engine. I an working in Eclipse and using the plug-in supplied by Google. Now I was wondering if there is any effective way to count the traffic when testing the application. ...

To send Chat Invitation, to GTalk using Google App Engine(Python)?

How can i send Chat invitation over GTalk using Google App Engine(Python), i was searching for code in documentation of GAE, but i didnt get it. As i am new to Python, please post me the code too... ...

Creating a large sitemap on Google App Engine?

I have a site with around 100,000 unique pages. (1) How do I create a Sitemap for all these links? Should I just list them flat in a large sitemap protocol compatible file? (2) Need to implement this on Google App Engine where there is a 1000 item query limit, and all my individual site URLs are stored as separate entries. How do I so...

openauth support in google app engine

Is there any native support for openauth in google app engine? If so, where are the details? If not, then please suggest alternatives? I am planning to use this with twitter ...

how to get checkbox data using python on gae ..

this is my html : <div id='automail'> <form action = "/admin/mail" method = "get"> auto mail when user :<br/><br/> <div> <input type="checkbox" name="automail" value ="signup">signUp</input><br/> <input type="checkbox" name="automail" value ="login">login</input><br/> </div> <d...

Spring 3.x - Will it play in App Engine ?

Spring 3.x is conspicuously absent from the official Will it play in app engine? Has anybody got it up and running? Any issues with the following? Fully annotated controllers? Annotated JSR 303 validation? ...

Spring + App Engine + JSR303

I am new to Spring and having issues with JSR303 Validation. The problem appears to be with the <mvc:annotation-driven/> tag in spring-servlet.xml. When I include this tag I get the following error on startup of the development server. SEVERE: Context initialization failed org.springframework.beans.factory.BeanCreationException: Er...