gdesklets-daemon won't start
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gDesklets |
Invalid
|
Undecided
|
Unassigned |
Bug Description
gdesklets won't start. i assume that there is a problem with gdesklets-daemon but not sure.
system ~ # /usr/lib64/
./Shell/
gtk.threads_
Connecting to daemon [### ]The following error occurred: <exceptions.IOError instance at 0x2aba8d6f4fc8>
Connecting to daemon [ ### ]
=======
=== Unhandled error! Something bad and unexpected happened. ===
[EXC]
in /usr/lib64/
in /usr/lib64/
in /usr/lib64/
in /usr/lib64/
in /usr/lib64/
in /usr/lib64/
in /usr/lib64/
in /usr/lib64/
in /usr/lib64/
in /usr/lib64/
in /usr/lib64/
in /usr/lib64/
in /usr/lib64/
[EXC]/usr/
[---] 283 daemon = connection
[---] 284 if (daemon):
[---] 285 break
[---] 286 except socket.error:
[---] 287 pass
[ERR]> 288 time.sleep(0.1)
[---] 289
[---] 290 print "\r" + " " * 40 + "\r",
[---] 291
[---] 292 if (not daemon):
[---] 293 sys.exit(_("Cannot establish connection to daemon: timeout!\n"
[---] 294 "The log file might help you solving the problem."))
system ~ # /usr/lib64/
The following error occurred: <exceptions.IOError instance at 0x2ae7c347cfc8>
apezo@system ~ $ gdesklets start
Starting gdesklets-daemon...
Cannot establish connection to daemon: timeout!
The log file might help you solving the problem.
--- Log File --- cat .gdesklets/
there is nothing in log!
system is 64bit gentoo.
apezo@system ~ $ emerge --info
Portage 2.1.3.19 (default-
=======
System uname: 2.6.22-gentoo-r9 x86_64 Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz
Timestamp of tree: Sun, 18 Nov 2007 23:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash: 3.2_p17
dev-java/
dev-lang/python: 2.4.4-r6
dev-python/
dev-util/ccache: 2.4-r7
sys-apps/
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.18-r1
sys-devel/
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.22-r2
ACCEPT_
CBUILD=
CFLAGS="-O2 -pipe"
CHOST="
CONFIG_
CONFIG_
CXXFLAGS="-O2 -pipe"
DISTDIR=
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://
LINGUAS="en hr"
MAKEOPTS="-j3"
PKGDIR=
PORTAGE_
PORTAGE_
PORTDIR=
SYNC="rsync:
USE="7zip X acl acpi alsa amd64 arts berkdb bitmap-fonts bzip2 cairo caps cdr cli cracklib crypt cups dbus doc dri dvd dvdr dvdread eds emboss encode esd evo fam ffmpeg firefox fontconfig fortran gd gdbm gif gimpprint glib gnome gpm gstreamer gthktml gtk hal iconv isdnlog java jpeg jpeg2k kde kerberos ldap mad midi mikmod mmx mp3 mpeg mudflap mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcre pdf perl php pic png ppds pppd python qt3 qt3support qt4 quicktime rdesktop readline reflection sdl session slang spell spl sse sse2 ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode usb vorbis xinerama xml xorg xpm xv zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_
Unset: CPPFLAGS, CTARGET, EMERGE_
* gnome-extra/
Latest version available: 0.35.4
Latest version installed: 0.35.4
Size of files: 1,255 kB
Homepage: http://
Description: GNOME Desktop Applets: Core library for desktop applets
License: GPL-2
It's a weird bug. I've got installed Mandriva2008 in my box and it doesn't happen. However I ran a virtual machine and I tested gdesklet in Debian and I can confirm this bug. I'm trying to fix it but the debugging process isn't very clean.
When a client detect that the daemon isn't running it executes some routines to start it but if the client hasn't got a good answer it sleeps 0.1 seconds. I discovered inside gdesklets-daemon, function _gdesklets_main() fails when import the Started() class. However the __init__ hasn't got any try/except. I thought the bug exists because some method didn't trap any error and it just returned a "pass".
p.s sorry my English :-( I don't if you can get the idea?