Re: [google-appengine] Background work with the deferred library

2011-06-04 Thread Robert Kluin
Hi Doug, This is probably happening because the function you're trying to defer is defined in the request handler. Move the function you want to defer to another module (a different python file) and import it from there. This limitation is mentioned in the deferred article (see the limitation

[google-appengine] Background work with the deferred library

2011-06-03 Thread Doug
I am having some problems with the deferred.py. When I try to run a stand-alone function (i.e. not a class method) such as: from google.appengine.ext import deferred def easything(n): print "easy %s" % n for thing in longlist: deferred.defer(easything, thing) I get this in the log: File