problem when using deferred.defer()

26 views
Skip to first unread message

Aki Tanaka

unread,
Jun 12, 2014, 7:41:11 AM6/12/14
to kay-...@googlegroups.com
I use deferred.defer() following this tutorial http://www.gesource.jp/weblog/?p=3515


I got this error (PermanentTaskFailure: No module named werkzeug) every time i update my application.

  1. 2014-06-12 20:33:28.457 /_ah/queue/deferred 200 2454ms 0kb AppEngine-Google; (+http://code.google.com/appengine) module=default version=4
    See details
    0.1.0.2 - - [12/Jun/2014:04:33:28 -0700] "POST /_ah/queue/deferred HTTP/1.1" 200 84 "http://xxxx.appspot.com/xxx" "AppEngine-Google; (+http://code.google.com/appengine)" "xxxx.appspot.com" ms=2454 cpu_ms=0 cpm_usd=0.000009 queue_name=default task_name=9522964183559634855 pending_ms=358 app_engine_release=1.9.6 instance=00c61b117c63796e856d922c42dcefcd3dd5ed
  2. I 2014-06-12 20:33:28.139
    X-Appengine-Taskretrycount:0, X-Appengine-Tasketa:1402572805.7151, X-Appengine-Taskname:9522964183559634855, X-Appengine-Taskexecutioncount:0, X-Appengine-Queuename:default, X-Appengine-Current-Namespace:, X-Appengine-Country:ZZ
  3. E 2014-06-12 20:33:28.452
    Permanent failure attempting to execute task
    Traceback (most recent call last):
      File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/deferred/deferred.py", line 309, in post
        self.run_from_request()
      File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/deferred/deferred.py", line 304, in run_from_request
        run(self.request.body)
      File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/deferred/deferred.py", line 144, in run
        raise PermanentTaskFailure(e)
    PermanentTaskFailure: No module named werkzeug

Reply all
Reply to author
Forward
0 new messages