Skip to content

Instantly share code, notes, and snippets.

@mtyaka
Created September 28, 2015 14:13
Show Gist options
  • Save mtyaka/ada83826e3310c79c20c to your computer and use it in GitHub Desktop.
Save mtyaka/ada83826e3310c79c20c to your computer and use it in GitHub Desktop.
2015-09-28 10:12:26,833 ERROR 10989 [django.request] base.py:213 - Internal Server Error: /courses/edX/DemoX/Demo_Course/xblock/i4x:;_;_edX;_DemoX;_problem-builder;_728c2be9a24d435492d71a55970eec24/handler/submit
Traceback (most recent call last):
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 109, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/edx/app/edxapp/edx-platform/lms/djangoapps/courseware/module_render.py", line 945, in handle_xblock_callback
return _invoke_xblock_handler(request, course_id, usage_id, handler, suffix, course=course)
File "/edx/app/edxapp/edx-platform/lms/djangoapps/courseware/module_render.py", line 1064, in _invoke_xblock_handler
resp = instance.handle(handler, req, suffix)
File "/edx/app/edxapp/venvs/edxapp/src/xblock/xblock/mixins.py", line 86, in handle
return self.runtime.handle(self, handler_name, request, suffix)
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/x_module.py", line 1274, in handle
return super(MetricsMixin, self).handle(block, handler_name, request, suffix=suffix)
File "/edx/app/edxapp/venvs/edxapp/src/xblock/xblock/runtime.py", line 1025, in handle
results = handler(request, suffix)
File "/edx/app/edxapp/venvs/edxapp/src/xblock/xblock/mixins.py", line 65, in wrapper
response = func(self, request_json, suffix)
File "/edx/problem-builder/problem_builder/mentoring.py", line 616, in submit
return self.handle_assessment_submit(submissions, suffix)
File "/edx/problem-builder/problem_builder/mentoring.py", line 714, in handle_assessment_submit
review_tips = self.review_tips
File "/edx/problem-builder/problem_builder/mentoring.py", line 513, in review_tips
tip_html = self.runtime.replace_jump_to_id_urls(tip_html)
File "/edx/app/edxapp/edx-platform/common/djangoapps/static_replace/__init__.py", line 74, in replace_jump_to_id_urls
return re.sub(_url_replace_regex('/jump_to_id/'), replace_jump_to_id_url, text)
File "/edx/app/edxapp/venvs/edxapp/lib/python2.7/re.py", line 151, in sub
return _compile(pattern, flags).sub(repl, string, count)
TypeError: expected string or buffer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment