Error while generating the documentation

Bug #320253 reported by Nikola
2
Affects Status Importance Assigned to Milestone
openWNS-Documentation
Fix Committed
Undecided
Unassigned

Bug Description

After running ./playground docu I get the following error:

Generating C++ examples for /home/nirangor/project/myOpenWNS/tests/system/wifimac-tests
Generating Python examples for /home/nirangor/project/myOpenWNS/tests/system/wifimac-tests
Cleaning...
rm -rf buildDevelopersGuide/*
rm -rf buildUsersGuide/*
Generating HTML Developers Guide
mkdir -p buildDevelopersGuide/html buildDevelopersGuide/doctrees
PYTHONPATH=$PYTHONPATH:./:./toolchain ./toolchain/sphinx-build -b html -d buildDevelopersGuide/doctrees developersGuide buildDevelopersGuide/html
Traceback (most recent call last):
  File "./toolchain/sphinx-build", line 5, in <module>
    from pkg_resources import load_entry_point
ImportError: No module named pkg_resources
make: *** [html] Error 1

Revision history for this message
Nikola (nkz) wrote :

So problem gets solved after installing these packages:

python-pkg-resources
texlive-latex-base
texlive-latex-extra
texlive-latex-recommended
texlive-fonts-recommended

Best regards,
Nikola

Revision history for this message
Daniel Bültmann (daniel.bueltmann) wrote :

Dear Nikola,

Thanks a lot for your patience and testing.

To permanently fix this and provide users with a better feedback it would be beneficial to check these prerequisites before executing the playground.py docu command. I don't think we should add these packages to the official dependency list, because most of the people will only download the latest official documentation from the website and will not build it on their own.

Does anybody have an idea how to implement a check in the docu command to test if the prerequisites above are met?

Best Regards,
  Daniel

Changed in openwns-documentation:
status: New → Incomplete
Changed in openwns-documentation:
status: Incomplete → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.