Created
August 9, 2016 14:44
-
-
Save wmdmark/f9327af8241b1aab1cc8a8797f49dbeb to your computer and use it in GitHub Desktop.
complete-default-step.txt
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
Traceback (most recent call last): | |
File "/home/cbweb/.virtualenvs/coursebook/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 132, in get_response | |
response = wrapped_callback(request, *callback_args, **callback_kwargs) | |
File "/home/cbweb/coursebook/pathwright/apps/web_api/private/resources/path/step/completion/views.py", line 80, in step_completion_router | |
return view(request, *args, **kwargs) | |
File "/home/cbweb/.virtualenvs/coursebook/local/lib/python2.7/site-packages/django/views/decorators/csrf.py", line 58, in wrapped_view | |
return view_func(*args, **kwargs) | |
File "/home/cbweb/.virtualenvs/coursebook/local/lib/python2.7/site-packages/django/views/generic/base.py", line 71, in view | |
return self.dispatch(request, *args, **kwargs) | |
File "/home/cbweb/.virtualenvs/coursebook/local/lib/python2.7/site-packages/rest_framework/views.py", line 466, in dispatch | |
response = self.handle_exception(exc) | |
File "/home/cbweb/.virtualenvs/coursebook/local/lib/python2.7/site-packages/rest_framework/views.py", line 463, in dispatch | |
response = handler(request, *args, **kwargs) | |
File "/home/cbweb/coursebook/pathwright/apps/web_api/private/resources/path/step/completion/views.py", line 108, in post | |
submit_response(step, self.request.user, post_data, files=self.request.data) | |
File "/home/cbweb/coursebook/pathwright/apps/course/src/progress.py", line 45, in submit_response | |
offering_item = step.schedule.default_schedule.items.get(sync_source_id=step.sync_source_id) | |
AttributeError: 'NoneType' object has no attribute 'items' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment