After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 427329 - No more ClockApplet & more since upgrade to gnome 2.20
No more ClockApplet & more since upgrade to gnome 2.20
Status: RESOLVED OBSOLETE
Product: gnome-applets
Classification: Other
Component: general
unspecified
Other All
: Normal critical
: ---
Assigned To: gnome-applets Maintainers
gnome-applets Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-04-07 17:17 UTC by Skippy le Grand Gourou
Modified: 2009-02-23 22:10 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20



Description Skippy le Grand Gourou 2007-04-07 17:17:50 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:
Comment 1 Skippy le Grand Gourou 2007-04-07 17:21:37 UTC
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...).
Comment 2 André Klapper 2007-04-11 19:04:54 UTC
perhaps it's a distro issue, good question - has archlinux a bug tracking system?
Comment 3 Skippy le Grand Gourou 2007-04-18 22:11:50 UTC
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...
Comment 4 Skippy le Grand Gourou 2007-10-13 11:42:43 UTC
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< ----------------------------------------------------------
Comment 5 stuart 2007-11-12 20:00:06 UTC
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.
Comment 6 Sebastian Dröge (slomo) 2007-12-09 03:56:38 UTC
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
Comment 7 Sebastian Dröge (slomo) 2007-12-09 04:01:57 UTC
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...
Comment 8 Josselin Mouette 2008-01-05 01:30:42 UTC
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.
Comment 9 Ted Percival 2008-01-18 13:51:25 UTC
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.
Comment 10 Josselin Mouette 2008-01-18 13:57:59 UTC
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.
Comment 11 Ted Percival 2008-02-07 09:32:44 UTC
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
Comment 12 André Klapper 2008-08-14 16:59:33 UTC
Skippy: Is this still an issue?
Comment 13 Skippy le Grand Gourou 2008-08-14 17:08:34 UTC
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…
Comment 14 Tobias Mueller 2009-02-23 19:27:14 UTC
So?
Comment 15 Josselin Mouette 2009-02-23 21:11:29 UTC
This should be fixed in 2.24 now that bonobo-activation-server is started with the session bus.
Comment 16 Skippy le Grand Gourou 2009-02-23 21:56:12 UTC
I just tried to launch a gnome-panel from an existing session, seems to work now (Gnome 2.24.2). :)
Comment 17 Tobias Mueller 2009-02-23 22:10:41 UTC
I'll mark as OBSOLETE rather than NEW ;-) Thanks for your feedback!