Hello everyone!
Does anyone use this module for converting moodle courses into edx courses? →
When I run the script I get this error:
Converting moodle intro_to_stats.mbz to edX content-univx-course
gzip: stdin has more than one entry–rest ignored
tar: Child returned status 2
tar: Error is not recoverable: exiting now
Traceback (most recent call last):
File “/edx/app/edxapp/venvs/edxapp/bin/moodle2edx”, line 11, in
sys.exit(CommandLine())
File “/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/moodle2edx/main.py”, line 561, in CommandLine
clean_up_html=opts.clean_up_html,
File “/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/moodle2edx/main.py”, line 66, in init
qdict = self.load_questions(mdir,qfn)
File “/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/moodle2edx/main.py”, line 459, in load_questions
moodq = etree.parse(‘%s/%s’ % (dir,qfn))
File “src/lxml/lxml.etree.pyx”, line 3442, in lxml.etree.parse (src/lxml/lxml.etree.c:81716)
File “src/lxml/parser.pxi”, line 1811, in lxml.etree._parseDocument (src/lxml/lxml.etree.c:118635)
File “src/lxml/parser.pxi”, line 1837, in lxml.etree._parseDocumentFromURL (src/lxml/lxml.etree.c:118982)
File “src/lxml/parser.pxi”, line 1741, in lxml.etree._parseDocFromFile (src/lxml/lxml.etree.c:117894)
File “src/lxml/parser.pxi”, line 1138, in lxml.etree._BaseParser._parseDocFromFile (src/lxml/lxml.etree.c:112440)
File “src/lxml/parser.pxi”, line 595, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:105896)
File “src/lxml/parser.pxi”, line 706, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:107604)
File “src/lxml/parser.pxi”, line 633, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:106415)
IOError: Error reading file ‘/tmp/moodle2edxRcPcrB/questions.xml’: failed to load external entity “/tmp/moodle2edxRcPcrB/questions.xml”.
does another way exists to convert moodle course to edx??
Thank you in advance.