When adding the applet to the panel I get The panel encountered a problem while loading "OAFIID:GNOME_Panflute_Applet". ~/.xsession-errors says: ** (gnome-panel:7894): WARNING **: Failed to load applet OAFIID:GNOME_Panflute_Applet: failed to get Bonobo/Control interface: $ einfo gnome-extra/panflute Portage 2.2.0_alpha26 (unavailable, gcc-4.5.2, glibc-2.12.2-r0, 2.6.37-lh-r1 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.37-lh-r1-x86_64-Intel-R-_Core-TM-_i7_CPU_860_@_2.80GHz-with-gentoo-2.0.1 Timestamp of tree: Unknown ccache version 3.1.4 [enabled] dev-lang/python: 2.6.6-r2::gentoo, 2.7.1-r1::gentoo, 3.1.3-r1::gentoo sys-devel/autoconf: 2.13::gentoo, 2.68::gentoo sys-devel/automake: 1.9.6-r3::gentoo, 1.10.3::gentoo, 1.11.1::gentoo sys-devel/binutils: 2.21::gentoo sys-devel/libtool: 2.4-r1::last-hope virtual/os-headers: 2.6.36.1::gentoo (sys-kernel/linux-headers) Repositories: x-portage sunrise dummy science last-hope Installed sets: ACCEPT_LICENSE="*" CFLAGS="-O2 -pipe -march=core2 -mcx16 -msahf -mpopcnt -msse4.2 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -frecord-gcc-switches -g -Wimplicit-function-declaration" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/nano/ /usr/share/openvpn/easy-rsa /var/spool/torque" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -march=core2 -mcx16 -msahf -mpopcnt -msse4.2 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -frecord-gcc-switches -g -Wenum-compare" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="-t --jobs=12 --load-average=12 --keep-going" FEATURES="assume-digests binpkg-logs buildsyspkg ccache collision-protect distlocks fixlafiles fixpackages metadata-transfer multilib-strict news noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms sign split-log splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" GENTOO_MIRRORS=" http://gentoo.j-schmitz.net/mirror/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/data/local/sunrise/reviewed /data/local/dummy /data/local/sci /data/local/lh/ebuilds" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="64bit 7zip X acpi additions alsa arpwarp atlas bash-completion blas branding c++ cairo caps cblas ccache cleartype command-args consolekit corefonts cupsddk custom-optimization cxx dbus dts exif fbcondecor gif glibc-omitfp gmp gnome gnome-keyring graphics gstreamer gtk hddtemp icu ipod javascript jpeg kqemu lapack largefile lcms ldap libnotify libsexy lm_sensors lzma mailtrain md5sum mmx mng mp3 multiuser nagios-dns nagios-ntp nagios-ping nagios-ssh nano-syntax network-cron nis nsplugin objc objc++ opengl openntpd pam pdf png policykit pymol qt-static qt3support rrdcgi rrdtool science sensord smp sqlite sqlite3 sse sse2 startup-notification svg system-sqlite threads tiff truetype type1 udev x264 xcb xcomposite xinerama xulrunner" Unset: ACCEPT_KEYWORDS, PORTAGE_BUNZIP2_COMMAND ================================================================= Package Settings ================================================================= gnome-extra/panflute-0.6.2 was built with the following: USE="gnome libnotify -mpd" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common"
Missing USE="bonobo" on gnome-panel maybe ?
No and I rebuilt it. gnome-base/gnome-panel Available versions: 2.30.2 (~)2.32.1 2.32.1-r1 {+bonobo doc eds +introspection networkmanager policykit} Installed versions: 2.32.1-r1(15:15:44 07/03/11)(bonobo -doc -eds -introspection -networkmanager)
What gnome-base/libbonobo version are you using? Have you tried to logout/login after installing panflute?
[I] dev-python/libbonobo-python (2.28.1(2)@26/12/10): Python bindings for the Bonobo framework [I] gnome-base/libbonobo (2.24.3@05/01/11): GNOME CORBA framework [I] gnome-base/libbonoboui (2.24.4-r1@28/01/11): User Interface part of libbonobo It worked for quite some time, but a recent update broke it.
Probably related to https://answers.launchpad.net/panflute/+question/100815 I will test the gnome python packages.
After emerging everything with gnome and python, py , alsa and what ever in it, I see this error in .local/share/panflute/applet.stderr Traceback (most recent call last): File "/usr/libexec/panflute-applet", line 42, in applet_factory panflute.applet.applet.Applet (applet) File "/usr/lib64/python2.6/site-packages/panflute/applet/applet.py", line 88, in __init__ self.__conf.connect_bool ("show_notifications", self.__show_notifications_changed_cb, call_now = True) File "/usr/lib64/python2.6/site-packages/panflute/applet/conf.py", line 78, in connect_bool callback (self.get_bool (key)) File "/usr/lib64/python2.6/site-packages/panflute/applet/applet.py", line 338, in __show_notifications_changed_cb self.__notification = self.__create_notification () File "/usr/lib64/python2.6/site-packages/panflute/applet/applet.py", line 355, in __create_notification notification = pynotify.Notification (" ", "", None, None) TypeError: Notify.Notification.__init__() takes at most 3 arguments (4 given) ** (panflute-applet:17151): WARNING **: need to free the control here
(In reply to comment #6) > After emerging everything with gnome and python, py , alsa and what ever in it, > I see this error in Forgot to recompile notify-python after libnotify upgrade?
no still same error.
Changing notification = pynotify.Notification (" ", "", None, None) to notification = pynotify.Notification (" ", "", None) makes it work again.
Cleaned system and panflute is still working. So it is the notify thing
wouldn't it be possible for notify-python to have the 4th argument with a default value ?
(In reply to comment #11) > wouldn't it be possible for notify-python to have the 4th argument with a > default value ? The 4th argument gets forwarded to libnotify as function notify_notification_new which accepts only 3 arguments since 0.7.x. I'm not sure how would one patch notify-python in a way it accepts 4 arguments, but only sends 3 out to libnotify. Meanwhile panflute's code could just get fixed like in Comment #9 based on `has_version ">=x11-libs/libnotify-0.7" && epatch one-argument-less.patch" And then we can just drop that hack once libnotify-0.7.x goes stable and we don't have to care about the obsolete API anymore
Fixed by these: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/panflute/panflute-0.6.2.ebuild?r1=1.3&r2=1.4 http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/notify-python/ChangeLog?r1=1.27&r2=1.28