When I tried to use taskqueue to execute a task in local dev server, I encounter the said exception and the task simply fails to be executed.
WARNING 2016-01-08 01:16:41,722 main.py:135] handle 404
WARNING 2016-01-08 01:16:41,723 main.py:136] The resource could not be found.
Traceback (most recent call last):
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/webapp2-2.5.2/webapp2.py", line 1529, in __call__
rv = self.router.dispatch(request, response)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/webapp2-2.5.2/webapp2.py", line 1265, in default_dispatcher
route, args, kwargs = rv = self.match(request)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/webapp2-2.5.2/webapp2.py", line 1214, in default_matcher
raise exc.HTTPNotFound()
HTTPNotFound: The resource could not be found.
INFO 2016-01-08 01:16:41,787 module.py:794] app: "POST /_ah/queue/votecounter HTTP/1.1" 404 1218
WARNING 2016-01-08 01:16:41,788 taskqueue_stub.py:1977] Task task1 failed to execute. This task will retry in 0.100 seconds
Apparently the same code can run OK on the app engine server. How can I enable taskqueue in a local dev environment?