[pkg-ggz-maintainers] Bug#472408: xadrez-chines: fails to start with POSIX locale

Yann Dirson ydirson at altern.org
Mon Mar 24 08:01:24 UTC 2008


Package: ggz-python-games
Version: 0.0.14-1
Severity: serious

For me, the game does start from a terminal, where LC_CTYPE being set
to "french" appears to be sufficient, but but it does not start from
the KDE menu, and I can reproduce the problem from the shell by just
insetting LC_CTYPE.

There surely exists a standard way to nicely deal with the case where
a character cannot be rendered...

$ (unset LC_CTYPE; xadrez-chines )
Traceback (most recent call last):
  File "/usr/games/xadrez-chines", line 35, in ?
    print unic("Xadrez Chinês: Using data path"), DATAPATH
UnicodeEncodeError: 'ascii' codec can't encode character u'\xea' in position 11: ordinal not in range(128)


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

Kernel: Linux 2.6.23.8-smp (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=french (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages ggz-python-games depends on:
ii  ggzcore-bin          0.0.14.1-1          GGZ Gaming Zone: various command-l
ii  python               2.4.4-6             An interactive high-level object-o
ii  python-central       0.6.1               register and build utility for Pyt
ii  python-ggz           0.0.14-1            Python modules for GGZ Gaming Zone
ii  python-pygame        1.7.1release-4.1+b1 SDL bindings for games development

Versions of packages ggz-python-games recommends:
ii  ggz-gtk-client [ggz-core-clie 0.0.14-3   GGZ Gaming Zone: advanced core cli
ii  ggz-kde-client [ggz-core-clie 0.0.14-1   GGZ Gaming Zone: advanced core cli
ii  gnugo                         3.7.11-2   play the game of Go

-- no debconf information





More information about the pkg-ggz-maintainers mailing list