Skip to content

Instantly share code, notes, and snippets.

@valera-rozuvan
Created April 30, 2014 10:21
Show Gist options
  • Select an option

  • Save valera-rozuvan/648e01e52512ef1a5251 to your computer and use it in GitHub Desktop.

Select an option

Save valera-rozuvan/648e01e52512ef1a5251 to your computer and use it in GitHub Desktop.
Error on grader handler
[30/Apr/2014 06:20:31] "POST /preview/xblock/i4x:;_;_private;_01;_video;_f02ecbdb91c54705af02f67b784c624d/handler/xmodule_handler/save_user_state HTTP/1.1" 200 17
2014-04-30 06:20:52,224 ERROR 4611 [contentstore.views.preview] preview.py:75 - error processing ajax call
Traceback (most recent call last):
File "/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/views/preview.py", line 59, in preview_handler
resp = instance.handle(handler, req, suffix)
File "/edx/app/edxapp/venvs/edxapp/src/xblock/xblock/core.py", line 284, 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 960, 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 643, in handle
results = handler(request, suffix)
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/video_module/video_handlers.py", line 304, in grade_handler
if grader_name not in self.active_graders:
AttributeError: 'VideoModuleWithMixins' object has no attribute 'active_graders'
2014-04-30 06:20:52,343 ERROR 4611 [root] 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/edx-platform/cms/djangoapps/contentstore/views/preview.py", line 59, in preview_handler
resp = instance.handle(handler, req, suffix)
File "/edx/app/edxapp/venvs/edxapp/src/xblock/xblock/core.py", line 284, 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 960, 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 643, in handle
results = handler(request, suffix)
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/video_module/video_handlers.py", line 304, in grade_handler
if grader_name not in self.active_graders:
AttributeError: 'VideoModuleWithMixins' object has no attribute 'active_graders'
2014-04-30 06:20:52,391 ERROR 4611 [django.request] base.py:215 - Internal Server Error: /preview/xblock/i4x:;_;_private;_01;_video;_f02ecbdb91c54705af02f67b784c624d/handler/grade_handler
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/edx-platform/cms/djangoapps/contentstore/views/preview.py", line 59, in preview_handler
resp = instance.handle(handler, req, suffix)
File "/edx/app/edxapp/venvs/edxapp/src/xblock/xblock/core.py", line 284, 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 960, 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 643, in handle
results = handler(request, suffix)
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/video_module/video_handlers.py", line 304, in grade_handler
if grader_name not in self.active_graders:
AttributeError: 'VideoModuleWithMixins' object has no attribute 'active_graders'
[30/Apr/2014 06:20:52] "POST /preview/xblock/i4x:;_;_private;_01;_video;_f02ecbdb91c54705af02f67b784c624d/handler/grade_handler HTTP/1.1" 500 30673
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment