problem with gnomeblog 0.8

Joe Marcus Clarke marcus at FreeBSD.org
Wed Jan 19 14:21:32 PST 2005


-----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 at 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-----


More information about the freebsd-gnome mailing list