Did you find any solution? I need to export my libraries from Dogwood.3 and I have same error ;-(
El viernes, 1 de julio de 2016, 12:11:56 (UTC+2), Aparna P escribió: > > 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 > > -- You received this message because you are subscribed to the Google Groups "General Open edX discussion" group. To view this discussion on the web visit https://groups.google.com/d/msgid/edx-code/f1d10b39-5679-4734-b0c8-429fe6f2eb3b%40googlegroups.com.
