Skip to content

Instantly share code, notes, and snippets.

@mtyaka
Created February 6, 2015 17:59
Show Gist options
  • Save mtyaka/0cd72b8e328943613c1a to your computer and use it in GitHub Desktop.
Save mtyaka/0cd72b8e328943613c1a to your computer and use it in GitHub Desktop.
2015-02-06 17:59:02,842 ERROR 22551 [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 109, in get_response
response = callback(request, *callback_args, **callback_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/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/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/item.py", line 220, in xblock_view_handler
fragment = xblock.render(STUDIO_VIEW)
File "/edx/app/edxapp/venvs/edxapp/src/xblock/xblock/core.py", line 260, in render
return self.runtime.render(self, view, context)
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/x_module.py", line 1193, in render
return super(DescriptorSystem, self).render(block, view_name, context)
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/x_module.py", line 1054, in render
return super(MetricsMixin, self).render(block, view_name, context=context)
File "/edx/app/edxapp/venvs/edxapp/src/xblock/xblock/runtime.py", line 586, in render
frag = view_fn(context)
File "/edx/app/edxapp/venvs/edxapp/src/xblock-leaderboard/leaderboards/grade_leaderboard.py", line 139, in studio_view
for child_id in root_block.children:
AttributeError: 'GradeLeaderboardXBlockWithMixins' object has no attribute 'children'
2015-02-06 17:59:02,853 ERROR 22551 [django.request] base.py:213 - Internal Server Error: /xblock/i4x://edX/DemoX/grade_leaderboard/942061b83a954550b789f1ba8e4d72f9/studio_view
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/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/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/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/item.py", line 220, in xblock_view_handler
fragment = xblock.render(STUDIO_VIEW)
File "/edx/app/edxapp/venvs/edxapp/src/xblock/xblock/core.py", line 260, in render
return self.runtime.render(self, view, context)
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/x_module.py", line 1193, in render
return super(DescriptorSystem, self).render(block, view_name, context)
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/x_module.py", line 1054, in render
return super(MetricsMixin, self).render(block, view_name, context=context)
File "/edx/app/edxapp/venvs/edxapp/src/xblock/xblock/runtime.py", line 586, in render
frag = view_fn(context)
File "/edx/app/edxapp/venvs/edxapp/src/xblock-leaderboard/leaderboards/grade_leaderboard.py", line 139, in studio_view
for child_id in root_block.children:
AttributeError: 'GradeLeaderboardXBlockWithMixins' object has no attribute 'children'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment