Running the edX Developer Stack: Error on running paver lms

6.2k views Asked by At

I am following edx tutorial to run devstack(from http://edx-installing-configuring-and-running.readthedocs.org/en/latest/devstack/run_devstack.html#default-accounts-on-devstack) I am getting an error while running command "paver lms" .

Error is as follow :

edxapp@precise64:~/edx-platform$ paver devstack lms
---> pavelib.servers.devstack
---> pavelib.prereqs.install_prereqs
---> pavelib.assets.update_assets
---> pavelib.prereqs.install_ruby_prereqs
---> pavelib.prereqs.install_node_prereqs
python manage.py lms --settings=devstack preprocess_assets
Traceback (most recent call last):
  File "manage.py", line 15, in <module>
    from safe_lxml import defuse_xml_libs
ImportError: No module named safe_lxml

Captured Task Output:
---------------------

---> pavelib.servers.devstack
---> pavelib.prereqs.install_prereqs
---> pavelib.assets.update_assets
---> pavelib.prereqs.install_ruby_prereqs
---> pavelib.prereqs.install_node_prereqs
python manage.py lms --settings=devstack preprocess_assets

Build failed running pavelib.servers.devstack: Subprocess return code: 1

Please guide me what needs to be done to run the command.

1

There are 1 answers

2
itzMEonTV On

You have to run

paver install_prereqs
paver update_assets lms --settings=devstack
paver update_assets studio/cms --settings=devstack

otherwise install requirements mannually

add following to the file requirements/edx/local.txt and rerun the above commands

-e common/lib/capa
-e common/lib/chem
-e common/lib/dogstats
-e common/lib/safe_lxml
-e common/lib/sandbox-packages
-e common/lib/symmath
-e common/lib/xmodule

Please refer paver