wakaru44 / capitulizer

un frontend para ver tv en internet
1 stars 0 forks source link

FIXED - Triggering a newPost event trhows exception #10

Closed wakaru44 closed 11 years ago

wakaru44 commented 11 years ago

Triggering a newPost event, Key: ag1zfmNhcGl0dWxpemVycg0LEgdlcGlzb2RlGAUM

Internal Server Error

The server has either erred or is incapable of performing the requested operation.

Traceback (most recent call last): File "/base/python27_runtime/python27_lib/versions/third_party/webapp2-2.5.1/webapp2.py", line 1536, in call rv = self.handle_exception(request, response, e) File "/base/python27_runtime/python27_lib/versions/third_party/webapp2-2.5.1/webapp2.py", line 1530, in call rv = self.router.dispatch(request, response) File "/base/python27_runtime/python27_lib/versions/third_party/webapp2-2.5.1/webapp2.py", line 1278, in default_dispatcher return route.handler_adapter(request, response) File "/base/python27_runtime/python27_lib/versions/third_party/webapp2-2.5.1/webapp2.py", line 1102, in call return handler.dispatch() File "/base/python27_runtime/python27_lib/versions/third_party/webapp2-2.5.1/webapp2.py", line 572, in dispatch return self.handle_exception(e, self.app.debug) File "/base/python27_runtime/python27_lib/versions/third_party/webapp2-2.5.1/webapp2.py", line 570, in dispatch return method(_args, *_kwargs) File "/base/data/home/apps/s~capitulizer/1.363432210333487870/task_newPost.py", line 78, in post raise Exception Exception

wakaru44 commented 11 years ago

The exception gives no clue about what is happening, because is badly declared. Its actually the way to retry the task, that is failing because there are no videos in the database yet.