Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108229 - gtypist; tipptrainer; problems with utf-8
Summary: gtypist; tipptrainer; problems with utf-8
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: utf8 herd (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-05 16:46 UTC by Max Hille
Modified: 2007-04-07 18:59 UTC (History)
1 user (show)

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 Max Hille 2005-10-05 16:46:21 UTC
my systems encoding setting is utf-8 (afaik). when approaching to improve my 
typing i wanted to use gtypist or tipptrainer. gtypist doesn't properly 
recognise my inputs at umlauts. tipptrainer doesn't regognise any input. i think 
it has to do with my utf-8 settings. i tried manipulating the $LANG but this 
didn't help. using an non-utf8 terminal also didn't help.

Reproducible: Always
Steps to Reproduce:
1. set up a gentoo with utf-8 (use="unicode"?)
2. start gtypist
3. start tipptrainer

Actual Results:  
the programs didn't work

Expected Results:  
recogiesed my input (tipptrainer something, gtypist umlauts)
Comment 1 Gunnar Wrobel (RETIRED) gentoo-dev 2005-11-09 13:02:40 UTC
Same problem with tipptrainer here.

The program reports:

(tipptrainer:21210): Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion
`g_utf8_validate (text, len, NULL)' failed

wxGTK has been emerge with these settings:

[ebuild   R   ] x11-libs/wxGTK-2.6.1  -debug -doc -gnome +gtk2 -joystick -odbc
+opengl -sdl +unicode -wxgtk1 0 kB 


Some system info:

Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2,
2.6.13-gentoo-r5 i686)
=================================================================
System uname: 2.6.13-gentoo-r5 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/jetty/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /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
/var/service"
CONFIG_PROTECT_MASK="/etc/gconf /etc/log.d /etc/splash /etc/terminfo
/usr/X11R6/lib/X11 /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
DISTDIR="/usr/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict userprivs"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/
ftp://pandemonium.tiscali.de/pub/gentoo/
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://mir.zyrianes.net/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_DE@euro"
LC_ALL="de_DE.utf8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/ebuilds /usr/portage/local/kolab2"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS
Comment 2 Alexander Simonov 2005-11-15 01:11:02 UTC
(In reply to comment #1)
> LANG="de_DE@euro"
> LC_ALL="de_DE.utf8"

I think problem in broken environment.
can you set LANG to "de_DE.UTF-8" and unset LC_ALL
Comment 3 Gunnar Wrobel (RETIRED) gentoo-dev 2005-12-18 01:30:54 UTC
Thanks for the answer. Actually forgot to add myself to the cc list last time. 

I probably re-emerged a number of packages in between and when I start tipptrainer now, it reports no problems anymore. 
But it does not receive any input as described in the first report. 
Comment 4 Ryan Hill (RETIRED) gentoo-dev 2007-04-07 18:59:31 UTC
Closing due to inactivity.  Please reopen if this is still a problem.