google-app-engine

How do I make a temporary backup of the local datastore in the AppEngine SDK for MacOSX

How do I make a temporary backup of the local datastore in the AppEngine SDK for MacOSX And where are the files located? ...

App-engine and Scala

Hello, all. I have a 2-part question: Could you use Scala with Google's App Engine instead of Java? (Assuming 1 is answered yes) Would it be advised? Thanks ...

list.gsp FileNotFoundException when following Grails scaffolding tutorial with app-engine plugin

I'm trying to follow the grails tutorial here. When I create a new controller using create-controller XXX.Card and modify it to use scaffolding as per the tutorial: package XXX class CardController { def scaffold = Card } I get the following exception when I click on XXX.CardController: org.codehaus.groovy.runtime.InvokerInvo...

Code sharing in GWT app engine

I have an Employee class @PersistenceCapable(identityType = IdentityType.APPLICATION) public class Employee { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Key key; @Persistent private String firstName; @Persistent private String lastName; ...

How to deploy http://code.google.com/p/dyuproject/ into app engine

Hi, I am trying to use openid/hybrid in app engine, but so far, no luck. No success with openid4java (because it creates socket etc), and no luck with dyuproject either. How do it deploy dyuproject into my java appengine? I just could not understand the different structure of the code in http://dyuproject.googlecode.com/files/dyuproj...

Setting up OpenID delegation on a naked domain with Google App Engine or ZoneEdit

Background I used to have a standard Linux hosting account for my domain with both http://www.tjrobinson.net/ and http://tjrobinson.net/ displaying the same content. I used http://tjrobinson.net/ as my OpenID login which, combined with the markup below, let me use ClaimID as my OpenID provider but with a shorter, more portable and nicer...

How do I import the render_to_response method from Django 1.1 inside of Google App Engine?

I'm a Python newbie, so I'm sure this is easy. Here's the code in my main.py: import os os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' from google.appengine.dist import use_library use_library('django', '1.1') # Use django form library. from django import forms from django.shortcuts import render_to_response The last line breaks...

trouble with logging on Appengine

I'm having a tough time getting the logging on Appengine working. the statement import logging is flagged as an unrecognized import in my PyDev Appengine project. I suspected that this was just an Eclipse issue, so I tried calling logging.debug("My debug statement") which does not print anything out on the dev_appserver. I haven't...

Google App Engine: How do I put variables in my url in GAE.

I'm trying to figure something out with the app.yaml file. How do I get "nh" and "dover" out of my url: http://www.mysite.com/boats/nh/dover I'm assuming would would do something like: - url: /boats/<state>/<city> script: boats.py and then be able to get the variables somehow but I've had a hard time finding documentation for this...

Compress data before storage on Google App Engine

I im trying to store 30 second user mp3 recordings as Blobs in my app engine data store. However, in order to enable this feature (App Engine has a 1MB limit per upload) and to keep the costs down I would like to compress the file before upload and decompress the file every time it is requested. How would you suggest I accomplish this (...

Google Eclipse Plugin - Work with Python

Does the Google Eclipse Plugin work at all with Pydev or is it only useful if I am developing in Java? ...

App Engine Datastore + social app - structure & search an N-D sparse matrix

IIRC, each Facebook user can have 5000 friends. The average is 130, but the maximum is much higher. Each of those friends can have 'liked' zero or more entities drawn from a set of millions. When e.g. looking at a subset of those entities, grouped by N axes (e.g. by category and size), how would you find those that friends have liked? W...

Google Wave Python Tutorial - Nothing happens

For the Google Wave Python Robot Tutorial, my capabilities.xml is visible and I can add it to a Wave, but the robot isn't actually responding to the events. I checked the logs, but I've fixed it so I'm not getting any more errors. Any suggestions? ...

Email using cron job

i have made app using google app engine in pythonof weekly Project and assessment report submitting... i want to check that on Friday who have submitted the report and who don't just send the scheduled notification mail that he haven't submitted the report in last week... ** but i dont want to send the notification mail on monday who ...

rmi error in google app

I dont get the error when I use the following line FileItemIterator it = servletFileUpload.getItemIterator(request); I get it when I use following line List fileItemsList = servletFileUpload.parseRequest(request); How are they different and How is rmi related to servletFileUpload.parseRequest(request);? Error: Caused b...

Is Java or Python better for writing a web-page-source-checking web service on Google App Engines?

Hello everybody!!! I hope you all have a nice day. I want to write a web service that would check some web page HTML code every 20 minutes and e-mail it to my mail box. Here I was given a suggestion to use Google App Engine for this task. Having briefly read through that site I learned that two languages could be used there: Java and P...

Google Wave Python Tutorial - What next?

I just finished working through Google's Wave Robot: Python Tutorial. The API Reference looks a bit imposing. Is there anything else I can look at to get up to speed? ...

App engine many-to-many data modelling

I have a question regarding how to model a many-to-many relationship in App Engine: A Blogentry can have many tags, a tag can apply to many blog entries. I see a couple of scenarios: Use a Set of Strings as an attribute on the blog entry. This allows me to easily query for an entry using a tag This does not allow me to fetch all ta...

cron in google app engine python

i have made app using google app engine in pythonof weekly Project and assessment report submitting... i want to check that on Friday who have submitted the report and who don't just send the scheduled notification mail that he haven't submitted the report in last week... ** but i dont want to send the notification mail on monday who h...

Problem with persisting data in Google Application Engine

Hi, we are having a hard time persisting data in our google app project, we have the classes "Customer" "Reservation" and "Room". Our goal is to map a relation between these, with a one-to-many relation from Customer to Reservation and a one-to-many relation from Room to the same Reservation. The exception we get is: Error in meta-dat...