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

Colm Connolly colmconn at gmail.com
Mon Jul 31 09:06:15 UTC 2006

Hi Simon,

This is an excerpt from dpkg -l '*python2.[34]*'
ii  python2.3                            2.3.5-14 
un  python2.3-minimal                    <none> 
un  python2.4                            <none> 
ii  python2.4-minimal                    2.4.3-7 

# aptitude install python2.4
followed by 
# aptitude install python-docutils

yields a complete install with no configuration errors.
I had previously purged python-docutils to eliminate errors on every aptitude upgrade

On 29/07/06, Simon McVittie <smcv at ianadd.pseudorandom.co.uk> wrote:
> 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