On Tue, 2010-09-07, at 16:10:43 (+0200), Jakub Wilk wrote:
> * Marc-Jano Knopp <pub_br_debian....@marc-jano.de>, 2010-09-07, 15:42:
> >>>>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
> [snip]
> >python2.5-minimal:
> > Installed: 2.5.5-6
> [snip]
> 
> Does running:
> 
> python2.5 -c 'import docutils.writers.latex2e'
> 
> trigger the same error?

No, instead it says:


-------- snip ---------
# python2.5 -c 'import docutils.writers.latex2e'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/pymodules/python2.5/docutils/writers/latex2e/__init__.py", 
line 1
SyntaxError: encoding problem: with BOM
-------- snip ---------


> If that's the case, could you please attach contents of
> /usr/lib/pymodules/python2.5/docutils/writers/latex2e/__init__.py ?

I uploaded it just in case it's still useful:

  http://pastebin.com/LhX5UR4v


Regards

  Marc-Jano



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to