google-app-engine

Google App Engine "repackaged" package

What is the purpose of the classes in this package? I want to use Base64 encoding in my app. As I'm typing away in Eclipse, I am prompted if I want to import a class called "com.google.appengine.repackaged.com.google.common.util.Base64" I can't find any documentation about what this class does. No javadoc, or no mention in the Google A...

Java 1.5 crypto on OS X - AccessControlException

I'm trying to do a Google App Engine project on OS X (latest and greatest). I'm using classes from javax.crypto, and I'm seeing an AccessControlException thrown when I try to initialize an instance of the Mac class. Here's the stack trace: WARNING: Nested in java.lang.ExceptionInInitializerError: java.security.AccessControlException: ac...

File.lastModified() returns stale date on Google App Engine

So recently I learned that in order to serve static files with a Last-Modified header from Google App Engine, I had to write my own (simple) servlet to do that. OK fine, I went and did it, results can be viewed here. But now I find that File.lastModified() is always returning the same value, no matter that I have touched the file, even...

Hit a URL on other server from google app engine

I want to hit a URL from python in google app engine. Can any one please tell me how can i hit the URL using python in google app engine. ...

Could not import Django settings into Google App Engine

Hello all you Google App Engine experts, I have used Django a little before but am new to Google App Engine and am trying to use it's development web server with Django for the first time. I don't know if this is relevent but I previously had Django 1.1 and Python 2.6 on my Windows XP and even though I have uninstalled Python 2.6 ...

How long do zipimported module imports remain cached in memory when using appengine / python and is there a way to keep them in memory?

I've recently uploaded an app that uses django appengine patch and currently have a cron job that runs every two minutes. On each invocation of the worker url it consumes quite a bit of resources /worker_url 200 7633ms 34275cpu_ms 28116api_ms That is because on each invocation it does a cold zipimport of all the libraries django etc...

GIS services on Google App Engine

There is any geocoding/routing service which runs on Google App Engine? (besides the Google Maps API) ...

Using localflavor Django form fields on Google's App Engine

Is it possible to use the form fields from django.contrib.localflavor.us.forms on the Google App Engine? Can I simply use those form fields, or do I need a form field under google.appengine.ext.db.djangoforms ...

Cron job python Google App Engine

I want to Add a scheduled task to fetch a URL via cron job using google app engine. I am continuously getting the failure. I am just fetching www.google.com. Why The url fetch is failed??? Am I missing something??? ...

Google App Engine problem

Google App Engine is neither showing my application main HTML page nor any error. I just rolled back my changes still its not showing anything.It was working in the morning Please Guide e how Can I make it working agin. ...

Should I use google-app-engine-django or app-engine-patch or neither or something else?

Do I need either to make Django easier to use on GAE? Anyone had good or bad experience of either or any equivalent? Is there much difference between these? Which is easier to use? Regards Geoff ...

Delete record from Google App Engine table

I have done this in python file, but my records don delete from DB. My DB is at Google App engine. There will be only one record against this query. Any solution? deleteContact = db.GqlQuery("SELECT * FROM FriendList WHERE myNum = :1 AND friendNum = :2", myId,friendId) results = deleteContact.fetch(1) for result in results: db.delete(...

Does Google App-Engine supports flash message ?

Hi, I am using grails 1.1.1 in my application.Flash messages ,like student id created, of my application working fine in local,but when i am updating to app-engine in server flash messages are not working. I think GAE doesnt support flashmessage from er action. If there is any solution please reposnse. Thnks billion ...

Can one use Ajax on Google App Engine as a logged in user over https from a non-appspot.com domain?

Suppose: You have a website http://www.example.com that redirects to a project on Google App Engine (i.e. example.appspot.com); you want communications to pass between the user over SSL (i.e. https://example.appspot.com); and You want the domain to be shown to the user to be *://www.example.com (i.e. not https://example.appspot.com). ...

ValueError: invalid literal for int() with base 10

I received the following error when trying to retrieve data using Google App Engine from a single entry to a single page e.g. foobar.com/page/1 would show all the data from id 1: ValueError: invalid literal for int() with base 10 Here are the files: Views.py class One(webapp.RequestHandler): def get(self, id): id ...

Does Google App Engine Java support Hot Deployment in Eclipse?

It doesn't seem to do this by default, which is pretty shocking to me given all the other stuff they've set up to make development easy. Is there a way to enable this? If not, anybody know why it isn't supported? ...

Can't get current user for AJAX requests in App Engine

I'm using Django+Appengine on a page that has both a normal HTML request to get the page, and an AJAX request using jQuery. On normal requests, it loads the current user and session information just fine. However, for the AJAX requests, self.user isn't set and users.get_current_user() doesn't return anything. Both handlers are on the ...

Is there any tool to backup/restore Google Datastore entities?

I've playing around with Google App Engine and Google Datastore for a while now and I am facing the need to take regular backups of my stuff up on the cloud. Is there any sort of general purpose tool that allows you to download all your data from a specific instance of google-datastore and restore it to another one? If so, please enlig...

How do I avoid a huge bandwidth bill if my website gets popular?

As a hobby, I'm writing a web application that will use some bandwith. Imagine I implement a feature that will produce custom 50 megabyte downloads for each interested user and maybe a megabyte or ten for uninterested visitors. I hope it will be popular but I don't want to have to take out a second mortgage on the house to pay for a mont...

Finding the domain name of a site that is hotlinking in Google app engine using web2py

Let's say we have an image in the Google App Engine and sites are hotlinking it. How can I find the domain names of the sites? My first thought was: request.client and then do a reverse lookup but that it's not possible in GAE and would take a lot of time. I am pretty sure that there is a property that allows me to get the url of ...