GNOME Bugzilla – Bug 662576
Keyboard and options not visible in Hangman
Last modified: 2011-10-27 01:00:18 UTC
OS : Ubuntu 11.04 Version : 9.3 The virtual keyboard nor the options (help,home,etc) are visible in the hangman activity. It does not even take inputs from the real keyboard. Only the black board is visible along with tux at the side. Esc button has to be used to exit the activity.
Realized this happens because language is set as 'system default'. As soon as one chooses a language this problem is not encountered.
Well you found a workaround but it should not crash in the first place. Could you please run it again in the default locale. Then run gcompris in a console like this : gcompris -D > /tmp/gcompris.trace 2>&1 Then reproduce the error by entering the activity, exit GCompris normaly and then attach here the file /tmp/gcompris.trace Bruno.
ERROR: Bad equivalence liste '' Traceback (most recent call last):
+ Trace 228903
self.language = gcompris.gcompris_gettext( gcompris.get_locale_name(gcompris.get_locale()) )
I think I fixed this. I cannot reproduce it on trunk. If you are not afraid to compile, please try this release : http://sourceforge.net/projects/gcompris/files/Old_Files/11.09RC1/ You can get all the compilation dependancies by running: apt-get build-dep gcompris
Downloaded from the link and compiled but getting same error.
Hum, I have another idea. Could you please run this command in a console and post here the result: export | grep LANG
$ export | grep LANG declare -x GDM_LANG="en_IN" declare -x LANG="en_IN" declare -x LANGUAGE="en_IN:en"
By using error handling in hangman.py gcompris was falling back to english. I made the following changes in /usr/local/share/gcompris/python/hangman.py # Get the name of the language for the current locale try: self.language = gcompris.gcompris_gettext(gcompris.get_locale_name(gcompris.get_locale()) ) self.wordlist = gcompris.get_wordlist("wordsgame/default-$LOCALE.xml" # Fallback to english except (TypeError): self.wordlist = gcompris.get_wordlist("wordsgame/default-en.xml") self.language = _("English")
I can confirm the problem and your patch is relevant.
Fixed in commit 6166d9681