Hi,
I am running AppEngine locally.I use some filters on the following attribute of my object :
class Blah(db.Model):
access_code = db.StringProperty()
Then I run my filter in the view:
cac = Blah.all().filter(
'access_code =', 'value_to_find').fetch(1)
When doing so, I get the following error : BadValueError: Filtering o...
After running a query on the datastore, I copy the results to a new list as I interrogate, merge and prune the results. When I'm finished, I'd like to sort the new list, but I'm seeing the following error...
TypeError: 'LiveRouteStatus' object is unsubscriptable
LiveRouteStatus is a Model class that I query, and while the actual code i...
hello all!
I tried running the sample GWT/Google Appengine application - expenses generated by ROO using the roo command "script expenses.roo" (as advised here)...
This app uses datanucleus-core - 1.1.6 and a HSQLDB as the in-memory database.
I was able to run the application and successfully store and retrieve Employee objects. (Thes...
So I followed Nick Johnson's instructions on how to forward a naked domain:
http://blog.notdot.net/2009/12/Naked-domains-on-App-Engine
and configured GoDaddy to use a 301 redirect to the "www" subdomain of my site.
However, the problem I'm still having is that when I enter http://mydomain.com/foo/bar, it gets forwarded to http://www.m...
If the solution is to override init() and del() from db.Model / db.Expando / db.PolyModel, then do I need to call the superclass functions?
Would be great to see some example code in the answers or on links. Thanks a lot.
...
I'm thinking of dozens of concurrent jobs writing to the same datastore Model. Does the datastore scale regardless of the number of concurrent puts?
...
I think we all know this page, but the benchmarks provided dated from more than two years ago. So, I would like to know if you could point out the best xml parser around. As I need just a xml parser, the more important thing to me is speed over everything else.
My objective is to process some xml feeds (about 25k) that are 4kb in size (t...
I'm using GAE 1.3.5 devserver SDK with Python. When I uncomment this line of code, GAEUnit hangs every time I try to run my test suite:
dep_arc_tail_q = db.GqlQuery("SELECT * FROM DependencyArcTail WHERE courses = :1", course)
#problem line
modelutils.applyToResultsOfQuery(lambda tails : modelutils.removeCourseFromTails(course, tails),...
How can we retrieve data from datastore where we want to use one element of list property as parameter in google app engine?
...
Hi,
I'm using app engine java. I'm interested in collecting some analytics, but this is difficult since I need to make datastore classes for all the info I'm interested in tracking - it's going to detract from our 100 index quota, and just introduce extra complexity to my project.
I was reading through the dev forum, an app engine proj...
Im working behind a corporate proxy and was fine while i was using the eclipse plugin configured with my proxy credentials. Then one of my deployments failed and now I have to rollback my previous transaction. Im trying to use appcfg (either .py or .cmd) since I think that is the only way to rollback. Im getting either timouts or proxy a...
I would like to know how can I limit the results number with a javax.jdo.Query
I have tried with setRange function without success.
This is my current workaround
Object query_result = q.execute(locationId);
if(query_result!=null && ((List<BaseObject>) query_result).size()>0)
return (PokerSession) ((List<BaseObject>) query_result).ge...
Hi.
I have a web application with some data in its datastore. I have just finished another version of it, in which i changed one of the persistent classes. Basically, there is a class called "Node" (which represents a node in a hierarchy tree), that used to have it's author as a
private CmsUser author;
and now it stores its author ...
Hi I read a few post on this topic, lets say I want to delete every object for a given class db.model such as LinkRating2, is there a way to delete it on startup with a simple command? I thought i remember seeing this somewhere eg --clear datastore?, otherwise I have been trying various methods in sdk console but all seem to be memory cr...
I have been working on an application using GAE in eclipse and I have a bunch of data objects. Sometimes I need to change their type, ie String -> Text so they can store more data.
What is the quickest easiest way to do a bulk update on the data/object store? I know I could probably write Java code to iterate over each object, but sure...
I have the following code:
@PersistenceCapable(identityType = IdentityType.APPLICATION, detachable="true")
public class A {
@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
@PrimaryKey
private Key key;
@Persistent
private B b;
@Persistent
private int id;
// ...
}
@PersistenceCapable(identityType = IdentityTy...
Hi all,
I've been trying to create a single project which can run both on sql and gae (where the 'datanucleus.properties' file needs to be changed) under a single maven folder structure. I first tried to get the Greeting example on the GAE website using mysql (this now works). Then, inspiring myself from beardedgeeks tutorial, I have tr...
may i know in 'nosql' there is limitation just like bigtable where we should 'denormalized' our table/entity ?
any api wrapper that allow we to write code once and can be used for google app engine bigtable and nosql ? (something like hiberanate)
...
Hi All,
I am working on a django- Google app engine project. A user inserts some value and the datetime field is auto filled using google app engine DateTimeProperty(auto_now_add=True) property. Now, I have to display on the template the difference of this time and the current time when the user is viewing the result.
For e.g. if the i...
Basically I am coding websites in PHP from last year.
But now I want to use something else and GAE looks a good option.
So I want to know if GAE is good for making a little website to share favorite youtube videos ?
I have done single website in Python+Django few months back, it looks good to me.
But JAVA is the language that I want t...