Created
January 27, 2015 15:37
-
-
Save alsoicode/0263d251e3744227ba46 to your computer and use it in GitHub Desktop.
Celery task exception
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Environment: | |
Request Method: POST | |
Request URL: http://localhost:8000/poll/35f3cce8c344410b9ef6f2612e6c9cab/close/ | |
Django Version: 1.7.1 | |
Python Version: 3.4.0 | |
Installed Applications: | |
('django.contrib.admin', | |
'django.contrib.auth', | |
'django.contrib.contenttypes', | |
'django.contrib.sessions', | |
'django.contrib.messages', | |
'django.contrib.sites', | |
'django.contrib.staticfiles', | |
'adminsortable', | |
'compressor', | |
'djcelery', | |
'easy_thumbnails', | |
'localflavor', | |
'pagination', | |
'robots', | |
'sekizai', | |
'social.apps.django_app.default', | |
'storages', | |
'widget_tweaks', | |
'accounts', | |
'achievements', | |
'conversations', | |
'friends', | |
'icons', | |
'lib', | |
'notifications', | |
'polls', | |
'debug_toolbar') | |
Installed Middleware: | |
('django.contrib.sessions.middleware.SessionMiddleware', | |
'django.middleware.common.CommonMiddleware', | |
'django.middleware.csrf.CsrfViewMiddleware', | |
'django.contrib.auth.middleware.AuthenticationMiddleware', | |
'django.contrib.auth.middleware.SessionAuthenticationMiddleware', | |
'django.contrib.messages.middleware.MessageMiddleware', | |
'django.middleware.clickjacking.XFrameOptionsMiddleware') | |
Traceback: | |
File "/home/btaylor/python-virtualenvs/cassie/lib/python3.4/site-packages/django/core/handlers/base.py" in get_response | |
111. response = wrapped_callback(request, *callback_args, **callback_kwargs) | |
File "/home/btaylor/python-virtualenvs/cassie/lib/python3.4/site-packages/django/contrib/auth/decorators.py" in _wrapped_view | |
22. return view_func(request, *args, **kwargs) | |
File "/home/btaylor/django-projects/cassie_app/polls/views.py" in close_poll | |
66. job.apply_async() | |
File "/home/btaylor/python-virtualenvs/cassie/lib/python3.4/site-packages/celery/canvas.py" in apply_async | |
502. type = self.type | |
File "/home/btaylor/python-virtualenvs/cassie/lib/python3.4/site-packages/celery/canvas.py" in type | |
569. return self.app.tasks[self['task']] | |
File "/home/btaylor/python-virtualenvs/cassie/lib/python3.4/site-packages/celery/canvas.py" in app | |
560. return self._app or (self.tasks[0].app if self.tasks else current_app) | |
Exception Type: AttributeError at /poll/35f3cce8c344410b9ef6f2612e6c9cab/close/ | |
Exception Value: 'NoneType' object has no attribute 'app' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment