I just upgraded from Python 2.5 to 2.6 and gDesklets no longer works. I have run python-updater, revdep-rebuild, and cleared all gDesklet setttings. After some searching on Google it appears other distros are having this issue as well. This may have to be handled upstream, but I don't know. Portage 2.1.6.11 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r1 x86_64) ================================================================= System uname: Linux-2.6.29-gentoo-r1-x86_64-Intel-R-_Xeon-R-_CPU_X5460_@_3.16GHz-with-gentoo-2.0.0 Timestamp of tree: Tue, 14 Apr 2009 01:45:03 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.0_p17 dev-java/java-config: 2.1.7 dev-lang/python: 2.6.1-r1 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.6.3-r1 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r1 sys-apps/sandbox: 1.9 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=core2 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.utf8" LDFLAGS="-Wl,-O1" MAKEOPTS="-j8" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 acl acpi alsa amd64 avahi bash-completion berkdb branding bzip2 cairo caps cddb cdr cracklib crypt cups dbus dvd dvdr eds encode exif fam ffmpeg flac fuse gdbm gif gnome gnome-keyring gnutls gpm gstreamer gtk hal iconv java jpeg kerberos ldap libedit libnotify lzma lzo mad midi mmx mng mono mp3 mpeg mudflap multilib nautilus ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppds profile pulseaudio python readline samba sdl slang smp spell sse sse2 ssl startup-notification svg symlink sysfs syslog tcpd theora threads tiff truetype unicode usb vorbis wmf x264 xattr xml xorg xpm xulrunner xv xvid zeroconf zlib" ALSA_CARDS="hda-intel" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY Reproducible: Always Steps to Reproduce: 1.emerge python 2.6 2. Run gDesklets. 3. Actual Results: Starting gdesklets-daemon... Connecting to daemon [ ### ] ==========================================================[04/13/09-08:45:43]=== Could not import tiling module! Connecting to daemon [ ### ] Expected Results: gDesklets should run. http://forums.gentoo.org/viewtopic-t-755615.html
Created attachment 188455 [details, diff] gdesklet import override patch (from Arch Linux) Using this patch from Arch linux seems to fix the bug.
Created attachment 188457 [details] updated ebuild to use the no-import-override patch
This is definitely an upstream issue. There was some brief discussion on the ml (http://mail.gnome.org/archives/gdesklets-list/2009-March/msg00004.html) but it looks like noone has been brave enough to tackle it yet. ArchLinux hasn't filed an upstream bug with their patch, so can you please do it Yozo? https://bugs.launchpad.net/bugs/344079 seems to be a good place for it. I won't be committing anything until there's some approval from upstream. In the meantime, I will put a blocker on >python-2.5.
ebuilds with adjusted dependencies (for <dev-lang/python-2.6) are in portage CVS. We'll have to come back to this one later when upstream has a 2.6-capable solution (which may involve backporting the patch). In the meantime, please file that bug upstream. Thanks!
The patch posted at https://bugs.launchpad.net/gdesklets/+bug/344079/comments/5 is applied in gnome-extra/gdesklets-core-0.36.1-r1. Please resync and test it out - it appears to be working for me.