gdesklets seems to be having some python problems with python 2.3 and pygtk, gnome-python, etc libs 2.0.0 (vs. the older ones). Upon startup I get this: mduckworth@pikachu mduckworth $ gdesklets You need a recent version of PyGTK to run this program. Traceback (most recent call last): File "/usr/bin/gdesklets", line 4, in ? from main import HOME File "/usr/share/gdesklets/main/__init__.py", line 51, in ? import gnome.ui ImportError: No module named gnome.ui I have at least one plugin emerged as well, followed directions closely, etc. In addition, re-emerging supporting libs like pyorbit or pygtk changes the error message in random ways, but it never fails to give me an error and not work - at all. Note this has been reproduced on two separate systems, both gentoo ~x86 Reproducible: Always Steps to Reproduce: 1. emerge gdesklets-core 2. emerge desklet-weather 3. gdesklets Actual Results: Program crashed instead of running, see above output Expected Results: Ran and displayed at least something. Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031212-r0, 2.6.0-test11) ================================================================= System uname: 2.6.0-test11 i686 AMD Athlon(tm) processor Gentoo Base System version 1.4.3.12 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://adelie.polymtl.ca" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi alsa apm arts avi berkdb bonobo cdr crypt cups curl dga dvd encode esd fbcon foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml guile imlib java jpeg libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sasl sdl slang spell ssl svga tcltk tcpd truetype x86 xinerama xml2 xmms xv zlib"
How fun. Did you remember to run /usr/portage/dev-lang/python/files/python-updater ?? if so, re-emerge pygtk and see.
If you're missing /usr/lib/python<ver>/site-packages/gtk-2.0/gnome/ui.so then it's a really case of gnome-python being messed up somehow, rather than a gdesklets specific bug. (That is if python-2.3 handles the modules the same way as 2.2 - I'm not sure on that.. where's liquidx).
Okay you guys were right about the python-update. I don't know that much about python else I wouldn't have missed that script on the update (when you have 60 updates it's hard sometimes to catch the messages ;-) ). On a related note, now that things are installed I'd say about 75% of desklets aren't working and say that $deskletname could not be configured properly, and recommends removal of that desklet. The desklet does not show and a gray rectangle shows in its place. Ones I'm interested that aren't working for me in particular is desklet-goodweather. Any suggestions?
Hi Mark, Could you please emerge -C gdesklets-core and any of your desklet-*'s installed, and remerge them ? Might be an upgrading issue, I'm not sure if python-updater catches all of them. Thanks.
Problem solved, thanks :)
Would be invalid but the python-updater seems to not catch the desklets (I don't really know how it works atm), so we did actually fix something.