gdesklets-daemon won't start

Bug #164314 reported by apezo
6
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/gdesklets/gdesklets-shell
./Shell/__init__.py:153: GtkDeprecationWarning: gtk.threads_init is deprecated, use gtk.gdk.threads_init instead
  gtk.threads_init()
Connecting to daemon [### ]The following error occurred: <exceptions.IOError instance at 0x2aba8d6f4fc8>

Connecting to daemon [ ### ]
==========================================================[11/21/07-13:11:58]===
=== Unhandled error! Something bad and unexpected happened. ===

[EXC]
in /usr/lib64/gdesklets/gdesklets-shell: line 9 ?
in /usr/lib64/gdesklets/shell/PluginRegistry.py: line 52 get_plugin
in /usr/lib64/gdesklets/shell/PluginRegistry.py: line 40 get_plugins_by_pattern
in /usr/lib64/gdesklets/shell/plugins/Shell/__init__.py: line 70 init
in /usr/lib64/gdesklets/shell/Plugin.py: line 18 _get_plugins_by_pattern
in /usr/lib64/gdesklets/shell/PluginRegistry.py: line 40 get_plugins_by_pattern
in /usr/lib64/gdesklets/shell/plugins/Profiles/__init__.py: line 14 init
in /usr/lib64/gdesklets/shell/Plugin.py: line 24 _get_plugin
in /usr/lib64/gdesklets/shell/PluginRegistry.py: line 52 get_plugin
in /usr/lib64/gdesklets/shell/PluginRegistry.py: line 40 get_plugins_by_pattern
in /usr/lib64/gdesklets/shell/plugins/gDeskletsClient/__init__.py: line 18 init
in /usr/lib64/gdesklets/shell/plugins/gDeskletsClient/__init__.py: line 25 __get_daemon
in /usr/lib64/gdesklets/main/client.py: line 288 get_daemon
[EXC]/usr/lib64/gdesklets/main/client.py

[---] 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/gdesklets/gdesklets-daemon
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/logs/gdesklets%3A0.0.log
there is nothing in log!

system is 64bit gentoo.
apezo@system ~ $ emerge --info
Portage 2.1.3.19 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r9 x86_64)
=================================================================
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/java-config: 1.3.7, 2.0.33-r1
dev-lang/python: 2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache: 2.4-r7
sys-apps/baselayout: 1.12.9-r2
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/gcc-config: 1.3.16
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.22-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en hr"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
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_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en hr" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

* gnome-extra/gdesklets-core
      Latest version available: 0.35.4
      Latest version installed: 0.35.4
      Size of files: 1,255 kB
      Homepage: http://www.gdesklets.de
      Description: GNOME Desktop Applets: Core library for desktop applets
      License: GPL-2

Revision history for this message
MarioGonzalez (gonzalemario) wrote :

 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?

Revision history for this message
MarioGonzalez (gonzalemario) wrote :

I think I have found the problem: the tiling.so library. How did I find it? display.TargetGroup imports the Tiling module and when something is wrong, that library even return a fail message, it returns anything. Just exit and the client will be waiting for a long while.

Now, tiling.so is made is C, I would have to start over and learn by myself how to avoid this and at least send a error message but it doesn't. Maybe somebody here can do it much faster than me. Do you know how can I test if a shared library if is broken or not?

Revision history for this message
Christian Meyer (chrisime) wrote : Re: [Bug 164314] Re: gdesklets-daemon won't start

There are several bugs in launchpad that address this issue. I don't
understand why everyone has to open a new one.

Revision history for this message
MarioGonzalez (gonzalemario) wrote :

Hello, I have read almost all open bugs and I believe any of them address this issue. Also I'm telling how this happen to me and how I think this can be fixed. I don't understand why you look a bit upset.

Christian, did I do something wrong?

Revision history for this message
Christian Meyer (chrisime) wrote :

Nope, sorry if you misunderstood, I'm not upset at all.

Revision history for this message
MarioGonzalez (gonzalemario) wrote :

On 22/11/2007, Christian Meyer <email address hidden> wrote:
> Nope, sorry if you misunderstood, I'm not upset at all.
>

oh, great! :-)

>

--
http://www.advogato.org/person/mgonzalez/

Revision history for this message
apezo (antonio-pezo) wrote :

i apologize for new open of the already reported same bug. i was a bit in a hurry and only later i saw that bug was already reported. NHF please.

Revision history for this message
Bjoern Koch (h.humpel) wrote :

As it is a dupe I change the status to "invalid".

Changed in gdesklets:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.