retitle 595912 python-docutils: byte-compilation errors
reassign 595912 python-docutils
thanks

Le mardi 07 septembre 2010 à 11:08 +0200, Marc-Jano Knopp a écrit :
> 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",)
> --------- snip ---------

Either way this is a bug in the package shipping those files.

> Interestingly enough, aptitude's exit code is 0.

It’s because such errors are ignored by python-support.

Cheers,
-- 
 .''`.
: :' :     “You would need to ask a lawyer if you don't know
`. `'       that a handshake of course makes a valid contract.”
  `-        --  J???rg Schilling


_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/python-modules-team

Reply via email to