Bug#518843: gnome-doc-utils: xml2po crashes and says: UnicodeDecodeError: 'ascii' codec can't decode byte ...

Patrick Zanon patrick.zanon at gmail.com
Sun Mar 8 18:15:10 UTC 2009


Package: gnome-doc-utils
Version: 0.12.2-1
Severity: important


Hi all,
while using xml2po to recover an old french translation of a manual, xml2po 
crashed telling me that there was an error when translating an unicode
character:

UnicodeDecodeError: 'ascii' codec can't decode byte ...

I found a workaround: I simply broke the files in two chapters by adding
an end of chapter and a new chapter tag immediately after...

I attached a copy of the files that triggers the error: in the tar-gzipped
file there is a directory (reveal-bug) where to find the command that
generate the error (command.sh); in another directory (workaround1)
I reported the files slightly modified in order to complete 
the job without errors with the usual command (command.sh).

pkz


-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xml2po-bug.tar.gz
Type: application/x-gzip
Size: 23456 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20090308/2b20aba7/attachment-0001.bin 


More information about the pkg-gnome-maintainers mailing list