Hi!
On exporting a library(that was imported from
edx.org) onto Dogwood.3, following error was seen in /edx/var/log/cms/edx.log:
Traceback (most recent call last):
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/utils/decorators.py", line 145, in inner
return func(*args, **kwargs)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/utils/decorators.py", line 145, in inner
return func(*args, **kwargs)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/utils/decorators.py", line 110, 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 22, 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 45, in inner
return func(request, *args, **kwargs)
File "/edx/app/edxapp/edx-platform/common/djangoapps/util/views.py", line 41, in inner
response = view_func(request, *args, **kwargs)
File "/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/views/import_export.py", line 505, 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 402, in create_export_tarball
export_library_to_xml(modulestore(), contentstore(), course_key, root_dir, name)
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/xml_exporter.py", line 355, in export_library_to_xml
LibraryExportManager(modulestore, contentstore, library_key, root_dir, library_dir).export()
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/xml_exporter.py", line 170, in export
courselike.add_xml_to_node(root)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/xblock/mixins.py", line 484, in add_xml_to_node
self._add_field(node, field_name, field)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/xblock/mixins.py", line 531, in _add_field
node.set(field_name, value)
File "lxml.etree.pyx", line 744, in lxml.etree._Element.set (src/lxml/lxml.etree.c:44335)
File "apihelpers.pxi", line 554, in lxml.etree._setAttributeValue (src/lxml/lxml.etree.c:19531)
File "apihelpers.pxi", line 1391, in lxml.etree._utf8 (src/lxml/lxml.etree.c:27100)
TypeError: Argument must be bytes or unicode, got 'NoneType'
Did anyone encounter this?
Aparna