Your message dated Sun, 06 Jul 2008 11:32:25 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#487729: fixed in odtwriter 1.3a-1
has caused the Debian Bug report #487729,
regarding can't handle non-ASCII characters in literal blocks
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.)


-- 
487729: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487729
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: python-odtwriter
Version: 1.2b-1
Severity: normal

As the following trascript shows, rst2html happily runs on documents
that upset rst2odt.  They contain non-ASCII characters like ½ and ×.
I pass -o utf-8:strict to both, but the backtrace suggests that
rst2odt is still using ascii for omething.

PS: I just tried adding -i utf-8:strict, too, but it didn't help.

  $ rst2html -o utf-8:strict x.txt x.html
  $ rst2odt -o utf-8:strict x.txt x.odt
  missing visit_contact
  missing depart_contact
  UnicodeEncodeError: 'ascii' codec can't encode character u'\u2502' in 
position 200: 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);
    the output will contain "&#9474;" and should be usable.
  * "backslashreplace" (for other output formats, Python 2.3+);
    look for "\u2502" in the output.
  * "replace"; look for "?" in the output.

  "--output-encoding-error-handler" is currently set to "strict".

  Exiting due to error.  Use "--traceback" to diagnose.
  If the advice above doesn't eliminate the error,
  please report it to <[EMAIL PROTECTED]>.
  Include "--traceback" output, Docutils version (0.5),
  Python version (2.5.2), your OS type & version, and the
  command line used.

  $ rst2odt --traceback -o utf-8:strict x.txt x.odt
  missing visit_contact
  missing depart_contact
  Traceback (most recent call last):
    File "/usr/bin/rst2odt", line 81, in <module>
      output = publish_cmdline_to_binary(writer=writer, description=description)
    File "/usr/bin/rst2odt", line 76, in publish_cmdline_to_binary
      config_section=config_section, enable_exit_status=enable_exit_status)
    File "/usr/lib/python2.5/site-packages/docutils/core.py", line 206, in 
publish
      output = self.writer.write(self.document, self.destination)
    File "/usr/lib/python2.5/site-packages/docutils/writers/__init__.py", line 
76, in write
      self.translate()
    File 
"/usr/lib/python2.5/site-packages/docutils/writers/odtwriter/__init__.py", line 
674, in translate
      self.document.walkabout(self.visitor)
    File "/usr/lib/python2.5/site-packages/docutils/nodes.py", line 176, in 
walkabout
      if child.walkabout(visitor):
    File "/usr/lib/python2.5/site-packages/docutils/nodes.py", line 168, in 
walkabout
      visitor.dispatch_visit(self)
    File 
"/usr/lib/python2.5/site-packages/docutils/writers/odtwriter/__init__.py", line 
1135, in dispatch_visit
      nodes.GenericNodeVisitor.dispatch_visit(self, node)
    File "/usr/lib/python2.5/site-packages/docutils/nodes.py", line 1540, in 
dispatch_visit
      return method(node)
    File 
"/usr/lib/python2.5/site-packages/docutils/writers/odtwriter/__init__.py", line 
1992, in visit_literal_block
      el1 = etree.fromstring(s1)
    File "/usr/lib/python2.5/xml/etree/ElementTree.py", line 963, in XML
      parser.feed(text)
    File "/usr/lib/python2.5/xml/etree/ElementTree.py", line 1245, in feed
      self._parser.Parse(data, 0)
  UnicodeEncodeError: 'ascii' codec can't encode character u'\u2502' in 
position 200: ordinal not in range(128)

  $ locale
  LANG=en_AU.UTF-8
  LC_CTYPE="en_AU.UTF-8"
  LC_NUMERIC="en_AU.UTF-8"
  LC_TIME="en_AU.UTF-8"
  LC_COLLATE=C
  LC_MONETARY="en_AU.UTF-8"
  LC_MESSAGES="en_AU.UTF-8"
  LC_PAPER="en_AU.UTF-8"
  LC_NAME="en_AU.UTF-8"
  LC_ADDRESS="en_AU.UTF-8"
  LC_TELEPHONE="en_AU.UTF-8"
  LC_MEASUREMENT="en_AU.UTF-8"
  LC_IDENTIFICATION="en_AU.UTF-8"
  LC_ALL=

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (SMP w/1 CPU core)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-odtwriter depends on:
ii  python                        2.5.2-1    An interactive high-level object-o
ii  python-central                0.6.7      register and build utility for Pyt
ii  python-docutils               0.4-6      Utilities for the documentation of

Versions of packages python-odtwriter recommends:
pn  python-imaging                <none>     (no description available)
pn  python-pygments               <none>     (no description available)



--- End Message ---
--- Begin Message ---
Source: odtwriter
Source-Version: 1.3a-1

We believe that the bug you reported is fixed in the latest version of
odtwriter, which is due to be installed in the Debian FTP archive:

odtwriter_1.3a-1.diff.gz
  to pool/main/o/odtwriter/odtwriter_1.3a-1.diff.gz
odtwriter_1.3a-1.dsc
  to pool/main/o/odtwriter/odtwriter_1.3a-1.dsc
odtwriter_1.3a.orig.tar.gz
  to pool/main/o/odtwriter/odtwriter_1.3a.orig.tar.gz
python-odtwriter_1.3a-1_all.deb
  to pool/main/o/odtwriter/python-odtwriter_1.3a-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.
Michael Schutte <[EMAIL PROTECTED]> (supplier of updated odtwriter 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: SHA1

Format: 1.8
Date: Sun, 06 Jul 2008 08:25:44 +0200
Source: odtwriter
Binary: python-odtwriter
Architecture: source all
Version: 1.3a-1
Distribution: unstable
Urgency: low
Maintainer: Michael Schutte <[EMAIL PROTECTED]>
Changed-By: Michael Schutte <[EMAIL PROTECTED]>
Description: 
 python-odtwriter - convert reStructuredText to OpenDocument Text
Closes: 487729 488210
Changes: 
 odtwriter (1.3a-1) unstable; urgency=low
 .
   * New upstream version.
     - Uses paperconf to determine the default paper size if none is given in
       the stylesheet, closes: #488210.  Introduced a recommendation on
       libpaper-utils.  Thanks to Trent and Dave for the fruitful discussion.
     - Now properly handles non-ASCII characters in literal and raw blocks,
       closes: #487729.
   * Bumped Standards-Version to 3.8.0, no changes needed.
Checksums-Sha1: 
 ec3eb494ce7fbff43efd3bdcf906a96f701c1228 1250 odtwriter_1.3a-1.dsc
 15e082cbd401295c6d4dbec1407131ca3edb12c0 74246 odtwriter_1.3a.orig.tar.gz
 a02b793940e410a806069ed74826ca0edbbbcb2b 6622 odtwriter_1.3a-1.diff.gz
 878c16c5777e88dfe82de1d865f2b51b4d8b688e 77514 python-odtwriter_1.3a-1_all.deb
Checksums-Sha256: 
 abb662c5c9861b63c1eb53ee6b344f0f8bb62f6825ef63a27491c3c2e2458179 1250 
odtwriter_1.3a-1.dsc
 22ccc1f6b8c487e7066b05bba3c42dcfc527dfddb653e76e804c30b72dc519ba 74246 
odtwriter_1.3a.orig.tar.gz
 99a186b5d7810705b45c8d0efb153d20916fa557e44988044d11a72481cf55fe 6622 
odtwriter_1.3a-1.diff.gz
 704d06589f64bfb2f37725272bc9e7927130735af394654fe726bc028a99d4a3 77514 
python-odtwriter_1.3a-1_all.deb
Files: 
 ebacd785012eab704e9c838ea53e7601 1250 python optional odtwriter_1.3a-1.dsc
 d3d38097f1a6e9ac02e2acd0cbec1439 74246 python optional 
odtwriter_1.3a.orig.tar.gz
 de40456a54c9958fd4741a919925bf3e 6622 python optional odtwriter_1.3a-1.diff.gz
 c65b8b7eb25394bd2e9b54fd3bf1b59b 77514 python optional 
python-odtwriter_1.3a-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkhwqiQACgkQB01zfu119Zm92gCghqEAjKfd9B0Qs1UiPUceTsTI
h/8AoJj/hLcjNMDkWV5Qu5drzR199+4+
=0rgu
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to