[Python-modules-team] Bug#586683: python-docutils: Broken with Python 2.6 -- ImportError: No module named _compat
Julian Andres Klode
jak at debian.org
Tue Jun 22 12:39:50 UTC 2010
On Tue, Jun 22, 2010 at 02:33:12PM +0200, Jakub Wilk wrote:
> * Julian Andres Klode <jak at debian.org>, 2010-06-22, 13:33:
> >>>Traceback (most recent call last):
> >>> File "setup.py", line 21, in <module>
> >>> from sphinx.setup_command import BuildDoc
> >>> File "/usr/lib/python2.6/dist-packages/sphinx/setup_command.py", line 20, in <module>
> >>> from sphinx.application import Sphinx
> >>> File "/usr/lib/python2.6/dist-packages/sphinx/application.py", line 20, in <module>
> >>> from docutils.parsers.rst import directives, roles
> >>> File "/usr/lib/python2.6/dist-packages/docutils/parsers/rst/__init__.py", line 75, in <module>
> >>> from docutils.parsers.rst import states
> >>> File "/usr/lib/python2.6/dist-packages/docutils/parsers/rst/states.py", line 110, in <module>
> >>> from docutils import nodes, statemachine, utils, urischemes
> >>> File "/usr/lib/python2.6/dist-packages/docutils/utils.py", line 18, in <module>
> >>> from docutils._compat import b
> >>>ImportError: No module named _compat
> >>
> >>What does
> >>
> >>dpkg -S /usr/lib/python2.6/dist-packages/docutils/utils.py
> >>
> >>say?
> >jak at hp:~$ dpkg -S /usr/lib/python2.6/dist-packages/docutils/utils.py
> >dpkg: /usr/lib/python2.6/dist-packages/docutils/utils.py not found.
>
> Is /usr/lib/python2.6/dist-packages/docutils/utils.py a symlink?
jak at hp:~$ stat /usr/lib/python2.6/dist-packages/docutils/utils.py
File: `/usr/lib/python2.6/dist-packages/docutils/utils.py' -> `/usr/share/pyshared/docutils/utils.py'
Size: 37 Blocks: 0 IO Block: 4096 symbolic link
Device: 801h/2049d Inode: 168051 Links: 1
Access: (0777/lrwxrwxrwx) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2009-11-29 17:22:49.724918582 +0100
Modify: 2009-11-29 17:22:49.724918582 +0100
Change: 2009-11-29 17:22:49.724918582 +0100
--
Julian Andres Klode - Debian Developer, Ubuntu Member
See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20100622/366ff32b/attachment.pgp>
More information about the Python-modules-team
mailing list