google-app-engine

Web crawlers and Google App Engine Hosted applications

Is it impossible to run a web crawler on GAE along side with my app considering the I am running the free startup version? ...

Best way to profile/optimize a website on google's appengine

I'm currently trying to optimize my website, which run on the google's appengine. It's not an easy task, because I'm not using any powerful tool. Does anyone have experience in optimizing python code for this purpose? Have you find a good python profiler? ...

smtp sends headers as content

Hi I'm using remote smtp server(from my host company) and send email from local computer.(google app development server) But instead of getting nice emails i get emails that contain headers as if it ware content of email What can do to change it? ...

How do I order referenced objects from a Google App Engine Datastore query?

I have Exhibit objects which reference Gallery objects both of which are stored in the Google App Engine Datastore. How do I order the Exhibit collection on each Gallery object when I get around to iterating over the values (ultimately in a Django template)? i.e. this does not work class Gallery(db.Model): title = db.StringProperty...

Static 301 in Google App Engine?

Is it possible to define static rule for 301 redirect to canonical host name? I.e. I'd like what in Apache's mod_rewrite is done with: # To force the use of RewriteEngine On RewriteCond %{HTTP_HOST} !^www\.example\.com [NC] RewriteCond %{HTTP_HOST} !^$ RewriteRule ^/(.*) http://www.example.com/$1 [L,R=301] I know I can do...

Google App Engine Local Environment Error: "cannot import name webapp"

I've built a GAE site on a Windows machine and I want to work on it from my MacBook. I have the code in SVN remotely and I installed the Mac version of GAE which comes with this launcher program. When I configured my application in the launcher and fire the application up, I get the following error: 22 from datetime import timedelta 2...

Programmatically submitting a form in Python?

Just started playing with Google App Engine & Python (as an excuse ;)). How do I correctly submit a form like this <form action="https://www.moneybookers.com/app/payment.pl" method="post" target="_blank"> <input type="hidden" name="pay_to_email" value="[email protected]"> <input type="hidden" name="status_url" <!-- etc....

What's your experience developing on Google App Engine?

Is GQL easy to learn for someone who knows SQL? How is Django/Python? Does App Engine really make scaling easy? Is there any built-in protection against "GQL Injections"? And so on... I'd love to hear the not-so-obvious ups and downs of using app engine. Cheers! ...

Google App Engine database inconsistency

Im writing a twitter app in Google App Engine. It accepts commands as Direct Messages, so i have setup a third party cronjob service to invoke a handler that processes DMs at regular intervals. I have a Model 'Info' that has just one entry, it stores some common data which are used in many places in the App(in this case, the time when th...

How does Google App Engine compare to web hosting plans?

Google App Engine offers free quotas of 1 GB outbound traffic per day and 6.5 CPU-hours (based on a 1.2 GHz Intel x86 processor) per day. How do those free quotas compare to web hosting plans? For example, the traffic supported by the free quotas -- is that generally higher or less than the traffic supported by a typical $5/mo shared ho...

App Engine - problem trying to set a Model property value

Hi, I'm pretty new to app engine, and I'm trying to set a bit of text into the app engine database for the first time. Here's my code: def setVenueIntroText(text): venue_obj = db.GqlQuery("SELECT * FROM Venue").get() venue_obj.intro_text = text # Works if I comment out db.put(venue_obj) # These two lines This ...

Is Google App Engine better than Webfaction for a beginner in Django dev?

I am a beginner in developing websites by Django. I run small discussion websites similar to SO. I have an account at Bluehost which has been a nightmare in developing by Django. I have found that Webfaction and Google App Engine seems to be the best choices for Django. However, I am not sure which one is the best for me. Is Google Ap...

Google AppEngine: Date Range not returning correct results

Im trying to search for some values within a date range for a specific type, but content for dates that exist in the database are not being returned by the query. Here is an extract of the python code: deltaDays = timedelta(days= 20) endDate = datetime.date.today() startDate = endDate - deltaDays result = db.GqlQuery( "SELECT * FRO...

Unable to upload a Django project to Google App Engine

I am trying to test the codes of the project. I run the following code $appcfg.py update masicode/ I get the following error Scanning files on local disk. Initiating update. 2009-04-06 21:58:42,401 ERROR appcfg.py:1235 An unexpected error occurred. Aborting. Traceback (most recent call last): File "/Applications/Coding/Google...

Relative advantages of storage using Amazon Web Services S3 vs Google Application Engine

What do you see as the advantages and disadvantages of Amazon Web Services S3 compared with Google Application Engine? The cost per gigabyte for the two is, at the time I ask, roughly similar; I have not seen any widespread complaints about the quality of service; so I think the decision of which one to use may depend on the API (of all...

Is it possible to update a Google calendar from App Engine without logging in as the owner?

I'd like to be able to use the Google Data API from an AppEngine application to update a calendar while not logged in as the calendar's owner or the a user that the calendar is shared with. This is in contrast to the examples here: http://code.google.com/appengine/articles/more_google_data.html The login and password for the calendar'...

How to get enum values without knowing its keys?

Hi, I'm trying to load a combo with an enumerator from Translation API. But, I don't know how to iterate and get both the key and value of each item and show it to the user. Can anyone tell me how to do this??? The object I'm trying to access is google.language.Languages. It is built this way: google.language.Languages{ 'AFRIKAANS' : ...

How do I write to the console in Google App Engine?

Often when I am coding I just like to print little things (mostly the current value of variables) out to console. I don't see anything like this for Google App Engine, although I note that the Google App Engine Launcher does have a Log terminal. Is there any way to write to said Terminal, or to some other terminal, using Google App Engin...

What changes do I need for my tables to work on AppEngine's BigTable?

Let's say I have a booking database consisting of users: user_id fname lname and their tickets ticket_id user_id flight_no and associated flights flight_no airline departure_time arrival_time What would I need to change to move this Google AppEngine? I understand AppEngine doesn't allow joins. Does that mean my table should be...

Can you use J2EE frameworks with the Google App Engine?

I have been working on a small web app using the Stripes framework. Now that the Google App Engine has added support for Java, I am wondering if I can convert it to run in the Google App Engine to save costs on hosting. ...