[Python-modules-team] Bug#379709: python-docutils: problems with the postinst script

Simon McVittie smcv at ianadd.pseudorandom.co.uk
Sat Jul 29 13:41:34 UTC 2006


On Tue, 25 Jul 2006 at 09:17:58 +0100, Colm G. Connolly wrote:
> Compiling /usr/lib/python2.4/site-packages/docutils/languages/ja.py ...
> Sorry: LookupError: ("no codec search functions registered: can't find encoding",)

Could you please confirm what version of python2.4 and python2.4-minimal
you have, if any? I suspect you have python2.4-minimal but no python2.4.

What I imagine has happened is: docutils relies on having a "full" version
of the Python runtime to compile its modules (it needs the utf-8 encoding);
the same is likely to be true for other modules. However, if the user has
python2.3 and python2.4-minimal but not python2.4, the infrastructure will
try to compile for both Python 2.3 and Python 2.4, causing the 2.4
compilation to fail.

I'll raise a bug against python-defaults.

	Simon




More information about the Python-modules-team mailing list