rst2latex do not work anymore
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-docutils (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: python-docutils
In Ubuntu 8.10 (Intrepid Ibex) python-docutils worked just fine, but after upgrading to 9.04 (Jaunty Jackalope) it does this:
% rst2latex --language=fi --report=5 --strip-comments --stylesheet=RST --graphicx-
Traceback (most recent call last):
File "/usr/bin/
from docutils.core import publish_cmdline, default_description
ImportError: No module named docutils.core
% rst2html --language=en --report=5 --toc-entry-
Traceback (most recent call last):
File "/usr/bin/
from docutils.core import publish_cmdline, default_description
ImportError: No module named docutils.core
% lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04
% apt-cache policy python-docutils
python-docutils:
Asennettu: 0.5-2ubuntu1
Ehdokas: 0.5-2ubuntu1
Versiotaulukko:
*** 0.5-2ubuntu1 0
100 /var/lib/
Maybe this helps, when debugging this:
If I give this command:
locate docutils | sort | less
It shows gazillion lines that say: ”/usr/lib/ python2. 5/site- packages/ docutils"
But if I gives this command (in zsh):
% whence -savc python
It says:/usr/ bin/X11/ python -> /usr/bin/python2.6 bin/python -> /usr/bin/python2.6
/usr/X11R6/
/usr/bin/python -> /usr/bin/python2.6
Maybe it should depend on python2.5 instead of plain python?