Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93612 - gnome-blog application fails to start
Summary: gnome-blog application fails to start
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-22 14:51 UTC by Rouslan Solomakhin
Modified: 2005-06-28 13:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rouslan Solomakhin 2005-05-22 14:51:31 UTC
> gnome-blog-poster
Traceback (most recent call last):
  File "/usr/bin/gnome-blog-poster", line 51, in ?
    app = BloggerApp()
  File "/usr/bin/gnome-blog-poster", line 32, in __init__
    poster._showPrefDialog()
UnboundLocalError: local variable 'poster' referenced before assignment

gnome-blog-poster is a python script that calls "poster._showPrefDialog()".
There're some imports at the beginning of the script. The reason for error could
be that those imports are outdated.

Reproducible: Always
Steps to Reproduce:
1. run gnome-blog-poster

Actual Results:  
Error starting application

Expected Results:  
Start the application

# emerge --info
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.3.4, glibc-2.3.5-r0, 2.6.5
i686)
=================================================================
System uname: 2.6.5 i686 Intel(R) Xeon(TM) CPU 2.40GHz
Gentoo Base System version 1.6.12
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.2.3-r6, 2.3.5
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mcpu=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/conf.d /etc/init.d /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/applications /usr/share/config /usr/share/gnome/apps /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/X11/app-defaults /etc/X11/mwm /etc/X11/proxymngr
/etc/X11/rstart /etc/X11/xdm /etc/afs/afsws /etc/dev.d /etc/gconf /etc/ggi
/etc/gimp /etc/gnome-vfs-2.0 /etc/mono /etc/openldap /etc/sound /etc/ssl
/etc/terminfo /etc/texmf/web2c /etc/udev /etc/vim /usr/lib/X11/xkb
/usr/share/texmf /usr/share/texmf/dvips/config /etc/env.d"
CXXFLAGS="-mcpu=pentium3 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg candy ccache clean collision-protect distlocks moo
sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.clarkson.edu/pub/distributions/gentoo
http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ http://gentoo.oregonstate.edu/
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j16"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://mirror.clarkson.edu/gentoo-portage"
USE="x86 X X509 aalib accessibility acl afs alsa avi bash-completion berkdb
bitmap-fonts bonobo bzip2 cdr crypt cscope cups curl dbus dga directfb
divx4linux djvu doc dvd dvdr dvi eds emacs emboss esd evo fam fbcon flac flash
font-server foomaticdb fortran gb gcj gd gdbm ggi gif gnome gpm gstreamer gtk
gtk2 gtkhtml guile hal hardened howl imagemagick imap imlib java javacomm
javascript jpeg junit kerberos lcms ldap lesstif libg++ libgda libwww mad
mailwrapper mbox mmx mono motif moznoirc mp3 mpeg ncurses nls nntp nocardbus
nptl nsplugin nvidia objc odbc ogg oggvorbis opengl oss pam pda pdflib perl
plotutils png python quicktime readline real ruby samba sdl slang slp spell
sqlite sse ssl svga symlink t1lib tcltk tcpd tetex threads tiff truetype
truetype-fonts type1-fonts vidix vorbis win32codecs wmf xine xml xml2 xprint xv
zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Leonardo Boshell (RETIRED) gentoo-dev 2005-05-22 17:29:48 UTC
This is an upstream problem that should be resolved in recent versions. Could
you please try with gnome-blog-0.9? Thanks.
Comment 2 Rouslan Solomakhin 2005-05-23 18:14:27 UTC
Yep, version 0.9 fixes it.
Comment 3 Bart Teeuwisse 2005-05-25 18:16:27 UTC
Both version 0.8 and 0.9 fail to start when started as described in this report.
Version 0.8 can be added to the panel where as version 0.9 can not.

emerge --info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.4.20041102-r1,
2.6.11-gentoo-r6 i686)
=================================================================
System uname: 2.6.11-gentoo-r6 i686 Intel(R) Pentium(R) M processor 2.00GHz
Gentoo Base System version 1.7.1
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May  2 2005, 15:29:43)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dfx 3dnow X aac aalib acl acpi aim alsa apm audiofile avi
bash-completion berkdb bitmap-fonts bonobo calendar cdparanoia cdr chroot crypt
cups curl dbus dga directfb divx4linux doc dvd dvdread edl eds emacs emboss
encode esd ethereal exif faad fam fastcgi fbcon flac flash font-server
foomaticdb fpx ftp gdbm gif gimpprint gnome gnutls gphoto2 gpm graphviz
gstreamer gtk gtk2 guile hal icms icq imagemagick imap imlib ipv6 jabber jack
java jbig jikes jpeg jpeg2k junit kde kerberos lcms ldap libclamav libg++ libwww
lzo mad mikmod mime ming mono motif mozcalendar mozdevelop mozilla mozsvg mp3
mpeg msn mysql nas ncurses nis nls nntp nptl ogg oggvorbis openal opengl oscar
oss pam pcmcia pcre pda pdflib perl plotutils png portaudio posix postgres ppds
python qt quicktime readline real recode ruby samba sasl sdl silc slp soap speex
spell sqlite sse ssl svg svga tcl tcltk tcpd theora threads tidy tiff truetype
truetype-fonts type1-fonts unicode usb v4l vorbis wifi win32codecs wmf xamin
xine xinerama xml xml2 xmlrpc xmms xosd xpm xprint xsl xv xvid xvmc yahoo zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 4 Leonardo Boshell (RETIRED) gentoo-dev 2005-05-25 19:31:13 UTC
Bart, could you please attach the output from running gnome-blog-poster from a
terminal (both versions)? Thanks.
Comment 5 Rouslan Solomakhin 2005-05-27 19:58:09 UTC
When I try to add gnome-blog-0.9 applet to gnome-panel, the panel outputs this
(if run from terminal):

** (gnome-panel:12074): WARNING **: panel-applet-frame.c:1240: failed to load
applet OAFIID:GNOME_BlogApplet:
Failed to resolve, or extend
'!prefs_key=/apps/panel/applet_1/prefs;background=none:;orient=down;size=x-small;locked_down=false

Also, when gnome-blog-poster is run from terminal, it outputs a bunch of
messages saying that gtk.TRUE and gtk.FALSE is deprecated; True and False should
be used instead.

I hope this helps.
Comment 6 Leonardo Boshell (RETIRED) gentoo-dev 2005-05-28 06:25:22 UTC
Rouslan,
The gtk.TRUE and gtk.FALSE messages are warnings, not fatal errors. Does the
applet fail to load?

Bart,
Please attach the information requested on comment #4.
Comment 7 Rouslan Solomakhin 2005-05-28 07:40:02 UTC
(In reply to comment #6)
> Does the applet fail to load?
Yes, the panel applet for version 0.9 fails to load, sorry for being vague.

I don't really see how to go about debugging this thing. Since gnome-blog-0.9
application works (for me), pdb would be useless.
I tried strace on gnome-panel, but it just gave me a LOT of gtk-related events,
with one of them being something like "print ** (gnome-panel:12074): WARNING **:
panel-applet-frame.c:1240: failed to load applet
OAFIID:GNOME_BlogApplet:..."(just like the message I posted above).
I don't know if gdb is going to help, since gnome-panel itself does not fail(as
it seems), only the gtk-binded python applet does.

So, Leonardo, if you have any ideas on how I can provide more information, feel
free to suggest it.
Comment 8 John N. Laliberte (RETIRED) gentoo-dev 2005-06-25 08:27:49 UTC
can you try to re-emerge gnome-applets to see if that fixes the OAFIID problem?
Comment 9 Rouslan Solomakhin 2005-06-25 17:35:57 UTC
the application works flawlessly now. the applet fails to load because of
missing  python module gnome.applet. The module has been moved from gnome-python
to gnome-python-extras, which is not in portage. An ebuild is proposed in bug
93504 -- http://bugs.gentoo.org/show_bug.cgi?id=93504 . I am afraid it is
impossible to see of gnome-blog applet works without that package. Can someone
change the severity of that bug to "blocker", please?
Comment 10 Rouslan Solomakhin 2005-06-25 18:41:33 UTC
I have installed gnome-python-extras 2.11.2 using an ebuild from bug 93504.
Gnome-blog application works, but gnome-blog applet fails to load with the same
error as before. 

Am I the only one experiencing this problem?
Comment 11 foser (RETIRED) gentoo-dev 2005-06-26 02:47:04 UTC
the .server file has an incorrect path set.
Comment 12 Rouslan Solomakhin 2005-06-26 06:55:26 UTC
(In reply to comment #11)
> the .server file has an incorrect path set.

thanks, any quick way to fix that?
Comment 13 Leonardo Boshell (RETIRED) gentoo-dev 2005-06-27 10:27:29 UTC
Thanks for the hint foser, I've committed a fix for this.

Rouslan, could you please test gnome-blog-0.9 again? Make sure to update your
tree  and check that the fix's been propagated.
Comment 14 Rouslan Solomakhin 2005-06-28 13:15:00 UTC
Everything works very well now. Thanks to everyone who helped out.