Created
November 6, 2014 23:32
-
-
Save natea/3bb373f89b769f2e2bcd to your computer and use it in GitHub Desktop.
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
Nov 6 23:30:48 ip-172-31-17-166 [service_variant=cms][root][env:sandbox] ERROR [ip-172-31-17-166 664] [exceptions.py:9] - Uncaught exception from <class 'django.core.handlers.wsgi.WSGIHandler'> | |
Traceback (most recent call last): | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response | |
response = callback(request, *callback_args, **callback_kwargs) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 20, in _wrapped_view | |
return view_func(request, *args, **kwargs) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/utils/decorators.py", line 91, in _wrapped_view | |
response = view_func(request, *args, **kwargs) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/views/decorators/http.py", line 41, in inner | |
return func(request, *args, **kwargs) | |
File "/edx/app/edxapp/edx-platform/common/djangoapps/util/json_request.py", line 24, in parse_json_into_request | |
return view_function(request, *args, **kwargs) | |
File "/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/views/course.py", line 750, in settings_handler | |
'required_courses': required_courses or [] | |
File "/edx/app/edxapp/edx-platform/common/djangoapps/edxmako/shortcuts.py", line 143, in render_to_response | |
return HttpResponse(render_to_string(template_name, dictionary, context_instance, namespace), **kwargs) | |
File "/edx/app/edxapp/edx-platform/common/djangoapps/edxmako/shortcuts.py", line 130, in render_to_string | |
return template.render_unicode(**context_dictionary) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mako/template.py", line 452, in render_unicode | |
as_unicode=True) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mako/runtime.py", line 807, in _render | |
**_kwargs_for_callable(callable_, data)) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mako/runtime.py", line 839, in _render_context | |
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mako/runtime.py", line 865, in _exec_template | |
callable_(context, *args, **kwargs) | |
File "/tmp/mako_cms/base.html.py", line 253, in render_body | |
context['self'].content(**pageargs) | |
File "/tmp/mako_cms/settings.html.py", line 345, in render_content | |
if unicode(course.location.course_key) in context_course.required_courses: | |
TypeError: argument of type 'NoneType' is not iterable | |
Nov 6 23:30:48 ip-172-31-17-166 [service_variant=cms][django.request][env:sandbox] ERROR [ip-172-31-17-166 664] [base.py:215] - Internal Server Error: /settings/details/northshorelij/DR101/2014-1 | |
Traceback (most recent call last): | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response | |
response = callback(request, *callback_args, **callback_kwargs) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 20, in _wrapped_view | |
return view_func(request, *args, **kwargs) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/utils/decorators.py", line 91, in _wrapped_view | |
response = view_func(request, *args, **kwargs) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/views/decorators/http.py", line 41, in inner | |
return func(request, *args, **kwargs) | |
File "/edx/app/edxapp/edx-platform/common/djangoapps/util/json_request.py", line 24, in parse_json_into_request | |
return view_function(request, *args, **kwargs) | |
File "/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/views/course.py", line 750, in settings_handler | |
'required_courses': required_courses or [] | |
File "/edx/app/edxapp/edx-platform/common/djangoapps/edxmako/shortcuts.py", line 143, in render_to_response | |
return HttpResponse(render_to_string(template_name, dictionary, context_instance, namespace), **kwargs) | |
File "/edx/app/edxapp/edx-platform/common/djangoapps/edxmako/shortcuts.py", line 130, in render_to_string | |
return template.render_unicode(**context_dictionary) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mako/template.py", line 452, in render_unicode | |
as_unicode=True) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mako/runtime.py", line 807, in _render | |
**_kwargs_for_callable(callable_, data)) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mako/runtime.py", line 839, in _render_context | |
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mako/runtime.py", line 865, in _exec_template | |
callable_(context, *args, **kwargs) | |
File "/tmp/mako_cms/base.html.py", line 253, in render_body | |
context['self'].content(**pageargs) | |
File "/tmp/mako_cms/settings.html.py", line 345, in render_content | |
if unicode(course.location.course_key) in context_course.required_courses: | |
TypeError: argument of type 'NoneType' is not iterable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment