Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36042 - gdesklets 0.24.1 does not run
Summary: gdesklets 0.24.1 does not run
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-17 21:50 UTC by Mark Duckworth
Modified: 2003-12-30 18:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Duckworth 2003-12-17 21:50:47 UTC
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"
Comment 1 Spider (RETIRED) gentoo-dev 2003-12-18 02:04:23 UTC
How fun.
Did you remember to run /usr/portage/dev-lang/python/files/python-updater ??

if so, re-emerge pygtk and see.
Comment 2 Mike Gardiner (RETIRED) gentoo-dev 2003-12-18 06:39:24 UTC
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).
Comment 3 Mark Duckworth 2003-12-18 08:43:17 UTC
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?
Comment 4 Mike Gardiner (RETIRED) gentoo-dev 2003-12-29 18:51:57 UTC
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.
Comment 5 Mark Duckworth 2003-12-29 19:23:28 UTC
Problem solved, thanks :)
Comment 6 Mike Gardiner (RETIRED) gentoo-dev 2003-12-30 18:40:03 UTC
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.