google-app-engine

failed to import ``gprof2dot``, will not profile

when i use firepython : http://code.google.com/intl/zh-CN/appengine/articles/firepython.html to logging the python info. it waring this log: but i download the gprof2dot: why it also show this log ? thanks ...

python webtest port configuration?

I am attempting to write some tests using webtest to test out my python GAE application. The problem I am running into is that the application is listening on port 8080 but I cannot configure webtest to hit that port. For example, I want to use app.get('/getreport') to hit http://localhost:8080/getreport. Obviously, it hits just thits...

Can I use django.contrib.gis on GAE?

Can I use GeoDjango with GAE / BigTable? ...

Google App Engine - Error vacuuming indexes

I had an index that had status error, so following the docs I tried to vacuum my indexes to remove it. When running appcfg.py to vacuum it I got this error message: Error 400: --- begin server output --- Deleting a composite index failed: ApplicationError: 1 --- end server output --- Now all of my indexes are in error state...

stop minidom converting < > to &lt; &gt;

Im trying to output some data from my google app engine datastore to xml so that a flash file can read it, The problem is when using CDATA tags the outputted xml contains &lt; instead of < e.g <name>&lt;![CDATA][name]]&gt;</name> here is my python which outputs the xml: doc = Document() feed = doc.createElement("feed") ...

Google App Engine datastore encoding?

I'm using the GAE datastore for a Java application, and storing some text that will be in numerous languages. In my servlet, I'm first checking to see if there's any data in the data store, and, if not, I'm creating some, similar to the following: ArrayList<Lang> list = new ArrayList<Lang>(); list.add(new Lang("EN", "English", 1)); lis...

Datastore query outputting for Django form instance

Hello! I'm using google appengine and Django. I'm using de djangoforms module and wanted to specify the form instance with the information that comes from the query below. userquery = db.GqlQuery("SELECT * FROM User WHERE googleaccount = :1", users.get_current_user()) form = forms.AccountForm(data=request.POST or None,instance...

Querying the Datastore in python

Greetings! I am trying to work with a single column in the datatstore, I can view and display the contents, like this: q = test.all() q.filter("adjclose =", "adjclose") q = db.GqlQuery("SELECT * FROM test") results = q.fetch(5) for p in results: p1 = p.adjclose print "The value is --> %f" % (p.adjclose) however i need ...

Is it possible to read the version of a Google App Engine app at runtime?

I have the version number set in my app.yaml to something like 'rc1'. I'd like to be able to read the current version for a status/health check URL. Is this possible? ...

CSS File Not Updating on Deploy (Google AppEngine)

I pushed a new version of my website, but now the CSS and static images are not deploying properly. Here is the messed up page: http://www.gaiagps.com Appengine shows the latest version as being correct though: http://1.latest.gaiagps.appspot.com/ Any help? ...

Google app engine: query that return entity ID using python

hi how do I return the entity ID using python in GAE? Assuming I have following class Names(db.Model): name = db.StringProperty() ...

Running a method for infinitely in google app engine/Gwt

I am having a a method which listens continuously to a stream from a server and writes that data to datastore in google app which is later on retrieved by other methods. How can i do that in google app engine i.e calling that method one time during the starting of app and having it running for unlimited time without affecting other thing...

how to show all method in <class 'google.appengine.api.users.User'>

i want to see the all method in how to get it thanks ...

gae error:AttributeError: 'NoneType' object has no attribute 'user_is_member'

class Thread(db.Model): members = db.StringListProperty() def user_is_member(self, user): return str(user) in self.members and thread = Thread.get(db.Key.from_path('Thread', int(id))) is_member = thread.user_is_member(user) but the error is : Traceback (most recent call last): File "D:\Program Files\Google\google_appeng...

Google App-Engine Java Filtering on more than 3 columns

public List<Orders> GetOrders(String email,String icode,String c1, String c2, String c3) { PersistenceManager pm = PMF.get().getPersistenceManager(); Query query = pm.newQuery(Orders.class); query.setFilter("Email == pEmail && ItemCode == pItemCode && Col1 == pCol1 && Col2 == pCol2 && Col3 == pCol3"...

Python Split usage

I'm cocking this up and it should be really simple but the value of sortdate is none (note im only doing this because converting a string to a date in Python is a bugger). DateToPass = str(self.request.get('startdate')) mybreak.startdate = DateToPass faf = DateToPass.split('-') sortdate = str(faf[2] + faf[1] + faf[0]) That should work...

Are there commerical companies using google appengine? is it stable for production?

Are there commerical companies using google appengine? is it stable for production? ...

Google App Engine - "java.lang.IllegalArgumentException: datastore transaction or write too big."

When calling DatastoreService.delete(keys) with 400 keys, I'm get this exception: java.lang.IllegalArgumentException: datastore transaction or write too big. I thought the limit on batch deletes was 500 so I am well under the limit. Am I missing something here? Thanks, Keyur ...

Workflow for App Engine

I'm about to start an App Engine project for the first time. Most likely with Python. I was wondering if anybody could give me a leg up by detailing their workflow when developing for it. What tools do you use to go from start to deployed? Did you do any app engine specific configurations to those tools? ...

google apspot xmpp send fail. is this bug?

JID jid = new JID("[email protected]"); //success with code SUCCESS JID jid = new JID("mycomponent.host.domain.com"); //send fail with code INVALID_ID ,but when i try send from gmail OR jabber to mycomponent.host.domain.com . it was a success.Is this a bug in google xmpp api? ...