From owner-freebsd-gnome@FreeBSD.ORG Sun May 23 18:39:21 2010 Return-Path: Delivered-To: gnome@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51E95106566B for ; Sun, 23 May 2010 18:39:21 +0000 (UTC) (envelope-from cvs-src@yandex.ru) Received: from forward13.mail.yandex.net (forward13.mail.yandex.net [95.108.130.120]) by mx1.freebsd.org (Postfix) with ESMTP id 010358FC17 for ; Sun, 23 May 2010 18:39:20 +0000 (UTC) Received: from smtp12.mail.yandex.net (smtp12.mail.yandex.net [95.108.131.191]) by forward13.mail.yandex.net (Yandex) with ESMTP id 2C7401080942; Sun, 23 May 2010 22:39:19 +0400 (MSD) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1274639959; bh=ShNZjvTS8AZ2kpuNCo/eRxjXiHhJuUBQuOqDF7xFKXY=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=X6FvuWASf5PldIXv13WM625/TuYJpitXjA2jSR5af1mqshQHqYw8pkzF5hVmR7L17 ggGlbhMJgJtavSFlb1GVzJn6s48Izx7plZrJAd5lsLkaCEMtfNfGEBIFdrC4AZ4/Je T7xBNqCogDvqpkDPMbcsYK3ifGGfxuXXSti5KE/4= Received: from smeshariki2.local (unknown [77.66.144.195]) by smtp12.mail.yandex.net (Yandex) with ESMTPSA id E78E213E80A0; Sun, 23 May 2010 22:39:18 +0400 (MSD) Message-ID: <4BF97620.5020806@yandex.ru> Date: Sun, 23 May 2010 22:38:24 +0400 From: Ruslan Mahmatkhanov User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; ru-RU; rv:1.9.1.9) Gecko/20100515 Thunderbird/3.0.4 MIME-Version: 1.0 To: Jeff Molofee References: <4BF90920.30700@telus.net> In-Reply-To: <4BF90920.30700@telus.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Yandex-TimeMark: 1274639959 X-Yandex-Spam: 1 X-Yandex-Front: smtp12.mail.yandex.net Cc: gnome@FreeBSD.org Subject: Re: FreeBSD Port: deskutils/hamster-applet X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 May 2010 18:39:21 -0000 23.05.2010 14:53, Jeff Molofee пишет: > *I get the following error running hamster-standalone or gnome-time-tracker > * > ** (hamster-standalone:36135): WARNING **: Trying to register gtype > 'WnckWindowState' as enum when in fact it is of type 'GFlags' > > ** (hamster-standalone:36135): WARNING **: Trying to register gtype > 'WnckWindowActions' as enum when in fact it is of type 'GFlags' > > ** (hamster-standalone:36135): WARNING **: Trying to register gtype > 'WnckWindowMoveResizeMask' as enum when in fact it is of type 'GFlags' > Traceback (most recent call last): > File "/usr/local/bin/hamster-standalone", line 529, in > module.bindtextdomain('hamster-applet', locale_dir) > AttributeError: 'module' object has no attribute 'bindtextdomain' > This is a dirty hack but it will work for you while maintainer (or upstream) fixes it. Change lines 528-530 in /usr/local/bin/hamster-standalone like this: 528 for module in (gettext, locale): 529 gettext.bindtextdomain('hamster-applet', locale_dir) 530 gettext.textdomain('hamster-applet') Python's locale module on FreeBSD didn't have bindtextdomain attribute. See http://docs.python.org/library/locale.html#access-to-message-catalogs -- Regards, Ruslan