Date: Wed, 1 Sep 2010 19:00:51 GMT From: David Gurvich <davidgurvich@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/150197: gnome-sudoku fails on startup Message-ID: <201009011900.o81J0prj074863@www.freebsd.org> Resent-Message-ID: <201009011910.o81JA3Q2099245@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 150197
>Category: misc
>Synopsis: gnome-sudoku fails on startup
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Sep 01 19:10:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: David Gurvich
>Release: 8.1-RELEASE
>Organization:
none
>Environment:
FreeBSD Lucifer 8.1-RELEASE FreeBSD 8.1-RELEASE #0 r210200M: Wed Jul 21 13:25:43 CEST 2010 root@neo.vx.sk:/usr/obj/i386/usr/src/sys/GENERIC i386
>Description:
gnome-sudoku in gnome-2.30 fails on startup.
>How-To-Repeat:
Install gnome-sudoku and try to start the game.
>Fix:
The defaults.py file is using an incorrect object attribute. Changing to the correct object fixes the problem.
Patch attached with submission follows:
--- defaults.py.old 2010-09-01 14:54:13.930027698 -0400
+++ defaults.py.new 2010-09-01 14:53:50.181648784 -0400
@@ -30,7 +30,7 @@
PUZZLE_DIR = BASE_DIR
DOMAIN = 'gnome-games'
-locale.bind_textdomain_codeset(DOMAIN, "UTF-8") # See Bug 608425
+gettext.bind_textdomain_codeset(DOMAIN, "UTF-8") # See Bug 608425
gettext.bindtextdomain(DOMAIN, LOCALEDIR)
gettext.textdomain(DOMAIN)
from gettext import gettext as _
>Release-Note:
>Audit-Trail:
>Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009011900.o81J0prj074863>
