Hi, I have a functioning app and recently have had intermittent
problems writing to the datastore. I did not make any relevant code
changes, however in the last few days my attempts to write to the
datastore sometimes work and sometimes don't.
I am trying to save an object that is in a many to one relationship
with an existing persist...
If I have an entity derived from db.Expando I can write Dynamic property by just assigning a value to a new property, e.g. "y" in this example:
class MyEntity(db.Expando):
x = db.IntegerProperty()
my_entity = MyEntity(x=1)
my_entity.y = 2
But suppose I have the name of the dynamic property in a variable... how can I (1) rea...
Anyone have a good reference guide for GQL (query language for google appengine datastore)?
I find the reference guide on the google appengine site very limited with examples
...
I am trying to set up Google App Engine unit testing for my web application. I downloaded the file from here.
I followed the instructions in the readmen by copying the directory gaeunit into the directory with the rest of my apps and registering 'gaeunit' in settings.py. This didn't seem sufficient to actually get things going. I als...
I know there are already some posts regarding this subject, but although I tried using them as a reference, I am still stuck.
I have a persistent class as follows:
@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class GameObject implements IMySerializable{
@PrimaryKey
@Persistent(valueStrategy = IdGeneratorStrategy....
this is my code :
import os
from google.appengine.ext import webapp
from google.appengine.ext.webapp import template
from google.appengine.ext.webapp.util import run_wsgi_app
from google.appengine.ext import db
#from login import htmlPrefix,get_current_user
class MyModel(db.Model):
blob = db.BlobProperty()
class BaseRequestHandler...
i can use 'csv' file to upload to gae ,
and i want to know , can any other data format do this,
thanks
...
I've just got this error from Google App Engine:
TypeError: argument of type 'ListProperty' is not iterable
why?
...
I want to develop my first AppEngine application, that will also use GWT. Since I don't have any experience with GWT and AppEngine, I started with tutorials on GWT site, and after succefully completing Getting Started, I started working on http://code.google.com/webtoolkit/doc/latest/tutorial/appengine.html
But I ran into a problem, and...
A db.get() of 50 keys seems to take me 5-6 seconds. Is that normal? What is the time a function of?
I also did a A.all(keys_only=True).filter('b =', b).fetch(1000) where A.b is a ReferenceProperty. I did 50 such round trips to the datastore, with different values of b, and the total time was only 3-4 seconds.
How is this possible? db.g...
I understand from the official documentation on unowned relationships that the app must use sets of Key objects on either side of the relationship. This makes perfect sense.
Coming from many years of RDBM-style programming, though, I'm pretty confused about how I can model properties of that relationship itself. For example, if I have ...
i follow this article :http://code.google.com/intl/en/appengine/docs/python/tools/uploadingdata.html
and want to download all data from my app ,
but when i use the next code,it show error:
D:\zjm_demo\app>appcfg.py --dump --app_id=zjm1126 --url=http://zjm1126.appspot.c
om/remote_api --filename=a.csv
Usage: appcfg.py [options] <action>...
Does Google Apps support the Spring framework?
...
I am impressed with django.Am am currenty a java developer.I want to make some cool websites for myself but i want to host it in some third pary environmet.
Now the question is can i host the django application on appengine?If yes , how??
Are there any site built using django which are already hosted on appengine?
...
i can download data from gae (http://zjm1126.appspot.com/remote_api), this is code:
appcfg.py download_data --application=zjm1126 --url=http://zjm1126.appspot.com/remote_api --filename=a.csv
and it successful :
D:\zjm_demo\app>appcfg.py download_data --application=zjm1126 --url=http://zjm1
126.appspot.com/remote_api --filename=a.cs...
How can I write a custom django validation for Google AppEngine.
The case is I have a model which has a field whose value should be greater than an already existing value in the datastore for the same attribute.
Thanks in advance.
...
I know wordpress,joomla,drupal etc ( most of php_mysql stack ) can auto detect update in software itself or/and plugin and either ask for user permission to update or auto update it.
How to do similar thing on google app engine like cloud computing ?
I am creating an open source software which is targeted towards non-computer people. ...
i follow this article : zipme
and i download my file successful , and i want to download another file that ex: the parent file
so i change this:
dirname=os.path.dirname
folder = dirname(__file__)
to
dirname=os.path.dirname
folder = dirname(dirname(__file__))
but the error is :
firefox can't find the file
why ?
thanks
...
i can use this code to download all data from my app on gae :
appcfg.py download_data --application=zjm1126 --url=http://zjm1126.appspot.com/remote_api --filename=a.csv
it is not use bulkloader , so can i upload all data without bulkloader ,
thanks
...
On my local dev environment, when an App Engine task that had been added to the the task queue hits an error, it is retried until successful. However, in the production environment, it's not. What I THINK is happening is that, because I have a custom 500 handler in urls.py, all errors are caught by this and the 500 error never bubbles to...