When I try to run adesklets, I receive an error regarding ls. One or two updates ago adesklets stopped starting up with X (it's in my .xinitrc). The error is: $ adesklets ls: /tmp/*adesklets_fifo*: No such file or directory Some helpful info: $ emerge -pv adesklets These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] x11-misc/adesklets-0.5.1 USE="X python -ctrlmenu -debug" 0 kB Total size of downloads: 0 kB $ cat .adesklets # This is adesklets configuration file. # # It gets automatically updated every time a desklet main window # parameter is changed, so avoid manual modification whenever # a desklet is running. In fact, manual changes to this file # should rarely be needed. See `info adesklets'. [/home/chris/.adesklet_storage/modubar-0.0.1/modubar.py] id=0 screen=0 x=0 y=0 $ emerge --info Portage 2.1_pre5-r4 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.14-covracer-r4 i686) ================================================================= System uname: 2.6.14-covracer-r4 i686 Intel(R) Celeron(R) CPU 1.70GHz Gentoo Base System version 1.12.0_pre16 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-lang/python: 2.3.5, 2.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 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.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-mtune=pentium4 -march=pentium4 -O2 -pipe -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.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-mtune=pentium4 -march=pentium4 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.math.bme.hu http://mirror.datapipe.net/gentoo" LANG="en_US" LC_ALL="en_US" LINGUAS="en de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="x86 3ds X a52 aac acpi aim alsa amd apache2 asm asterisk avi bash-completion berkdb bitmap-fonts bl bluetooth calendar cddb cdparanoia chroot crypt css cups curlwrappers dbase dbus dga directfb doc dri dts dv dvd dvdr dvdread editor eds emboss encode esd fbcon festival ffmpeg firefox flac font-server foomaticdb fortran fpx ftp fuse gcj gdbm geoip gif gimp glep glx gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 http httpd image imlib ipv6 irc jabber java javascript jbig jce jikes jp2 jpeg jpeg2k libcaca libclamav libg++ libwww mad mapeditor maps mbrola md5sum mikmod ming mixer mjpeg mng mod motif mp3 mpeg mplayer msn music musicbrainz ncurses net network nls no-old-linux nocd nptl nptlonly nsplugin ntlm nvidia oav offensive ofx ogg oggvorbis openexr opengl oscar oss pam pam-mysql pdf pdflib perl plotutils png posix ppds python qt quicktime rar readline real reiserfs rhythmbox rogue rss samba screen sdl server sharedmem shorten silc simplexml skey slp smime sockets speex spell sql ssl subtitles svg symlink syslog sysvipc tcpd tga theora tidy tiff truetype truetype-fonts type1-fonts unicode utf8 vcd videos vorbis win32codecs wmf wordperfect wxwindows xml2 xmms xpm xv xvmc yahoo zlib elibc_glibc kernel_linux linguas_en linguas_de userland_GNU" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS
Some French Ubuntu users seem to be experiencing the same problem (only google result I could find). Perhaps a solution will splash into existence on that topic. See http://forum.ubuntu-fr.org/viewtopic.php?pid=223941 (with babelfish or whatever as necessary).
The problem goes away when you try to register some desklet with adesklets (tried with anetmon).
When I went and tried to register anetmon (installed with the fancy new autodownloader, although I do think having the desklets as USE flags or packages and being able to emerge them would be nice) I found the following: $ ./anetmon.py Traceback (most recent call last): File "./anetmon.py", line 38, in ? import adesklets File "/usr/lib/python2.4/site-packages/adesklets/__init__.py", line 33, in ? from adesklets.utils import * File "/usr/lib/python2.4/site-packages/adesklets/utils.py", line 4, in ? from commands import version ImportError: cannot import name version There's also a typo/language shift ("egal") in the comments but if that was worth reporting I guess it would go up upstream...
Before you use anetmon you have to emerge dev-python/pystatgrab...
The spurious message: ls: /tmp/*adesklets_fifo*: No such file or directory is insignificant: it only says that there were no named pipe to clean up from the previous session; it shouldn't be outputted anyway, and it has been suppressed upstream[1]. From the last post, we know Christophers' desklets do not start because the detected install of the Python bindings is broken. I just checked the 0.5.1 ebuild in portage, and I couldn't find anything wrong with it; my guess so far would be that there are left-overs of previous (manual) adesklets installs in the system (from a version around 0.4.7); my suggestion would be to unmerge adesklets, make sure the system is clean (you should then get an import error on "python -c 'import adesklets'", and not the current trace), then re-emerge it. [1]http://adesklets.sourceforge.net/cgi-bin/gitweb.cgi?p=adesklets.git;a=commit;h=47f769303af2136b7e6a3c836bceb86f8c7ab2e0
Any news on your issue, Christopher? I'm readying the INVALID resolution button...
I've reinstalled adesklets twice, but every time I get the same error. $ ./modubar.py Traceback (most recent call last): File "./modubar.py", line 52, in ? import adesklets File "/usr/lib/python2.4/site-packages/adesklets/__init__.py", line 33, in ? from adesklets.utils import * File "/usr/lib/python2.4/site-packages/adesklets/utils.py", line 4, in ? from commands import version ImportError: cannot import name version I've been using the installer that now is packaged with adesklets, although I don't think that that should make any difference.
Oh yeah, this is what I get when I emerge -C adesklets and run "python -c 'import adesklets'". I guess I should get around to fixing my dbus problems, or just get dbus off of my system. I've been having problems with it recently, but I haven't spent the time to investigate them yet. Does this mean, however, that adesklets is still on my system? IIRC I've only ever installed it from portage, although I have installed desklets by hand (there was no other way before the handy installer). Traceback (most recent call last): File "<string>", line 1, in ? File "/usr/lib/python2.4/site-packages/dbus/__init__.py", line 30, in ? File "/usr/lib/python2.4/site-packages/adesklets/initializer.py", line 13, in ? File "/usr/lib/python2.4/site-packages/adesklets/children_handler.py", line 5, in ? File "/usr/lib/python2.4/site-packages/adesklets/signal_handler.py", line 12, in ? File "/usr/lib/python2.4/site-packages/adesklets/signal_handler.py", line 19, in Signal_handler ImportError: No module named posix_signal
> Does this mean, however, that adesklets is still on my system? That means you have at least a part of another adesklets version (probably older) still on your system interfering, and that you should get rid of it -- dbus message is unrelated. > [...] although I have installed desklets by hand no desklet I ever saw (and certainly no one distributed on adesklets web site), should it be installed through the installer or manually, overrides adesklets python package... It would be impossible anyway unless performed as root. Since you never installed adesklets manually, I have no clue how this happened; if you are curious about it, you could use equery from gentoolkit to try to learn more, while I just don't see how it could be a portage malfunction. Anyway, you should be able to get your system back into shape simply by doing: rm -rf /usr/lib/python2.4/site-packages/adesklets After unmerging adesklets once again... As for the initial spurious message (can't "ls /tmp/*adesklets_fifo*" successfully), it has been muted in adesklets 0.6.0 (bug #126086) Michele -- I do believe current discussion is not about a reproducible bug in adesklets or portage; my personnal feeling would be to close it. Christopher -- If you cannot solve this, just let me know by email; I will do my best to walk you out of this step by step.
Yep, this issue is not about a bug in Gentoo... Feel free to reopen it if you think it necessary.