Code Monkey home page Code Monkey logo

Comments (3)

johnfelipe avatar johnfelipe commented on August 30, 2024

Hi again, please tell me steps for convert my moodle dump v2.0 to EDX
Tnks

from moodle2edx.

wildboardm avatar wildboardm commented on August 30, 2024

Hello! When I run your script I get error:
Converting moodle backup-moodle2-course2.mbz to edX /home/moodle/edx/ 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 "/usr/local/bin/moodle2edx", line 9, in <module> load_entry_point('moodle2edx==0.1.0', 'console_scripts', 'moodle2edx')() File "/home/moodle/src/moodle2edx/moodle2edx/main.py", line 551, in CommandLine clean_up_html=opts.clean_up_html, File "/home/moodle/src/moodle2edx/moodle2edx/main.py", line 66, in __init__ qdict = self.load_questions(mdir,qfn) File "/home/moodle/src/moodle2edx/moodle2edx/main.py", line 449, in load_questions moodq = etree.parse('%s/%s' % (dir,qfn)) File "src/lxml/lxml.etree.pyx", line 3427, in lxml.etree.parse (src/lxml/lxml.etree.c:85131) File "src/lxml/parser.pxi", line 1782, in lxml.etree._parseDocument (src/lxml/lxml.etree.c:124005) File "src/lxml/parser.pxi", line 1808, in lxml.etree._parseDocumentFromURL (src/lxml/lxml.etree.c:124374) File "src/lxml/parser.pxi", line 1712, in lxml.etree._parseDocFromFile (src/lxml/lxml.etree.c:123169) File "src/lxml/parser.pxi", line 1115, in lxml.etree._BaseParser._parseDocFromFile (src/lxml/lxml.etree.c:117533) File "src/lxml/parser.pxi", line 573, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:110510) File "src/lxml/parser.pxi", line 683, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:112276) File "src/lxml/parser.pxi", line 611, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:111078) IOError: Error reading file '/tmp/moodle2edxs_RPEf/questions.xml': failed to load external entity "/tmp/moodle2edxs_RPEf/questions.xml"

from moodle2edx.

pdpinch avatar pdpinch commented on August 30, 2024

Sorry, this code isn't currently supported.

Also, please don't hijack unrelated issues. If you start a new issue, and include the command you used that caused the stack trace, I may be able to give you some basic assistance.

from moodle2edx.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.