[Python-modules-team] Bug#595912: python-docutils: byte-compilation errors

Marc-Jano Knopp pub_br_debian.org at marc-jano.de
Tue Sep 7 13:42:49 UTC 2010


On Tue, 2010-09-07, at 15:33:40 (+0200), Jakub Wilk wrote:
> tags 595912 + moreinfo unreproducible
> thanks
> 
> * Josselin Mouette <joss at debian.org>, 2010-09-07, 15:12:
> >>Whenever I install or upgrade packages (aptitude install ...), this happens:
> >>
> >>--------- snip ---------
> >>Processing triggers for python-support ...
> >>Compiling /usr/lib/pymodules/python2.5/docutils/writers/latex2e/__init__.py ...
> >>  File "/usr/lib/pymodules/python2.5/docutils/writers/latex2e/__init__.py", line 0
> >>SyntaxError: ('unknown encoding: utf8', ('/usr/lib/pymodules/python2.5/docutils/writers/latex2e/__init__.py', 0, 0, None))
> >>
> >>Compiling /usr/lib/pymodules/python2.5/docutils/writers/manpage.py ...
> >>Sorry: LookupError: ("no codec search functions registered: can't find encoding",)
> 
> Which versions of python2.5 and python2.5-minimal do you have installed?

--------- snip ---------
$ apt-cache policy python2.5 python2.5-minimal
python2.5:
  Installed: 2.5.5-6
  Candidate: 2.5.5-6
  Version table:
     2.5.5-8 0
         50 http://ftp.de.debian.org/debian/ unstable/main amd64 Packages
 *** 2.5.5-6 0
        500 http://ftp.de.debian.org/debian/ testing/main amd64 Packages
        100 /var/lib/dpkg/status
python2.5-minimal:
  Installed: 2.5.5-6
  Candidate: 2.5.5-6
  Version table:
     2.5.5-8 0
         50 http://ftp.de.debian.org/debian/ unstable/main amd64 Packages
 *** 2.5.5-6 0
        500 http://ftp.de.debian.org/debian/ testing/main amd64 Packages
        100 /var/lib/dpkg/status
--------- snip ---------

Regards

  Marc-Jano





More information about the Python-modules-team mailing list