[Pkg-lyx-devel] Bug#639712: elyxer: Croaks when I use --title with non-ascii characters

Torquil Macdonald Sørensen torquil at gmail.com
Mon Aug 29 16:12:00 UTC 2011


Package: elyxer
Version: 1.2.2-1
Severity: normal

Hi!

When I use the --title option together with non-ascii characters,
elyxer fails. I get the following error message:

cd website; elyxer --title "Website of Torquil Macdonald Sørensen" ../website.lyx page.html
Line 73: Title: Website
Line 415: * [eLyXer version 1.2.2 (2011-06-12) in /usr/bin/elyxer] 
Line 415: * Conversion failed at 
Traceback (most recent call last):
  File "/usr/bin/elyxer", line 10009, in <module>
    main()
  File "/usr/bin/elyxer", line 10004, in main
    convertdoc(list(sys.argv))
  File "/usr/bin/elyxer", line 10000, in convertdoc
    converter.convert()
  File "/usr/bin/elyxer", line 9884, in convert
    self.processcontents()
  File "/usr/bin/elyxer", line 9904, in processcontents
    self.basket.finish()
  File "/usr/bin/elyxer", line 9454, in finish
    self.flush()
  File "/usr/bin/elyxer", line 9310, in flush
    self.writer.write(container.gethtml())
  File "/usr/bin/elyxer", line 2415, in gethtml
    html = self.output.gethtml(self)
  File "/usr/bin/elyxer", line 3733, in gethtml
    return HTMLTemplate.get().convertheader()
  File "/usr/bin/elyxer", line 3476, in convertheader
    return self.convert(self.getheader())
  File "/usr/bin/elyxer", line 3487, in convert
    html[index] = varmap.replace(line)
  File "/usr/bin/elyxer", line 3681, in replace
    result += self.getvalue(pos)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 30: ordinal not in range(128)
make: *** [html] Error 1

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (700, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.3 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages elyxer depends on:
ii  python                        2.6.7-3    interactive high-level object-orie

elyxer recommends no packages.

elyxer suggests no packages.

-- no debconf information





More information about the Pkg-lyx-devel mailing list