google-app-engine

google checkout with appengine

I am trying to get my website to have a simple checkout flow where the person is able to create an account and pay for the product. I want to record this in the datastore so that the account gets created only when the payment has gone through and the person should be able to get back to the profile/personal page once done. I looked at gc...

Details on Google App Engine's caching proxy?

Google App Engine must have some sort of reverse caching proxy because when I set the response header Cache-Control public, max-age=300 from one of my servlets, subsequent requests to the app engine show up in the logs like this: /testcaching 204 1ms 0cpu_ms 49kb, whereas non-cached requests show up in the logs as: /testcaching 200 61ms...

how to get DomainName where a appengine/python website is hosted

I have a appengine webapp where i need to set HTTP Location variable to redirect to another page in the same webapp. For that i need to produce a absolute link. for portability reason i cannot use directly the domain name which i am currently using. Is it possible to produce the domain name on which the webapp is hosted in the python co...

Changing time zone in appengine admin logs

Hi there, Is there a way to change the timz zone of the appengine admin logs? My problem is that when I read the admin log, I always have to compute the time of the error in my local time zone. I'd like the logs to display either my local time or to say "X hours ago". How can I do? Thanks. ...

Is is possible to read a file from S3 in Google App Engine using boto?

I want to manipulate a pickled python object stored in S3 in Google App Engine's sandbox. I use the suggestion in boto's documentation: from boto.s3.connection import S3Connection from boto.s3.key import Key conn = S3Connection(config.key, config.secret_key) bucket = conn.get_bucket('bucketname') key = bucket.get_key("picture.jpg") fp...

AppEngine: Get current serving application version

Is there a simple way to get the current serving application version in AppEngine? ...

Dependency injection in (python) google-app-engine

I want to achieve maximum testability in my google-app-engine app which I'm writing in python. Basically what I'm doing is creating an all-purpose base handler which inherits the google.appengine.ext.webapp.RequestHandler. My base handler will expose common functionality in my app such as repository functions, a session object and the l...

Stack Exchange API compliant request throttle implementation on Google App Engine Cloud inrastructure

I have been writing a Google Chrome extension for Stack Exchange (http://goo.gl/iWo0). It's a simple extension that allows you to keep track of your reputation and get notified of comments on Stack Exchange sites. Currently I've encountered with some issues that I can't handle myself. My extension uses Google App Engine as its back-end ...

How to manage uploaded code in GAE?

Is there a way to manage interactively (view/delete) config and code of an application in google app engine? I understand that the deployment approach is versioned batch upload, but can i at least download back a collection of uploaded files of current (or any given) revision of an app? Or is there even an interface for GAE similar to CV...

How Make WebPage thumbnail on Google App Engine?

Hi! I'm using Django / Python. After saving the model I want to make a screenshot (preview) of how it looks in the template and save it on model field. Please tell me how to do it. ...

Creating Apps In Google Web Toolkit, Hosting Options?

So i have been looking into GWT and it does look pretty interesting as i do have experience in programming in java and being able to create webapps does look very interesting to me. I have looked at some of the basic tutorials and have got GWT working in my eclipse environment. Now, If i was to begin creating webapps with it how would i...

How to change email account details in appcfg.py google appengine SDK

I have hosted GAE apps with two different email ids! When i first time used appcfg.py to update my app then it prompted me for email id and password but later it doesnot. How to i change the saved email id and password? I tried to use --email= flag with appcfg.py, but it dint worked. ...

How to convert integer to string in a query in GAE?

If searchquery is an integer that I am getting from a form; how do I convert it to string? As far as I understand this is the reason why the following code is not working (it works if searchquery is a string: p = Pet.all().filter('score =', self.request.get('searchquery')).fetch(10) Thank you ...

Any readable, working Flex+BlazeDS+Spring+GAE (storing more than one table in GAE Datastore) tutorial?

I need a readable tutorial on working with Flex+BlazeDS+Spring+GAE (storing more than one table in GAE Datastore). Is there any such? ...

What features of BlazeDS are not avaliable on CURRENT Google App Engine?

So here it is that BlazeDS will totally play on GAE BlazeDS Version: 3.2.0.3978 Status: COMPATIBLE To workaround an EMFException thrown by flex.messaging.io.amf.AbstractAmfInput, follow Martin Zoldano's workarounds at http://martinzoldano.blogspot.com/2009/04/appengine-adobe-blazeds-fix.html. You will need to enable sessi...

How to perform web scraping to find specific linked pages in Java on Google App Engine?

I need to retrieve text from a remote web site that does not provide an RSS feed. What I know is that the data I need is always on pages linked to from the main page (http://www.example.com/) with a link that contains the text " Invoices Report ". For example: <a href="http://www.example.com/data/invoices/2010/10/invoices-report---tue...

Is any one using GAE for Nat traversal? (as server for keeping mappings)

So I can limit my app with UPNP NATs capable clients. I would love to see any Opensource Java project using GAE as server for keeping maps like (ClientID, IP:PORT) (with example of some on clients simple hole puncher) Is there any such project? ...

Reading files in GAE using python

Hello all! I created a simple python project that serves up a couple of pages. I'm using the 'webapp' framework and django. What I'm trying to do is use one template file, and load 'content files' that contain the actual page text. When I try to read the content files using os.open, I get the following error: pageContent = os.open(pag...

How to use Query.order() on string properties containing non-english characters?

How to use Query.order() on string properties containing non-english characters so entities where fetched in correct order? Query.order is oddly putting any non-english characters on the end of the list, like this: Dolnośląskie Kujawsko-Pomorskie Lubelskie Lubuskie Mazowieckie Małopolskie <- incorrect order Opolskie Podkarpackie Podlas...

Where can I find more diagnostic information about datastore behavior?

I'm using google app engine and its datastore to store a JDO Entity, called A. Class A has a @Persistent member of type B. I'm making changes to A, everything works fine... except this B member is never recorded in the datastore (I don't think). Changes to B don't show up, every fetch I do has B has null even though I clearly set it t...