Skip to content

Instantly share code, notes, and snippets.

@antoviaque
Created January 16, 2014 17:02
Show Gist options
  • Select an option

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

Select an option

Save antoviaque/8458810 to your computer and use it in GitHub Desktop.
ItemNotFoundError: i4x://TestX/MENTOR-1/vertical/3d425f55b5d94c29ab33c477dee6a4fb
2014-01-16 11:54:10,608 ERROR 3837 [root] import_export.py:358 - There was an error exporting course i4x://TestX/MENTOR-1/course/now. 'MentoringBlockWithMixins' object has no attribute 'export_to_xml'
Traceback (most recent call last):
File "/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/views/import_export.py", line 325, in export_handler
export_to_xml(modulestore('direct'), contentstore(), old_location, root_dir, name, modulestore())
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/xml_exporter.py", line 108, in export_to_xml
draft_vertical.export_to_xml(draft_course_dir)
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/xml_module.py", line 368, in export_to_xml
xml_object = self.definition_to_xml(resource_fs)
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/seq_module.py", line 154, in definition_to_xml
etree.fromstring(child.export_to_xml(resource_fs)))
AttributeError: 'MentoringBlockWithMixins' object has no attribute 'export_to_xml'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment