google-app-engine

Where/How should I do validation and transformations on entities in Google App Engine?

In Ruby on Rails, each model entity has a "validate_on_*something*" hook method, that will be called before the entity is actually persisted to the database. I would like similar functionality in Google App Engine. I am aware that you can do validation on individual Properties by passing arguments to them in their declarations. However, ...

why am I stuck on "Initiating update" when deploying to google

I've have not had any trouble deploying through eclipse until now. I'm guessing it might have to do with all the stuff I've added today a folder of .pdf and .tex files (in war/web-inf directory) a bit of JDO stuff and a servlet that reads the files in the directory and indexes them into the JDO Is there any way to find out what exa...

App Engine model filtering with Django

hi i am using django app engine patch i have set up a simple model as follows class Intake(db.Model): intake=db.StringProperty(multiline=False, required=True) #@permerlink def get_absolute_url(self): return "/timekeeper/%s/" % self.intake class Meta: db_table = "Intake" verbose_name_plural = "Intake...

Google App Engine: NoClassDefFoundError on run

Everytime I try to run my project, I get the following error message: Exception in thread "main" java.lang.NoClassDefFoundError: com/google/appengine/tools/util/Logging at com.google.appengine.tools.development.DevAppServerMain.main(DevAppServerMain.java:82) What could be the problem? I've tried reinstalling Eclipse and reconfiguri...

Upload not working on Google app engine

I am not able to upload any project to Google app engine and this is the error I get File "F:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 1250, in DoUpload missing_files = self.Begin() File "F:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 1045, in Begin versi...

Many users, many cpus, no delays. Good for cloud?

I wish to set up a CPU-intensive time-important query service for users on the internet. A usage scenario is described below. Is cloud computing the right way to go for such an implementation? If so, what cloud vendor(s) cater to this type of application? I ask specifically, in terms of: 1) pricing 2) latency resulting from: - slow ...

python script optimization for app engine

i have the following script i am using to scrap data from my uni website and insert into a GAE Db from mechanize import Browser from BeautifulSoup import BeautifulSoup import re import datetime __author__ = "Nash Rafeeq" url = "http://webspace.apiit.edu.my/schedule/timetable.jsp" viewurl = "http://localhost:8000/timekeeper/intake/c...

How do I create a unique property in python on google app engine?

In some database technologies, for a attribute in a record, you can guarantee uniqueness of that attribute within the entire database. An example of this might be a email_address attribute in a User record. By setting email_address to unique, you guarantee that a particular email address can only appear in one record in the entire databa...

Google app engine vs mochahost or similar

Hi to everyone, I have developed a site with google app engine using python and django, now I have another similar project to develop. Well I have got some well-known problems using the datastore: query: there's no "LIKE CLAUSULE" and GQL is not Sql documentation is not so clear and easy to find backup database is not so trivial dja...

Google App Engine oAuth Issue

Hello All, I'm working on building an iPhone application and using Google AppEngine as the data storage. I also need to have the ability to use oAuth for my users, but I can't even get oAuth to work at this moment on AppEngine. Successful Demo: http://twitteroauth.appspot.com/ Code powering that demo: http://github.com/tav/tweetapp/b...

Is it possible to implement iPhone push notifications in a Google App Engine application?

I'm in the planning phase of an iPhone application and am considering using Google App Engine for my server component due to its scalability features. Push notifications are sent using a binary interface to gateway.push.apple.com:2195. However, the JRE for the server is only allowed to use the following standard classes, which does not...

manage.py syncdb on windows for Google App Engine Patch does not work

I have installed Google App Engine patch and I get the following error when I want to sync the DB Command on command prompt on windows manage.py syncdb The Google App Engine SDK could not be found!Visit http://code.google.com/p/app-engine- patch/ for installation instructions. I have installed win32api too and it still recurs. a...

Troubleshooting DataNucleus JDO

I am using the Eclipse plugin for Google App Engine 1.2.6 and Web Toolkit 1.7.1 DataNucleus/JDO is driving me mad! I suspect either my creates are silently erroring out before being written AND/OR the reads are inconsistently populating the objects. I could use some tips on figuring out what is really happening. Using a minimally unm...

Datastore entity with kind and key has a null property named

After adding a boolean attribute to an object, fetching that object from the datastore results in the error: Datastore entity with kind <Class> and key <Class:ID> has a null property named <attribute> ...

how to know statistical data on google app engine

Hi all, I deployed an application on google app engine, I would like to know a statistical view on how many people visit my site, from where in the world they access, is it possible? What I need to do to have those results? Please help! ...

website with openid, facebook connect

Hi, My Google app engine java website uses opendid to login, and I plan to add facebook connect. Any thought of how to save the openid/facebook userid elegantly? Many thanks don ...

Dynamic URL's inside Google's AppEngine

Good Afternoon, I'm currently trying to build something incredibly simple inside of the Google AppEngine. The goal is to build a simple photo sharing application that will connect back to my iPhone application. It's all a learning experience for both Python and Objective-C. (I've been a PHP programmer for quite some time). The goa...

best algorithm to determine which friends are also using an application on Facebook and appengine?

On a Facebook application (working under appengine) I need to tell the user which of his friends are already using the application. When a user uses a Facebook application, Facebook handles the user's friend list to the application. This list might have up to 5000 friends, so checking them one by one might be too slow. What's the best...

django app with app engine on windows

I'm trying to install app engine with django 1.1 on windows. When launching the app engine I'm getting the following error: http://slexy.org/view/s21oLrbkHh The steps I do are: 1.) Create new app via launcher 2.) Copy my code (Which is empty django project) My main.py code is attached below. I'm falling on line: "import django.db" whi...

How to stop Jetty webserver in Google App Engine

If you are doing local development I want to know how we can stop/kill Jetty webserver? I have to close my Eclipse IDE whenever I need to do that. Is there any other way to do it? Or we have to kill the process? Thanks. ...