Skip to content

Instantly share code, notes, and snippets.

@antoviaque
Created December 15, 2014 10:09
Show Gist options
  • Select an option

  • Save antoviaque/c0d5327c3309bb2e4cbb to your computer and use it in GitHub Desktop.

Select an option

Save antoviaque/c0d5327c3309bb2e4cbb to your computer and use it in GitHub Desktop.
==> /edx/var/log/supervisor/cmstderr.log <==
2014-12-15 05:08:44,933 ERROR 32559 [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/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/course.py", line 235, in course_handler
return course_index(request, CourseKey.from_string(course_key_string))
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/edx-platform/cms/djangoapps/contentstore/views/course.py", line 466, in course_index
course_structure = _course_outline_json(request, course_module)
File "/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/views/course.py", line 275, in _course_outline_json
include_children_predicate=lambda xblock: not xblock.category == 'vertical'
File "/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/views/item.py", line 715, in create_xblock_info
include_children_predicate=include_children_predicate,
File "/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/views/item.py", line 899, in _create_xblock_child_info
) for child in xblock.get_children()
File "/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/views/item.py", line 715, in create_xblock_info
include_children_predicate=include_children_predicate,
File "/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/views/item.py", line 899, in _create_xblock_child_info
) for child in xblock.get_children()
File "/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/views/item.py", line 715, in create_xblock_info
include_children_predicate=include_children_predicate,
File "/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/views/item.py", line 899, in _create_xblock_child_info
) for child in xblock.get_children()
File "/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/views/item.py", line 732, in create_xblock_info
"edited_on": get_default_time_display(xblock.subtree_edited_on) if xblock.subtree_edited_on else None,
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/edit_info.py", line 38, in subtree_edited_on
return self.runtime.get_subtree_edited_on(self)
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/split_mongo/caching_descriptor_system.py", line 277, in get_subtree_edited_on
xblock.location.block_id, json_data, xblock.location.course_key
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/split_mongo/caching_descriptor_system.py", line 311, in _compute_subtree_edited_internal
self._compute_subtree_edited_internal(child, child_data, course_key)
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/split_mongo/caching_descriptor_system.py", line 309, in _compute_subtree_edited_internal
child_data = self.get_module_data(BlockKey(*child), course_key)
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/split_mongo/caching_descriptor_system.py", line 134, in get_module_data
raise ItemNotFoundError(block_key)
ItemNotFoundError: BlockKey(type=u'html', id=u'4d143f9dff85d7d00360')
2014-12-15 05:08:44,935 ERROR 32559 [django.request] base.py:213 - Internal Server Error: /course/course-v1:awefawef+awefawe+fawefawef
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/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/course.py", line 235, in course_handler
return course_index(request, CourseKey.from_string(course_key_string))
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/edx-platform/cms/djangoapps/contentstore/views/course.py", line 466, in course_index
course_structure = _course_outline_json(request, course_module)
File "/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/views/course.py", line 275, in _course_outline_json
include_children_predicate=lambda xblock: not xblock.category == 'vertical'
File "/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/views/item.py", line 715, in create_xblock_info
include_children_predicate=include_children_predicate,
File "/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/views/item.py", line 899, in _create_xblock_child_info
) for child in xblock.get_children()
File "/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/views/item.py", line 715, in create_xblock_info
include_children_predicate=include_children_predicate,
File "/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/views/item.py", line 899, in _create_xblock_child_info
) for child in xblock.get_children()
File "/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/views/item.py", line 715, in create_xblock_info
include_children_predicate=include_children_predicate,
File "/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/views/item.py", line 899, in _create_xblock_child_info
) for child in xblock.get_children()
File "/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/views/item.py", line 732, in create_xblock_info
"edited_on": get_default_time_display(xblock.subtree_edited_on) if xblock.subtree_edited_on else None,
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/edit_info.py", line 38, in subtree_edited_on
return self.runtime.get_subtree_edited_on(self)
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/split_mongo/caching_descriptor_system.py", line 277, in get_subtree_edited_on
xblock.location.block_id, json_data, xblock.location.course_key
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/split_mongo/caching_descriptor_system.py", line 311, in _compute_subtree_edited_internal
self._compute_subtree_edited_internal(child, child_data, course_key)
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/split_mongo/caching_descriptor_system.py", line 309, in _compute_subtree_edited_internal
child_data = self.get_module_data(BlockKey(*child), course_key)
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/split_mongo/caching_descriptor_system.py", line 134, in get_module_data
raise ItemNotFoundError(block_key)
ItemNotFoundError: BlockKey(type=u'html', id=u'4d143f9dff85d7d00360')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment