Skip to content

Instantly share code, notes, and snippets.

@hosamshahin
Created April 21, 2015 15:41
Show Gist options
  • Save hosamshahin/6560e2b77c95123d789a to your computer and use it in GitHub Desktop.
Save hosamshahin/6560e2b77c95123d789a to your computer and use it in GitHub Desktop.
edxapp@precise64:/edx/OpenDSAX$ make testXEDX
python tools/configure.py --edx config/testX.json
Configuring OpenDSA, using config/testX.json
Validating config/testX.json
Writing files to /edx/OpenDSAX/Books/testX/
Generating index.rst
Processing...
Sorting
Quicksort
Appendix
Glossary
Bibliography
Generating ToDo file...
Building textbook...
make[1]: Warning: File `Makefile' has modification time 6.1 s in the futuremake[1]: Entering directory `/edx/OpenDSAX/Books/testX'
sphinx-build -b html source oxl/
Making output directory...
Running Sphinx v1.1.3
Extension error:
Could not import extension rst2edx (exception: No module named xml)
make[1]: *** [html] Error 1
make[1]: Leaving directory `/edx/OpenDSAX/Books/testX'
Traceback (most recent call last):
File "tools/configure.py", line 442, in <module>
configure(args[0], options)
File "tools/configure.py", line 416, in configure
update_TOC(config.book_src_dir, config.book_dir + config.rel_book_output_path, module_chap_map)
File "/edx/OpenDSAX/tools/postprocessor.py", line 140, in update_TOC
update_index_html(dest_dir, sectnum)
File "/edx/OpenDSAX/tools/postprocessor.py", line 51, in update_index_html
with open(dest_dir + 'index.xml', 'r') as index_html_file:
IOError: [Errno 2] No such file or directory: u'/edx/OpenDSAX/Books/testX/oxl/index.xml'
make: *** [testXEDX] Error 1
edxapp@precise64:/edx/OpenDSAX$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment