Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65546 - openrpg-1.6.1: can't use chat
Summary: openrpg-1.6.1: can't use chat
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High major
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-27 08:21 UTC by crusaderky
Modified: 2004-09-27 13:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description crusaderky 2004-09-27 08:21:53 UTC
I've just merged openrpg-1.6.1. I launch it and it starts normally. However, I can't write more than one letter (save for numbers) in the chat bar; every time I try to do it I get this error message on the console:

Traceback (most recent call last):
  File "/usr/games/lib/openrpg/orpg/tools/predTextCtrl.py", line 522, in OnChar
    curWord = self.findWord(insert,front + asciiKey)    #  Now that we know we're supposed to make a prediction,
  File "/usr/games/lib/openrpg/orpg/tools/predTextCtrl.py", line 362, in findWord
    if st[-(offset + 2)] not in string.letters:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xa6 in position 52: ordinal not in range(128)

Then the program continues running, but the character has not been displayed.
The odd fact is that I've got a friend with a configuration very similar to my own and he has no problems at all.

me:
*  dev-lang/python :
        [   ] 2.1.3-r1 (2.1)
        [  I] 2.2.3-r5 (2.2)
        [   ] 2.3.3 (2.3)
        [  I] 2.3.3-r1 (2.3)
        [M~ ] 2.3.4 (2.3)
*  dev-python/wxpython :
        [  I] 2.4.2.4 (0)

my friend:
*  dev-lang/python :
        [   ] 2.1.3-r1 (2.1)
        [  I] 2.2.3-r5 (2.2)
        [  I] 2.3.3 (2.3)
        [   ] 2.3.3-r1 (2.3)
        [M~ ] 2.3.4 (2.3)

*  dev-python/wxpython :
        [   ] 2.4.2.4 (0)

We both use ACCEPT_KEYWORDS=x86.

$ emerge info
Portage 2.0.50-r11 (default-x86-1.4, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.8-gentoo-r3)
=================================================================
System uname: 2.6.8-gentoo-r3 i686 AMD Athlon(TM) XP 2000+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -pipe -march=athlon-xp -fforce-addr -fomit-frame-pointer -falign-functions=4 -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -pipe -march=athlon-xp -fforce-addr -fomit-frame-pointer -falign-functions=4 -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache digest distcc fixpackages sandbox userpriv"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X X509 aalib alsa apache2 apm avi berkdb bitmap-fonts bonobo cdparanoia cdr chroot crypt cscope cups curl dga directfb doc dv dvb dvd dvdr encode erandom esd extensions faad fbcon flac flash foomaticdb gd gdbm ggi gif gimpprint gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile ieee1394 imap imlib innodb ipv6 java jikes joystick jpeg kde kerberos krb4 lcms ldap libcaca libg++ libwww linguas_it live lzo mad mcal md5sum memlimit mikmod mmx mng motif mozilla moznoirc mozp3p mozsvg mpeg mpi mysql ncurses network nls nptl nvidia odbc offensive oggvorbis opengl pam parse-clocks pdflib perl pic png ppds prelude python qt quicktime readline rtc samba scanner sdl skey slang slp sndfile snmp socks5 speex spell sqlite sse ssl svga tcltk tcpd tetex tga theora tiff truetype unicode usb v4l v4l2 vim-with-x wmf wxwindows x86 xchattext xml xml2 xmms xprint xv xvid yaz zlib"
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-09-27 11:10:58 UTC
The unicode support in the wx stuff has been rather unstable.  I recommend you take unicode out of your USE flags and remerge all the packages that have that in IUSE if you don't really need it.
Comment 2 crusaderky 2004-09-27 13:46:46 UTC
now it works. Looks like a wxWindows bug then.