From owner-freebsd-gnome@FreeBSD.ORG Wed Jan 19 22:21:32 2005 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 000AB16A4F4 for ; Wed, 19 Jan 2005 22:21:31 +0000 (GMT) Received: from rooster.cisco.com (hen.cisco.com [64.102.19.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F48243D48 for ; Wed, 19 Jan 2005 22:21:31 +0000 (GMT) (envelope-from marcus@FreeBSD.org) Received: from [64.102.192.53] (dhcp-64-102-192-53.cisco.com [64.102.192.53]) by rooster.cisco.com (8.11.7+Sun/8.8.8) with ESMTP id j0JMLMe19714; Wed, 19 Jan 2005 17:21:22 -0500 (EST) Message-ID: <41EEDD64.5040401@FreeBSD.org> Date: Wed, 19 Jan 2005 17:21:24 -0500 From: Joe Marcus Clarke Organization: FreeBSD, Inc. User-Agent: Mozilla Thunderbird 1.0 (Macintosh/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Thomas Vogt References: <1106140110.44732.8.camel@bert.mlan.solnet.ch> In-Reply-To: <1106140110.44732.8.camel@bert.mlan.solnet.ch> X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: gnome@FreeBSD.org Subject: Re: problem with gnomeblog 0.8 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jan 2005 22:21:32 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thomas Vogt wrote: | Hi | | I've problem with gnomeblog 0.8 from the ports. I can install it but | when I try to start it, I receive the following error msg: | | gnome-blog-poster | Traceback (most recent call last): | File "/usr/X11R6/bin/gnome-blog-poster", line 51, in ? | app = BloggerApp() | File "/usr/X11R6/bin/gnome-blog-poster", line 32, in __init__ | poster._showPrefDialog() | UnboundLocalError: local variable 'poster' referenced before assignment In looking at the code, I think this is a pretty big bug on the author's part. They are checking GConf for an /apps/gnome-blog/initialized key, and if found, they assume that gnome-blog has already instantiated poster. They should probably do additional checking on the poster object itself. In any event, if you use gconf-editor to default the /apps/gnome-blog/initialized key, the problem should go away. Joe - -- Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (Darwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFB7t1kb2iPiv4Uz4cRAm4eAJ0dSaQa8hBnlS+1NU8pPqcnBS30XgCfacpm eWcDP0q+vRE5gqtr6RN2NK4= =Y0An -----END PGP SIGNATURE-----