Your message dated Mon, 07 Dec 2009 22:33:13 +0000
with message-id <[email protected]>
and subject line Bug#374957: fixed in python-docutils 0.6-1
has caused the Debian Bug report #374957,
regarding cannot handle UTF-8-encoded embedded stylesheets
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
374957: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=374957
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-docutils
Version: 0.4-1
Severity: normal
With the docutils default to embed stylesheets, if the stylesheet
I provide and pass in to rst2html via the --stylesheet= option is
UTF-8-encoded, docutils dies:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 100:
ordinal not in range(128)
The specified output encoding (utf-8) cannot
handle all of the output.
Try setting "--output-encoding-error-handler" to
* "xmlcharrefreplace" (for HTML & XML output);
Traceback (most recent call last):
File "/usr/bin/rst2html", line 25, in ?
publish_cmdline(writer_name='html', description=description)
File "/usr/lib/site-python/docutils/core.py", line 335, in publish_cmdline
config_section=config_section, enable_exit_status=enable_exit_status)
File "/usr/lib/site-python/docutils/core.py", line 217, in publish
self.report_Exception(error)
File "/usr/lib/site-python/docutils/core.py", line 256, in report_Exception
self.report_UnicodeError(error)
File "/usr/lib/site-python/docutils/core.py", line 285, in
report_UnicodeError
sys.stderr.write(
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 0:
ordinal not in range(128)
Passing --link-stylesheet fixes the issue. Setting
@charset "utf-8";
in the first line does not help.
I would suggest fixing this by explicitly declaring the content
encoding for embedded stylesheets, unless the parent document is
already utf-8 (which it is in my case).
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.16-2-xen-amd64-k8
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Versions of packages python-docutils depends on:
ii python 2.3.5-10 An interactive high-level object-o
ii python2.4-docutils 0.4-1 Dependency package for python-docu
python-docutils recommends no packages.
-- no debconf information
--
Please do not send copies of list mail to me; I read the list!
.''`. martin f. krafft <[email protected]>
: :' : proud Debian developer and author: http://debiansystem.info
`. `'`
`- Debian - when you have better things to do than fixing a system
signature.asc
Description: Digital signature (GPG/PGP)
--- End Message ---
--- Begin Message ---
Source: python-docutils
Source-Version: 0.6-1
We believe that the bug you reported is fixed in the latest version of
python-docutils, which is due to be installed in the Debian FTP archive:
python-docutils_0.6-1.debian.tar.gz
to main/p/python-docutils/python-docutils_0.6-1.debian.tar.gz
python-docutils_0.6-1.dsc
to main/p/python-docutils/python-docutils_0.6-1.dsc
python-docutils_0.6-1_all.deb
to main/p/python-docutils/python-docutils_0.6-1_all.deb
python-docutils_0.6.orig.tar.gz
to main/p/python-docutils/python-docutils_0.6.orig.tar.gz
python-roman_0.6-1_all.deb
to main/p/python-docutils/python-roman_0.6-1_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Simon McVittie <[email protected]> (supplier of updated python-docutils package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 07 Dec 2009 21:34:40 +0000
Source: python-docutils
Binary: python-docutils python-roman
Architecture: source all
Version: 0.6-1
Distribution: unstable
Urgency: low
Maintainer: Debian Python Modules Team
<[email protected]>
Changed-By: Simon McVittie <[email protected]>
Description:
python-docutils - utilities for the documentation of Python modules
python-roman - module for generating/analyzing Roman numerals
Closes: 374957 506315
Changes:
python-docutils (0.6-1) unstable; urgency=low
.
[ Jakub Wilk ]
* Drop superfluous dependency of python-dev.
.
[ Simon McVittie ]
* New upstream version
- --strict option works now like --halt=info (closes: #506315)
- allow UTF-8 in style sheets (closes: #374957)
- patches/17_speed_up_rst_el.dpatch: dropped, fixed upstream
* Stop using dpatch; instead, switch source format to 3.0 (quilt)
* Stop patching out #!/usr/bin/env python via the patch system; it'll get
patched out during installation anyway
* Split 14_distutils_setup.diff into two patches
- 13_install_roman.diff: install roman even if already installed
(in a less intrusive way)
- 14_use_setuptools.diff: use setuptools for egg support
* Update the other patches for the new version
* Conflict, provide and replace the standalone man page and ODT writers,
which have been integrated upstream; add their maintainers to this
package's Uploaders instead
* Import Michael Schutte's man page for rst2odt_prepstyles from the
odtwriter source package (thanks!)
* Use rst2man to make the other man pages
* patches/17_revert_buildhtml.diff: revert an upstream change to
buildhtml.py which broke the --local option
* Add Jakub Wilk to Uploaders, with thanks for previous uploads
Checksums-Sha1:
d567a237c11f2def7cdf559ec6357e70d8fc785d 2277 python-docutils_0.6-1.dsc
1b3bfc3bdf285c208dd0c29427fd6b096569aa92 1368354
python-docutils_0.6.orig.tar.gz
b7a76c0e398db331321cd0bbde0fd2acf5088937 22631
python-docutils_0.6-1.debian.tar.gz
d0c88615568b1f766c4442ee7ba8ba7b208c5503 1732806 python-docutils_0.6-1_all.deb
7607aed85803efea4fb0e983e273f94616791a22 14210 python-roman_0.6-1_all.deb
Checksums-Sha256:
ef957c13349bd1abde911c91237792a44d726421c0bf36ba06dd6113b6199604 2277
python-docutils_0.6-1.dsc
04aa91bd644169b23ed02d692f407a2a4e326fbfec9754bce7662fcf59c917f2 1368354
python-docutils_0.6.orig.tar.gz
f24a953e876042c11ccd075e43443bf6bd5f3c4e56b28a77575e357a919675a5 22631
python-docutils_0.6-1.debian.tar.gz
a7805a906e13fd5fdc82caa39acc2fb6f630d42a0de2c1db4dbaa59bf3ced6ef 1732806
python-docutils_0.6-1_all.deb
81e10ffdfa1b4a100842fb7bfffb086cf38146ccbf2914bfa63c0df5c28f657d 14210
python-roman_0.6-1_all.deb
Files:
88a77d82a6843a7c75b35addd2882538 2277 python optional python-docutils_0.6-1.dsc
5c615479a965bc773892f585e0e08119 1368354 python optional
python-docutils_0.6.orig.tar.gz
0e4638a1477b79a0faefe76cb9d2d5bd 22631 python optional
python-docutils_0.6-1.debian.tar.gz
7371a79235d600c1234434fbe3f8ff75 1732806 python optional
python-docutils_0.6-1_all.deb
d58c44c6fe23830e86e114022f13551e 14210 python optional
python-roman_0.6-1_all.deb
-----BEGIN PGP SIGNATURE-----
iQIVAwUBSx18g03o/ypjx8yQAQhz4RAAkz5ncT5+6GZU8xWfCiLhfPmdlmfrLAeW
rBRtvXwattGpc/iTGbLYn6x10Mnp7G9ukVqQIbdTxzxgzVS3sur+caynpusGo7CQ
J0p3FtXWDuW3bqxWxoCOAJpobpmsfRTo/R4Jg/N5MBqz/KN1bPlaaF6T33vjuo3m
U/F8yKbQ294vCRj9KUDH5GvOrdm8WlpuJ4BDV1nkGRIysST7cHr+BDhrvQM0N8Gt
7DO7/W9IrQcE/M0U3KfQZZhhza3+YsEorPovPoL6YbppBW6grWs6tCaqNJKRzuyl
dnpA7mcGTAlToYV3jxkZmI7sv03JqbKVJEtu5xmYROn7EVZNHw7X3Sf2PkUpuEkA
xDdITr4MTy2UWSqwy8pvXy1c6zhhDN10sbmE30L+wqOnKT6DzvD6KPgRn4ZyIx4y
27A67VRSm3w5sl+/lVorCEquX0LckGlcx9hZaqfe2BxV1qpcxX9gcg3hgrWXX7qi
RgZiBH1+zR5/qY8y/rdKqVh3dnToMS4NxP87DQ3rNdXRhwJt/ntAfxBcWqFO5xsG
FJFLedFnmlQ5ArUWV3lG/hYw/QX3SXDLvoAih4IFbhyj7nLu/3mphdB6YmpHFeRc
OlOhwx5XAYdHWqyb30PnxLvTudc0H143XAfnoc/lcpSrXwrUBrVLzYnfm6u4MB7/
gznIJ+dChjw=
=1pRl
-----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/python-modules-team