Re: [google-appengine] Python 2.7, threadsafe: true, and deferred.defer

2011-10-13 Thread Emlyn
> > What SDK version are you using? > > Cheers, > Brian > I was using 1.5.2 . Using 1.5.5 fixed it. I'm an idiot. Thanks ;-) -- Emlyn http://my.syyn.cc - Synchonise Google+, Facebook, WordPress and Google Buzz posts, comments and all. http://point7.wordpress.com - My blog Find me on Facebook an

Re: [google-appengine] Python 2.7, threadsafe: true, and deferred.defer

2011-10-13 Thread Brian Quinlan
On Fri, Oct 14, 2011 at 3:07 PM, Emlyn wrote: >> >> You are specifying a CGI script here. If you want to use CGI then set >> threadsafe to "no". >> >> Cheers, >> Brian > > > Ah, gotcha. A fog of deep misunderstanding is slowly lifting from my > brain, possibly. I could still have some Dunning-Krug

Re: [google-appengine] Python 2.7, threadsafe: true, and deferred.defer

2011-10-13 Thread Emlyn
> > You are specifying a CGI script here. If you want to use CGI then set > threadsafe to "no". > > Cheers, > Brian Ah, gotcha. A fog of deep misunderstanding is slowly lifting from my brain, possibly. I could still have some Dunning-Kruger going, so here's my next attempt: app.yaml: --- applica

Re: [google-appengine] Python 2.7, threadsafe: true, and deferred.defer

2011-10-13 Thread Brian Quinlan
On Fri, Oct 14, 2011 at 1:48 PM, Emlyn wrote: > app.yaml: > --- > application: emlynoregan > version: 1 > runtime: python27 > api_version: 1 > threadsafe: true > > > builtins: > - deferred: on > > handlers: > - url: /.* >  script: main.py You are specifying a CGI script here. If you want to use C

Re: [google-appengine] Python 2.7, threadsafe: true, and deferred.defer

2011-10-13 Thread Emlyn
app.yaml: --- application: emlynoregan version: 1 runtime: python27 api_version: 1 threadsafe: true builtins: - deferred: on handlers: - url: /.* script: main.py --- Upload via appcfg.py: --- Application: emlynoregan; version: 1 Host: appengine.google.com Starting update of app: emlynoregan,

Re: [google-appengine] Python 2.7, threadsafe: true, and deferred.defer

2011-10-13 Thread Greg Darke (Google)
Have you specified 'runtime: python' or 'runtime: python27'? If you are using 'runtime: python', then setting 'threadsafe: true' is not supported. On 14 October 2011 00:59, Emlyn wrote: > I am using the builtin handler in app.yaml > > On Oct 14, 2011 12:25 AM, "Greg Darke" wrote: >> >> On Fri,

Re: [google-appengine] Python 2.7, threadsafe: true, and deferred.defer

2011-10-13 Thread Greg Darke
On Fri, Oct 14, 2011 at 12:10:09AM +1030, Emlyn wrote: > I'm trying to give python 2.7 a go, with an app that uses > deferred.defer. I'm getting this error when I try to upload it: > > Error 400: --- begin server output --- > Error when loading application configuration: > Invalid object: > Thread

[google-appengine] Python 2.7, threadsafe: true, and deferred.defer

2011-10-13 Thread Emlyn
I'm trying to give python 2.7 a go, with an app that uses deferred.defer. I'm getting this error when I try to upload it: Error 400: --- begin server output --- Error when loading application configuration: Invalid object: Threadsafe cannot be enabled with CGI handler: $PYTHON_LIB/google/appengine