FS#6949 - No more ClockApplet since upgrade to gnome 2.18

Attached to Project: Arch Linux
Opened by SkippyleGrandGourou (SkippyleGrandGourou) - Tuesday, 17 April 2007, 21:15 GMT
Last edited by Jan de Groot (JGC) - Wednesday, 18 April 2007, 22:14 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Medium
Priority Normal
Reported Version 0.8 Voodoo
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Here is a report I posted on http://bugzilla.gnome.org/show_bug.cgi?id=427329 where someone asked "perhaps it's a distro issue, good question - has archlinux a bug tracking system ?".

After upgrade frome gnome2.16 to 2.18, 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: No such file or directory

** (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 : 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.


Just before the startx log gnome-applet error, I have a also dbus error, which should not be related since it happened before the gnome upgrade (this is actually the reason why I upgraded...), but I send it just in case :
----------------------- 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: No such file or directory

** (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< --------------------------
This task depends upon

Closed by  Jan de Groot (JGC)
Wednesday, 18 April 2007, 22:14 GMT
Reason for closing:  Works for me
Comment by Roman Kyrylych (Romashka) - Tuesday, 17 April 2007, 21:43 GMT
Hm, with GDM it works fine here.
Comment by Jan de Groot (JGC) - Tuesday, 17 April 2007, 22:10 GMT
Could you reinstall gnome-panel and see if it fixes your problem? It looks like there's something messed up with GConf schema registration. Also, please try a different locale like plain C or en_US.utf-8, it makes the error message far more readable (or maybe it's a locale issue)
Comment by SkippyleGrandGourou (SkippyleGrandGourou) - Wednesday, 18 April 2007, 20:10 GMT
Nice shot, Jan. I didn't think about this, but 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. The GDM connection issue is not related (it's still there, even when removing the whole .gconf and .gnome2 directories).

Sorry for that...
Comment by Jan de Groot (JGC) - Wednesday, 18 April 2007, 21:54 GMT
The GDM warning can be ignored, gnome-panel tries to connect to gdm to offer you a shutdown menu option in the system menu. The other errors/warnings can be fixed by starting hal from /etc/rc.conf (doing so is advised, a lot of gnome and KDE apps use hal nowadays).

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.
Comment by SkippyleGrandGourou (SkippyleGrandGourou) - Wednesday, 18 April 2007, 22:04 GMT
A shutdown menu option... Exactly what I'm looking for... :'( (I know it has been removed from gnome to be include in gdm since 2.10)

Anyway, thanks for all, I'll check hal stuff and post the solution for the ClockApplet on bugzilla.gnome.org.

I think this task can be closed now.

Loading...