google-app-engine

A static file upload (text or HTML) cause full deployment in Google App Engine?

I have to change some contents in a html or text file. Or I have to upload an image. I have to re-deploy my application on GAE. Is there any way that I can upload such static files to the desire location from my hard disk? Please thanks for your help. ...

Can I find all of a certain base model in App Engine?

Given a class-like relationship: class A(db.Model): pass class B(A): pass Can I get all of the base class? The query: models.A.all().fetch(1) returns an empty list. ...

Appengine performance problem. Same site 10x faster accessing from appspot than from my domain

This is really strange to me and it's becoming into a real problem. I'm building a site in appengine (java) using scala and It's working really slow when accessed from my domain: /latest 200 1505ms 2325cpu_ms 1586api_cpu_ms 4kb But when accessed from appspot it works much faster: /latest 200 180ms 269cpu_ms 221api_cpu_ms 4kb I've ...

Python syntax highlighting / Intellisense?

I've started messing around with Google App Engine, writing Java. I love Visual Studio for many reasons, but currently my .py files just look like text. I've searched the web looking for a way to get it to highlight python files (intellisense would be a nice bonus, but not required) but turned up nothing. There are other questions on ...

Grails AppEngine file upload using GAEVFS

Hi, I'm working on Grails web application and need to upload files. I have a form (simplified here): <g:form action="save" method="post" enctype="multipart/form-data"> <input type="file" id="image" name="image" /> <input class="save" type="submit" value="Create" /> </g:form> and in Controlle...

Obtaining clients IP address in GWT and Google App Engine

I have a need to capture IP address of the client in my GWT/GAE (Java) application. Since GAE does not support full set of java.net APIs I cannot do code such as snippet below. Can anyone suggest reliable way of achieving the same? for (final Enumeration<NetworkInterface> en = NetworkInterface.getNetworkInterfaces(); en.hasMoreElements(...

App Engine Authentication Error

I have an app hosted by google app engine, and I am having trouble with authentication. When I login using my admin account and try to access the admin page or members pages, I just get a blank screen. I can login, and the members only menu shows when I login, but I just can't see any data from the members pages. I'm not really sure ...

Automate interaction with a webpage in python

I want to automate interaction with a webpage. I've been using pycurl up til now but eventually the webpage will use javascript so I'm looking for alternatives . A typical interaction is "open the page, search for some text, click on a link (which opens a form), fill out the form and submit". We're deploying on Google App engine, if tha...

Export from AppEngine database to the local development database?

Is there a way to export the data on my AppEngine database to the development server (for testing purposes etc.) ? ...

How to verify sender of incoming email address in Google App Engine?

I'm trying to write a heavily email-based application in the Python SDK of Google App Engine. I've noticed that Google allows you to receive email via its API, and that it easily gives you access to the standard fields like From, To, Body, etc. However, if I'm trying to verify that an email address came from who it said it came from (kin...

Python's string.maketrans works at home but fails on Google App Engine

I have this code in Google AppEngine (Python SDK): from string import maketrans intab = u"ÀÁÂÃÄÅàáâãäåÒÓÔÕÖØòóôõöøÈÉÊËèéêëÇçÌÍÎÏìíîïÙÚÛÜùúûüÿÑñ".encode('latin1') outtab = u"aaaaaaaaaaaaooooooooooooeeeeeeeecciiiiiiiiuuuuuuuuynn".encode('latin1') logging.info(len(intab)) logging.info(len(outtab)) trantab = maketrans(intab, outtab) ...

Help to create a generic class to avoid code duplication

I have a simple problem try to stay DRY using Appengine. The 2 functions below are identical except for the object sent as parameter. In reality I have 15 functions like this. I am try to find a way to create a super class or a generic to achieve this. public void deleteRecord(Person s) { PersistenceManager pm = PMF.get().getPersist...

Lamson in Google App Engine?

Do anybody has experience hosting an email application in Lamson in Google App Engine? Is it possible? Is it easy? Works well? Thanks ...

Spring, db and property file configuration.

I have some JDO objects that I want to spring to configure with info from a property file. But since spring isn't used to create (i.e these objects are not listed as beans in the xml. Should they, how would it look?) these objects how can I get it to configure those objects? Only solution I can come up with is to have the property fil...

Usage of Static variables in Java Servlets (e.g. in AppEngine)

I have an application where Servlet has a method called Update(ReqIn, ReqOut). I call it from doGet & doPost and pass the Request and Response variables, and it is then up to Update(...) to fill out the following static variables: ... public class Server extends HttpServlet { public static HttpServletRequest In = null; public s...

How to clear cookies from NSHTTPCookieStorage more then once?

My desktop app connects to a web application that's hosted on Google App engine. Once it authenticates it gets an authtoken cookie that it passes along for all future requests. That all works. But now I want to add "Sign out". I’ve tried to implement Sign Out like this: - (void)signOut { NSHTTPCookieStorage *cookieStorage = [NSHTTP...

Is there a comprehensive list of Google App Engine applications out there?

I'm considering leveraging Google App Engine for a small side project, but before I go in head first and start coding my apps (which are fairly trivial and common stuff) I'd like to check out what has already been done. But I haven't been able to find any place that lists the sorts of applications already out there. Anyone knows of such ...

Google App Engine Application Extremely slow

I created a Hello World website in Google App Engine. It is using Django 1.1 without any patch. Even though it is just a very simple web page, it takes long time and often it times out. Any suggestions to solve this? Note: It is responding fast after the first call. ...

App Engine - why are there PhoneNumber, Link, Rating etc classes?

I haven't found any reason for the existence of a few of the App Engine classes. There's a PhoneNumber, a Link, a PostalAddress, a GeoPt, a Rating, etc. Why are these given special treatment? They don't seem to have any smarts - e.g. geo searching. I know Link has more space than a String property, but the rest? See: http://code.google....

Using google account for authentication other than App Engine

Hi; Is it possible to use Google Accounts for authentication in your application if you not use App Engine? Is this service is only for those applications which run in GAE? Thanks. ...