GNOME Bugzilla – Bug 427329
No more ClockApplet & more since upgrade to gnome 2.20
Last modified: 2009-02-23 22:10:41 UTC
Please describe the problem: After upgrade frome gnome2.16 to 2.18 on ArchLinux, the clock applet isn't working at all anymore. Here is the related extract from startx log : ------------------------ 8<---------------------------- ** (gnome-panel:2002): WARNING **: Failed to establish a connection with GDM: Aucun fichier ou répertoire de ce type ** (gnome-panel:2002): WARNING **: panel-applet-frame.c:1252: failed to load applet OAFIID:GNOME_ClockApplet: Impossible de résoudre ou d'étendre « !prefs_key=/apps/panel/applets/clock_screen0/prefs;background=none:;orient=up;size=x-small;locked_down=false » ------------------------ 8<---------------------------- The impossibility to connect to GDM is obvious, since I don't use GDM (nor kdm nor xdm)... However it worked fine with gnome 2.16. And it is impossible to re-add the clock applet to gnome-panel. Steps to reproduce: 1. Try to add the clock applet to gnome-panel on a gnome 2.18 installation not using gdm ? Actual results: A popup says that gnome-panel encountered a problem during OAFIID:GNOME_ClockApplet loading, and asks if I want to remove this applet from my configuration. Expected results: Something like a few numbers on the gnome-panel showing the time it is... Does this happen every time? Yes. Other information:
Forgot to say that just before the startx log gnome-applet error, I have a dbus error : ----------------------- 8< -------------------------- Initializing gnome-mount extension ** (nautilus:1999): WARNING **: Cannot connect to system bus: org.freedesktop.DBus.Error.FileNotFound : Failed to connect to socket /var/run/dbus/system_bus_ socket: Aucun fichier ou répertoire de ce type ** (nautilus:1999): WARNING **: Could not initialize hal context (nautilus:1999): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed (nautilus:1999): GLib-GObject-CRITICAL **: g_object_weak_ref: assertion `G_IS_OBJECT (object)' failed Shutting down gnome-mount extension ----------------------- 8< -------------------------- However it should not be related (or should it ? This is actually why I upgraded to 2.18...).
perhaps it's a distro issue, good question - has archlinux a bug tracking system?
Following your suggestion, I posted on http://bugs.archlinux.org/task/6949. Removing .gconf/apps/panel/applets/clock_screen0 and maybe (not sure if it's necessary) the .gconf/apps/panel/applets/applet_X directories for which "cat %gconf.xml | grep -i clock" gave results did the trick. This comment might be interesting -- or not --- for gnome developpers : "It's weird that gconf couldn't read out your old panel preferences correctly anymore, either something in it was flaky, or you found a new bug in gconf which breaks backwards compatibility in some cases." If it's not really a bug, maybe one can close this report...
Not sure if I have to update this bug report or create a new one, but... same issue while upgrading to gnome 2.20, and this time removing neither the gconf stuff as before nor all the .gconf* and .gnome* does not help (except for the trash applet and the notification area)... Moreover, the issue appears not only for the clock applet, but also for the window list applet, the show desktop applet, the workspace switcher applet, and presumably so on... Here is the xsession-errors related output : ---------------------------------------------------------- 8< ---------------------------------------------------------- ** (gnome-panel:8689): WARNING **: panel-applet-frame.c:1278: failed to load applet OAFIID:GNOME_ShowDesktopApplet: Failed to resolve, or extend « !prefs_key=/apps/panel/applets/applet_0/prefs;background=pixmap:23068865,-1,-1;orient=up;size=x-small;locked_down=false » ** (gnome-panel:8689): WARNING **: panel-applet-frame.c:1278: failed to load applet OAFIID:GNOME_ClockApplet: Failed to resolve, or extend « !prefs_key=/apps/panel/applets/applet_1/prefs;background=pixmap:23068865,-1,-1;orient=up;size=x-small;locked_down=false » ** (gnome-panel:8689): WARNING **: panel-applet-frame.c:1278: failed to load applet OAFIID:GNOME_WindowListApplet: Failed to resolve, or extend « !prefs_key=/apps/panel/applets/applet_2/prefs;background=pixmap:23068865,-1,-1;orient=up;size=x-small;locked_down=false » ** (gnome-panel:8689): WARNING **: panel-applet-frame.c:1278: failed to load applet OAFIID:GNOME_WorkspaceSwitcherApplet: Failed to resolve, or extend « !prefs_key=/apps/panel/applets/applet_3/prefs;background=pixmap:23068865,-1,-1;orient=up;size=x-small;locked_down=false » ---------------------------------------------------------- 8< ----------------------------------------------------------
If: You can fix this problem by re-installing the gnome packages - then this is probably the same as bug 495395. And you can mark 495395 as a dup of this bug or what ever new bug report that Skippy le Grand Gourou put together. However, I believe once you fix the problem by re-installing the gnome package - applets will only load for that particular geometry. For instance, when I start a vncserver / vncviewer session, none of the applets on the gnome panel load. And I get the gnome applet error popup for each failing applet. This only started for me recently. Either near the end of using Fedora 7 (since my last Fedora 7 yum update session) or after installing Fedora 8. So, I would say the problem was introduced within the past year or even within the last 6 months. The most annoying side effect is that you can not minimize any of your applications as there is no applet to restore applications after they are minimized. They just disappear.
This also happens on Debian and Ubuntu since 2.20, with the clock applet, tomboy and other applets: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=454915 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=455079 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=443792
Setting the bug to confirmed because of the number of duplicates. Also this seems to happen with gnome-panel/gnome-applets 2.20 and above only if I'm not mistaken...
I suspect this comes from e-d-s and/or b-a-s. When this bug happens, e-d-s doesn’t exit and b-a-s remains here as well. If you log in again, panel applets don’t load. Killing b-a-s fixes the issue. For at least one of the bugs, it is almost certain that it happened right after an upgrade of evolution-data-server from 1.12.1 to 1.12.2.
What is b-a-s? I know e-d-s is evolution-data-server. I've been getting this in Debian (testing/unstable) for a week or so.
b-a-s is bonobo-activation-server, and one of the symptoms of this bug is this process remaining active after the session has ended.
The clock applet is working for me now in Debian testing. gnome-panel version: 2.20.3-1 Versions of packages gnome-panel depends on: ii gnome-about 2.20.3-1 ii gnome-control-center 1:2.20.3-1 ii gnome-desktop-data 2.20.3-1 ii gnome-menus 2.20.3-1 ii gnome-panel-data 2.20.3-1 ii libatk1.0-0 1.20.0-1 ii libbonobo2-0 2.20.3-1 ii libbonoboui2-0 2.20.0-1 ii libc6 2.7-6 ii libcairo2 1.4.14-1 ii libdbus-glib-1-2 0.74-1 ii libecal1.2-7 1.12.3-1 ii libedataserver1.2-9 1.12.3-1 ii libedataserverui1.2-8 1.12.2-1+b1 ii libgconf2-4 2.20.1-2+b1 ii libglade2-0 1:2.6.2-1 ii libglib2.0-0 2.14.5-2 ii libgnome-desktop-2 2.20.3-1 ii libgnome-menu2 2.20.3-1 ii libgnome2-0 2.20.1.1-1 ii libgnomeui-0 2.20.1.1-1 ii libgnomevfs2-0 1:2.20.1-1 ii libgtk2.0-0 2.12.5-2 ii liborbit2 1:2.14.10-0.1 ii libpanel-applet2-0 2.20.3-1 ii libpango1.0-0 1.18.4-1 ii libwnck22 2.20.3-1 ii libx11-6 2:1.0.3-7 ii libxau6 1:1.0.3-2 ii menu-xdg 0.3 Versions of packages gnome-panel recommends: ii alacarte 0.11.3-1 ii evolution-data-server 1.12.3-1 ii gnome-applets 2.20.1-2 ii gnome-icon-theme 2.20.0-1 ii gnome-session 2.20.3-1
Skippy: Is this still an issue?
I don't know, I'm using AWN since a while, and as I'm away from home for vacations I guess I'll forget to check that when I'm back…
So?
This should be fixed in 2.24 now that bonobo-activation-server is started with the session bus.
I just tried to launch a gnome-panel from an existing session, seems to work now (Gnome 2.24.2). :)
I'll mark as OBSOLETE rather than NEW ;-) Thanks for your feedback!