[google-appengine] Re: Bad entity in Datastore

2010-11-10 Thread jdwx
I found the issue. Datastore cannot seem to store '%' sign! What is the workaround if I want to store '%' sign e.g. I want to store a string that says "Congratulations, you got 100%!". Thank you. On Nov 11, 11:22 am, jdwx wrote: > Hello guys, > > I am usi

[google-appengine] Re: Bad entity in Datastore

2010-11-10 Thread jdwx
rieve it by low level api: > > from google.appengine.api import datastore > print datastore.Query('model_name', {'attr_name =': xxx}).Get(1) > > -- > keakon > > > > On Wed, Nov 10, 2010 at 11:45 PM, jdwx wrote: > > Hello, > >

[google-appengine] Bad entity in Datastore

2010-11-10 Thread jdwx
Hello, I have a datastore entry that is not viewable i.e. I get "A server error has occurred." when I click on the entry in the datastore viewer. This particular data entry is causing my app to crash too when I try to retrieve and display it. Does anyone know the reason? Thank you. Gerald --

[google-appengine] Question regarding Query with Sort

2010-08-17 Thread jdwx
Hello, I have a TeamAllocation table that has the following - sStudentID sCourseID nTeamNumber However, I cannot seem to sort the data with my queries. String sQuery = "select from " + TeamAllocation.class.getName() + " where sCourseID == '" + sCourseID + "' order by nTeamNumber desc"; and Q