Posts Tagged ‘appengine’

AppEngine filter command – fail

Sunday, September 20th, 2009

I’ve been using AppEngine, almost entirely using the GQL language to return my objects.  This is a bit of a curse, and now I’m playing with gaegene’s pagination lib, I’m having to look at why I did this.

I did things this way because I couldn’t get filter() to work.  I didn’t want to waste time finding out why, so I simply avoided it.  If you had to do the why on every command in GAE, you’d never complete anything.

Anyway, I’ve now found out why:

“The name and the operator must be separated by a space, as in: age >
GAE Docs

So my filter command:

messages.all.filter(‘board=’, board)

did not work, and I should have done this:

messages.all.filter(‘board =’, board)

Rarg.

App Engine Launcher on Windows

Monday, September 14th, 2009

We now have an App Engine Launcher for Windows.
I’ve just tried all morning to get it running.

I got each project appearing as a red line of text, disabled, with no enabled buttons, and no explanation.

The reason?

Eventually I worked out that the app.yaml file needed to be ANSI, not UTF-8. Fixed that, and it’s all good.