Created
July 7, 2015 15:56
-
-
Save bdero/515b355b87b5e98d3b76 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
2015-07-07 11:51:18,758 ERROR 5349 [contentstore.views.import_export] import_export.py:381 - There was an error exporting course-v1:xcvb+xcvb+xcvb | |
Traceback (most recent call last): | |
File "/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/views/import_export.py", line 374, in create_export_tarball | |
export_course_to_xml(modulestore(), contentstore(), course_module.id, root_dir, name) | |
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/xml_exporter.py", line 350, in export_course_to_xml | |
CourseExportManager(modulestore, contentstore, course_key, root_dir, course_dir).export() | |
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/xml_exporter.py", line 171, in export | |
courselike.add_xml_to_node(root) | |
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/xml_module.py", line 549, in add_xml_to_node | |
super(XmlParserMixin, self).add_xml_to_node(node) # pylint: disable=bad-super-call | |
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/x_module.py", line 1047, in add_xml_to_node | |
xml_string = self.export_to_xml(self.runtime.export_fs) | |
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/xml_module.py", line 538, in export_to_xml | |
super(XmlDescriptor, self).add_xml_to_node(node) | |
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/xml_module.py", line 412, in add_xml_to_node | |
xml_object = self.definition_to_xml(self.runtime.export_fs) | |
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/course_module.py", line 1065, in definition_to_xml | |
xml_object = super(CourseDescriptor, self).definition_to_xml(resource_fs) | |
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/seq_module.py", line 182, in definition_to_xml | |
self.runtime.add_block_as_child_node(child, xml_object) | |
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/x_module.py", line 1425, in add_block_as_child_node | |
block.add_xml_to_node(child) | |
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/xml_module.py", line 549, in add_xml_to_node | |
super(XmlParserMixin, self).add_xml_to_node(node) # pylint: disable=bad-super-call | |
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/x_module.py", line 1047, in add_xml_to_node | |
xml_string = self.export_to_xml(self.runtime.export_fs) | |
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/xml_module.py", line 538, in export_to_xml | |
super(XmlDescriptor, self).add_xml_to_node(node) | |
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/xml_module.py", line 412, in add_xml_to_node | |
xml_object = self.definition_to_xml(self.runtime.export_fs) | |
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/seq_module.py", line 182, in definition_to_xml | |
self.runtime.add_block_as_child_node(child, xml_object) | |
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/x_module.py", line 1425, in add_block_as_child_node | |
block.add_xml_to_node(child) | |
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/xml_module.py", line 549, in add_xml_to_node | |
super(XmlParserMixin, self).add_xml_to_node(node) # pylint: disable=bad-super-call | |
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/x_module.py", line 1047, in add_xml_to_node | |
xml_string = self.export_to_xml(self.runtime.export_fs) | |
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/xml_module.py", line 538, in export_to_xml | |
super(XmlDescriptor, self).add_xml_to_node(node) | |
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/xml_module.py", line 412, in add_xml_to_node | |
xml_object = self.definition_to_xml(self.runtime.export_fs) | |
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/seq_module.py", line 182, in definition_to_xml | |
self.runtime.add_block_as_child_node(child, xml_object) | |
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/x_module.py", line 1425, in add_block_as_child_node | |
block.add_xml_to_node(child) | |
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/xml_module.py", line 412, in add_xml_to_node | |
xml_object = self.definition_to_xml(self.runtime.export_fs) | |
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/vertical_block.py", line 111, in definition_to_xml | |
self.runtime.add_block_as_child_node(child, xml_object) | |
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/x_module.py", line 1425, in add_block_as_child_node | |
block.add_xml_to_node(child) | |
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/xml_module.py", line 549, in add_xml_to_node | |
super(XmlParserMixin, self).add_xml_to_node(node) # pylint: disable=bad-super-call | |
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/x_module.py", line 1047, in add_xml_to_node | |
xml_string = self.export_to_xml(self.runtime.export_fs) | |
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/xml_module.py", line 538, in export_to_xml | |
super(XmlDescriptor, self).add_xml_to_node(node) | |
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/xml_module.py", line 412, in add_xml_to_node | |
xml_object = self.definition_to_xml(self.runtime.export_fs) | |
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/raw_module.py", line 37, in definition_to_xml | |
raise SerializationError(self.location, msg) | |
SerializationError: Unable to create xml for module block-v1:xcvb+xcvb+xcvb+type@problem+block@4fd3caf1d5f04a0d9d46dfe682e65ba9. Context: 'l></problem>' | |
2015-07-07 11:51:18,782 ERROR 5349 [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 103, in get_response | |
response = middleware_method(request, callback, callback_args, callback_kwargs) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/debug_toolbar/middleware.py", line 77, in process_view | |
response = panel.process_view(request, view_func, view_args, view_kwargs) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/debug_toolbar/panels/profiling.py", line 134, in process_view | |
return self.profiler.runcall(view_func, *args, **view_kwargs) | |
File "/usr/lib/python2.7/cProfile.py", line 149, in runcall | |
return func(*args, **kw) | |
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/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/views/decorators/http.py", line 41, in inner | |
return func(request, *args, **kwargs) | |
File "/edx/app/edxapp/edx-platform/common/djangoapps/util/views.py", line 40, in inner | |
response = view_func(request, *args, **kwargs) | |
File "/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/views/import_export.py", line 476, in export_handler | |
tarball = create_export_tarball(courselike_module, course_key, context) | |
File "/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/views/import_export.py", line 386, in create_export_tarball | |
failed_item = modulestore().get_item(exc.location) | |
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/mixed.py", line 90, in inner | |
retval = func(field_decorator=strip_key_collection, *args, **kwargs) | |
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/mixed.py", line 234, in get_item | |
return store.get_item(usage_key, depth, **kwargs) | |
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/split_mongo/split_draft.py", line 261, in get_item | |
return super(DraftVersioningModuleStore, self).get_item(usage_key, depth=depth, **kwargs) | |
File "<string>", line 2, in get_item | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/contracts/main.py", line 266, in contracts_checker | |
result = function_(*args, **kwargs) | |
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/split_mongo/split.py", line 1045, in get_item | |
items = self._load_items(course, [BlockKey.from_usage_key(usage_key)], depth, **kwargs) | |
File "<string>", line 2, in _load_items | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/contracts/main.py", line 266, in contracts_checker | |
result = function_(*args, **kwargs) | |
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/split_mongo/split.py", line 763, in _load_items | |
return [runtime.load_item(block_key, course_entry, **kwargs) for block_key in block_keys] | |
File "<string>", line 2, in _load_item | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/contracts/main.py", line 266, in contracts_checker | |
result = function_(*args, **kwargs) | |
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/split_mongo/caching_descriptor_system.py", line 127, in _load_item | |
block_data = self.get_module_data(block_key, course_key) | |
File "<string>", line 2, in get_module_data | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/contracts/main.py", line 266, in contracts_checker | |
result = function_(*args, **kwargs) | |
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/split_mongo/caching_descriptor_system.py", line 148, in get_module_data | |
raise ItemNotFoundError(block_key) | |
ItemNotFoundError: BlockKey(type=u'problem', id=u'4fd3caf1d5f04a0d9d46dfe682e65ba9') | |
2015-07-07 11:51:18,783 ERROR 5349 [django.request] base.py:213 - Internal Server Error: /export/course-v1:xcvb+xcvb+xcvb | |
Traceback (most recent call last): | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 103, in get_response | |
response = middleware_method(request, callback, callback_args, callback_kwargs) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/debug_toolbar/middleware.py", line 77, in process_view | |
response = panel.process_view(request, view_func, view_args, view_kwargs) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/debug_toolbar/panels/profiling.py", line 134, in process_view | |
return self.profiler.runcall(view_func, *args, **view_kwargs) | |
File "/usr/lib/python2.7/cProfile.py", line 149, in runcall | |
return func(*args, **kw) | |
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/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/views/decorators/http.py", line 41, in inner | |
return func(request, *args, **kwargs) | |
File "/edx/app/edxapp/edx-platform/common/djangoapps/util/views.py", line 40, in inner | |
response = view_func(request, *args, **kwargs) | |
File "/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/views/import_export.py", line 476, in export_handler | |
tarball = create_export_tarball(courselike_module, course_key, context) | |
File "/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/views/import_export.py", line 386, in create_export_tarball | |
failed_item = modulestore().get_item(exc.location) | |
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/mixed.py", line 90, in inner | |
retval = func(field_decorator=strip_key_collection, *args, **kwargs) | |
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/mixed.py", line 234, in get_item | |
return store.get_item(usage_key, depth, **kwargs) | |
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/split_mongo/split_draft.py", line 261, in get_item | |
return super(DraftVersioningModuleStore, self).get_item(usage_key, depth=depth, **kwargs) | |
File "<string>", line 2, in get_item | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/contracts/main.py", line 266, in contracts_checker | |
result = function_(*args, **kwargs) | |
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/split_mongo/split.py", line 1045, in get_item | |
items = self._load_items(course, [BlockKey.from_usage_key(usage_key)], depth, **kwargs) | |
File "<string>", line 2, in _load_items | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/contracts/main.py", line 266, in contracts_checker | |
result = function_(*args, **kwargs) | |
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/split_mongo/split.py", line 763, in _load_items | |
return [runtime.load_item(block_key, course_entry, **kwargs) for block_key in block_keys] | |
File "<string>", line 2, in _load_item | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/contracts/main.py", line 266, in contracts_checker | |
result = function_(*args, **kwargs) | |
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/split_mongo/caching_descriptor_system.py", line 127, in _load_item | |
block_data = self.get_module_data(block_key, course_key) | |
File "<string>", line 2, in get_module_data | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/contracts/main.py", line 266, in contracts_checker | |
result = function_(*args, **kwargs) | |
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/split_mongo/caching_descriptor_system.py", line 148, in get_module_data | |
raise ItemNotFoundError(block_key) | |
ItemNotFoundError: BlockKey(type=u'problem', id=u'4fd3caf1d5f04a0d9d46dfe682e65ba9') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, do you know what's the problem exactly. I encountered the similar problem also.