Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 109822 - gdesklets does not run, python problem
Summary: gdesklets does not run, python problem
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: gDesklets packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-19 08:34 UTC by Juanma
Modified: 2005-10-25 14:31 UTC (History)
1 user (show)

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 Juanma 2005-10-19 08:34:54 UTC
gdesktlets crashes and does not run properly

Reproducible: Always
Steps to Reproduce:
1. emerge gdesklets
2. go to applications menu - accesories - gdesklets
3. or run gdesklet from any terminal

Actual Results:  
juanma ~ # gdesklets
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/gdesklets/utils/__init__.py", line 23, in _pretty_excepthook
    deep_trace = True)
  File "/usr/lib/gdesklets/utils/ErrorFormatter.py", line 76, in format
    import vfs
  File "/usr/lib/gdesklets/utils/ErrorFormatter.py", line 119, in _new_imp
    module = _old_imp(name, globs, locls, fromlist)
  File "/usr/lib/gdesklets/utils/vfs.py", line 120, in ?
    exists = exists_urllib2
NameError: name 'exists_urllib2' is not defined

Original exception was:
Traceback (most recent call last):
  File "/usr/bin/gdesklets", line 4, in ?
    from main.DisplayList import DisplayList
  File "/usr/lib/gdesklets/utils/ErrorFormatter.py", line 119, in _new_imp
    module = _old_imp(name, globs, locls, fromlist)
  File "/usr/lib/gdesklets/main/DisplayList.py", line 4, in ?
    from utils import vfs
  File "/usr/lib/gdesklets/utils/ErrorFormatter.py", line 119, in _new_imp
    module = _old_imp(name, globs, locls, fromlist)
  File "/usr/lib/gdesklets/utils/vfs.py", line 120, in ?
    exists = exists_urllib2
NameError: name 'exists_urllib2' is not defined



Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2,
2.6.13-gentoo-r3 i686)
=================================================================
System uname: 2.6.13-gentoo-r3 i686 Intel(R) Pentium(R) M processor 1.70GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -pipe -march=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks prelink sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.seren.com/gentoo
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo
http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 X adns alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl dvd
eds emboss encode esd fam foomaticdb fortran gdbm gif gnome gpm gstreamer gtk
gtk2 imlib ipv6 jpeg libg++ libwww mad mikmod motif mozilla mp3 mpeg ncurses nls
ogg oggvorbis opengl oss pam pdflib perl png python quicktime readline samba sdl
spell ssl tcpd tiff truetype truetype-fonts type1-fonts vorbis win32codecs xml2
xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Joe Sapp (RETIRED) gentoo-dev 2005-10-23 18:20:48 UTC
IIRC, this is a result of not having gnome-python-extras installed.  Do you have
gnome-python-extras installed?  Is this gdesklets-core-0.34.3-r1?
Comment 2 Juanma 2005-10-24 00:28:54 UTC
I've been able to solve the problem. I just had to run python-updater, I had
gnome-python-extras installed. Now gdesklets is working perfectly. So the bug
should be closed.
Comment 3 Joe Sapp (RETIRED) gentoo-dev 2005-10-24 09:45:17 UTC
Good to hear, thanks.
Comment 4 Fabrizio Prosperi 2005-10-24 13:18:41 UTC
Just to let you know, I also have gnome-python-extras installed, and
gnome-extra/gdesklets-core-0.34.3-r1  but when I run python-updater I get the
following error on the only dependency left to rebuild, on  x11-libs/vte-0.11.13-r2

tosh / # /usr/sbin/python-updater 
 * Starting Python Updater from 2.3 to 2.4 :
 * Searching for packages with files in /usr/lib/python2.3 /usr/lib32/python2.3
                                                             /usr/lib64/python2.3 ..
   Adding to list: x11-libs/vte-0.11.13-r2
 * Calculating Upgrade Package List ..
 * Re-ordering packages to merge ..
 * Preparing to merge these packages in this order:
   x11-libs/vte-0.11.13-r2
 * Starting to merge (1/1) x11-libs/vte-0.11.13-r2 ..
Calculating dependencies ...done!
>>> emerge (1 of 1) x11-libs/vte-0.11.13-r2 to /
>>> md5 files   ;-) vte-0.11.13-r2.ebuild
>>> md5 files   ;-) vte-0.11.15.ebuild
>>> md5 files   ;-) files/vte-line-scroll.patch
>>> md5 files   ;-) files/digest-vte-0.11.15
>>> md5 files   ;-) files/digest-vte-0.11.13-r2
>>> md5 files   ;-) files/vte-0.11.13-memory_fix.patch
>>> md5 files   ;-) files/vte-no_lazy_bindings.patch
>>> md5 src_uri ;-) vte-0.11.13.tar.bz2
>>> Unpacking source...
>>> Unpacking vte-0.11.13.tar.bz2 to /var/tmp/portage/vte-0.11.13-r2/work
 * Applying vte-line-scroll.patch ...                                     [ ok ]
 * Applying vte-0.11.13-memory_fix.patch ...                              [ ok ]
 * Applying vte-no_lazy_bindings.patch ...                                [ ok ]
 * Running aclocal
/usr/share/aclocal/smpeg.m4:13: warning: underquoted definition of AM_PATH_SMPEG
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/pth.m4:43: warning: underquoted definition of _AC_PTH_ERROR
/usr/share/aclocal/pth.m4:55: warning: underquoted definition of _AC_PTH_VERBOSE
/usr/share/aclocal/pth.m4:61: warning: underquoted definition of AC_CHECK_PTH
/usr/share/aclocal/path_dps.m4:202: warning: underquoted definition of AC_PATH_D
                                                            PS_GUESS_GNUSTEP
/usr/share/aclocal/path_dps.m4:239: warning: underquoted definition of AC_PATH_D
                                                            PS_GUESS
/usr/share/aclocal/path_dps.m4:333: warning: underquoted definition of AC_PATH_D
                                                            PS_CHECK_LIB
/usr/share/aclocal/path_dps.m4:405: warning: underquoted definition of AC_PATH_D
                                                            PS_CHECK_HEADER
/usr/share/aclocal/path_dps.m4:440: warning: underquoted definition of AC_PATH_D
                                                            PS_CHECK
/usr/share/aclocal/path_dps.m4:450: warning: underquoted definition of AC_PATH_D
                                                            PS
/usr/share/aclocal/path_dps.m4:525: warning: underquoted definition of AC_CHECK_
                                                            DPS_NXAGENT
/usr/share/aclocal/path_dps.m4:558: warning: underquoted definition of AC_PATH_D
                                                            PSET
/usr/share/aclocal/path_dps.m4:579: warning: underquoted definition of AC_PROG_P
                                                            SWRAP
/usr/share/aclocal/path_dps.m4:172: file `path_dps.m4' does not exist

!!! ERROR: x11-libs/vte-0.11.13-r2 failed.
!!! Function src_unpack, Line 51, Exitcode 1
!!! Aclocal failed
!!! If you need support, post the topmost build error, NOT this status message.

 * Failed merging x11-libs/vte-0.11.13-r2 (1/1)!

 * ************************************************************
 * * Packages that still need to be manually emerged :        *
 * ************************************************************

 *  Failed Packaged:
 *  ----------------
 *  These packages have failed and need to be re-emerged again.
 *  Alternatively, try re-running this script again to see if it
 *  can be fixed.

 *  emerge -p  \=x11-libs/vte-0.11.13-r2
Comment 5 Joe Sapp (RETIRED) gentoo-dev 2005-10-25 14:31:09 UTC
This doesn't really look at all related to gdesklets, but rather probably an
x11-libs/vte issue.