Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132671 - Impossible to add the deskbar applet (2.14.1.1)
Summary: Impossible to add the deskbar applet (2.14.1.1)
Status: RESOLVED DUPLICATE of bug 130730
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: 2006-05-08 05:49 UTC by Leszek
Modified: 2006-05-11 14:33 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 Leszek 2006-05-08 05:49:57 UTC
emerge --info :
Portage 2.1_pre10-r4 (default-linux/x86/2005.0, gcc-3.4.6, glibc-2.4-r2, 2.6.16-gentoo-r1 i686)
=================================================================
System uname: 2.6.16-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.0_pre19
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18
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-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="fr_BE@euro"
LC_ALL="fr_BE@euro"
LINGUAS="fr"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/xgl-coffee"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acpi alsa apache2 apm arts asf avi bash-completion bitmap-fonts bonobo browserplugin bzip2 cairo cdr cjk cli crosscompile crypt ctype cups dbus dri dv dvd dvdr dvdread eds emboss encode esd evo ffmpeg flac font-server foomaticdb fortran fuse gd gif glitz gnome gnomecanvas gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal imlib isdnlog java joystick jpeg kde lame lcms libg++ libwww live mad mikmod mjpeg mmx mmxext mng mono motif mp3 mpeg msn mysql ncurses net network nls nptl nptlonly nsplugin nvidia ode ogg oggvorbis openal opengl oss pam pcre pdf pdflib perl php png pppd python qt quicktime readline real reflection samba sdk sdl session simplexml slang soap sockets softmmu spell spl sse sse2 ssl svg svga tcltk tcpd theora tiff transcode truetype truetype-fonts type1-fonts unicode v4l v4l2 vcd videos vidix vorbis win32codecs wmf wxgtk1 xanim xine xml xml2 xmlrpc xmms xorg xscreensaver xv xvid xvmc zlib zvbi elibc_glibc input_devices_keyboard input_devices_mouse input_devices_joystick kernel_linux linguas_fr userland_GNU video_cards_nvidia video_cards_vga video_cards_vesa video_cards_nv"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

This bug may be the same as this one:
http://bugs.gentoo.org/show_bug.cgi?id=130730

I can't add the deskbar applet, i got this message :
The panel encountered a problem while loading "OAFIID:Deskbar_Applet".

end of "strace /usr/lib/deskbar-applet/deskbar-applet"  :

open("/etc/orbitrc", O_RDONLY)          = -1 ENOENT (No such file or directory)
open("/etc/passwd", O_RDONLY)           = 5
fcntl64(5, F_GETFD)                     = 0
fcntl64(5, F_SETFD, FD_CLOEXEC)         = 0
_llseek(5, 0, [0], SEEK_CUR)            = 0
fstat64(5, {st_mode=S_IFREG|0644, st_size=2980, ...}) = 0
mmap2(NULL, 2980, PROT_READ, MAP_SHARED, 5, 0) = 0xb76d7000
_llseek(5, 2980, [2980], SEEK_SET)      = 0
munmap(0xb76d7000, 2980)                = 0
close(5)                                = 0
getuid32()                              = 1000
uname({sys="Linux", node="ordi1", ...}) = 0
open("/home/leszek/.orbitrc", O_RDONLY) = -1 ENOENT (No such file or directory)
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
pipe([5, 6])                            = 0
pipe([7, 8])                            = 0
pipe([9, 10])                           = 0
fcntl64(10, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
open("/tmp", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 11
fstat64(11, {st_mode=S_IFDIR|S_ISVTX|0777, st_size=45168, ...}) = 0
fcntl64(11, F_SETFD, FD_CLOEXEC)        = 0
mmap2(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb76b7000
getdents64(11, /* 1281 entries */, 131072) = 48472
stat64("/tmp/orbit-leszek", {st_mode=S_IFDIR|0700, st_size=1504, ...}) = 0
getuid32()                              = 1000
getdents64(11, /* 0 entries */, 131072) = 0
munmap(0xb76b7000, 135168)              = 0
close(11)                               = 0
mkdir("/tmp/orbit-leszek", 0700)        = -1 EEXIST (File exists)
stat64("/tmp/orbit-leszek", {st_mode=S_IFDIR|0700, st_size=1504, ...}) = 0
getuid32()                              = 1000
utime("/tmp/orbit-leszek", [0, 0])      = 0
getuid32()                              = 1000
open("/dev/urandom", O_RDONLY|O_LARGEFILE) = 11
fstat64(11, {st_mode=S_IFCHR|0444, st_rdev=makedev(1, 9), ...}) = 0
ioctl(11, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbff7cdc8) = -1 EINVAL (Invalid argument)
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb76d7000
read(11, "\353\324A\2314\224\214\246Mz\201\335\302\365\226U\2368"..., 4096) = 4096
close(11)                               = 0
munmap(0xb76d7000, 4096)                = 0
gettimeofday({1147088531, 570687}, NULL) = 0
brk(0x8123000)                          = 0x8123000
gettimeofday({1147088531, 570833}, NULL) = 0
gettimeofday({1147088531, 570889}, NULL) = 0
getuid32()                              = 1000
open("/usr/share/locale/fr_BE@euro/LC_MESSAGES/messages.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/fr@euro/LC_MESSAGES/messages.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/fr_BE/LC_MESSAGES/messages.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/fr/LC_MESSAGES/messages.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
gettimeofday({1147088531, 584542}, NULL) = 0
gettimeofday({1147088531, 584698}, NULL) = 0
gettimeofday({1147088531, 584786}, NULL) = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, NULL, 8) = 0
readlink("/usr/lib/deskbar-applet/deskbar-applet", 0xbff7c920, 1024) = -1 EINVAL (Invalid argument)
lstat64("/usr", {st_mode=S_IFDIR|0755, st_size=624, ...}) = 0
lstat64("/usr/lib", {st_mode=S_IFDIR|0755, st_size=150120, ...}) = 0
lstat64("/usr/lib/deskbar-applet", {st_mode=S_IFDIR|0755, st_size=104, ...}) = 0lstat64("/usr/lib/deskbar-applet/deskbar-applet", {st_mode=S_IFREG|0755, st_size=3228, ...}) = 0
open("/usr/share/locale/fr_BE@euro/LC_MESSAGES/libgnome-2.0.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/fr@euro/LC_MESSAGES/libgnome-2.0.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/fr_BE/LC_MESSAGES/libgnome-2.0.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/fr/LC_MESSAGES/libgnome-2.0.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
close(3)                                = 0
futex(0x804a5d8, FUTEX_WAKE, 1)         = 0
write(2, "Traceback (most recent call last"..., 35Traceback (most recent call last):
) = 35
open("/usr/lib/deskbar-applet/deskbar-applet", O_RDONLY|O_LARGEFILE) = 3
write(2, "  File \"/usr/lib/deskbar-applet/"..., 63  File "/usr/lib/deskbar-applet/deskbar-applet", line 13, in ?
) = 63
fstat64(3, {st_mode=S_IFREG|0755, st_size=3228, ...}) = 0
mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb76b8000
read(3, "#!/usr/bin/env python\n#\n# (C) 20"..., 131072) = 3228
write(2, "    ", 4    )                     = 4
write(2, "import gtk, gnomeapplet\n", 24import gtk, gnomeapplet
) = 24
close(3)                                = 0
munmap(0xb76b8000, 131072)              = 0
write(2, "ImportError", 11ImportError)             = 11
write(2, ": ", 2: )                       = 2
write(2, "cannot import name EventBox from"..., 36cannot import name EventBox from gtk) = 36
write(2, "\n", 1
)                       = 1
rt_sigaction(SIGINT, {SIG_DFL}, {0xb7ee80b6, [], 0}, 8) = 0
futex(0x805a7e8, FUTEX_WAKE, 1)         = 0
futex(0x805a7e8, FUTEX_WAKE, 1)         = 0
futex(0x805bfd0, FUTEX_WAKE, 1)         = 0
futex(0x804a198, FUTEX_WAKE, 1)         = 0
futex(0x804a198, FUTEX_WAKE, 1)         = 0
futex(0x804a198, FUTEX_WAKE, 1)         = 0
close(10)                               = 0
close(9)                                = 0
write(4, "f\0\3\0\200\0\0\0\1\0\0\0<r\2\0\0\0`\2+N\1\0", 24) = 24
read(4, 0xbff7e040, 32)                 = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN, revents=POLLIN}], 1, -1) = 1
read(4, "\1\1&\0\0\0\0\0\246# \2\0\0\0\0\0\0\0\0\34\0\0\0p\340j"..., 32) = 32
shutdown(4, 2 /* send and receive */)   = 0
close(4)                                = 0
exit_group(1)                           = ?
Comment 1 John N. Laliberte (RETIRED) gentoo-dev 2006-05-08 05:58:20 UTC
can you try to do this from a shell:

$ python
>>> from gtk import EventBox

and see if that puts you back to >>> or throws an error.
Comment 2 Leszek 2006-05-08 06:01:13 UTC
leszek@ordi1 ~ $ python
Python 2.4.3 (#1, May  4 2006, 17:49:27)
[GCC 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 
Comment 3 Leszek 2006-05-08 06:02:25 UTC
oops

>>> from gtk import EventBox
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: cannot import name EventBox
>>>
Comment 4 John N. Laliberte (RETIRED) gentoo-dev 2006-05-08 06:08:47 UTC
what version of pygtk do you have installed?

first try re-emerging pygtk.
Comment 5 Leszek 2006-05-08 06:15:09 UTC
i have pygtk-2.8.6
i tried already to re-emerge pygtk without success
Comment 6 John N. Laliberte (RETIRED) gentoo-dev 2006-05-08 06:17:47 UTC
also, attach output of:

echo $PYTHONPATH

and
$ python
>>> from gtk import VBox
Comment 7 Leszek 2006-05-08 06:21:31 UTC
leszek@ordi1 ~ $ echo $PYTHONPATH
/usr/lib/portage/pym

leszek@ordi1 ~ $ python
Python 2.4.3 (#1, May  4 2006, 17:49:27)
[GCC 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from gtk import VBox
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: cannot import name VBox
>>>
Comment 8 John N. Laliberte (RETIRED) gentoo-dev 2006-05-08 06:26:59 UTC
try doing this:

export PYTHONPATH=$PYTHONPATH:/usr/lib/python2.3/site-packages

and then retry:
$ python
>>> from gtk import VBox
Comment 9 John N. Laliberte (RETIRED) gentoo-dev 2006-05-08 06:30:51 UTC
also attach output of:

$ python
>>> import sys
>>> print sys.path
Comment 10 Leszek 2006-05-08 06:35:06 UTC
leszek@ordi1 ~ $ export PYTHONPATH=$PYTHONPATH:/usr/lib/python2.3/site-packages
leszek@ordi1 ~ $ python
Python 2.4.3 (#1, May  4 2006, 17:49:27)
[GCC 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from gtk import VBox
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: cannot import name VBox
>>> import sys
>>> print sys.path
['', '', '/usr/lib/portage/pym', '/usr/lib/python2.3/site-packages', '/usr/lib/python24.zip', '/usr/lib/python2.4', '/usr/lib/python2.4/plat-linux2', '/usr/lib/python2.4/lib-tk', '/usr/lib/python2.4/lib-dynload', '/usr/lib/python2.4/site-packages', '/usr/lib/python2.4/site-packages/Numeric', '/usr/lib/python2.4/site-packages/PIL', '/usr/lib/python2.4/site-packages/dbus', '/usr/lib/python2.4/site-packages/gtk-2.0', '/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode']
>>>
Comment 11 John N. Laliberte (RETIRED) gentoo-dev 2006-05-08 07:10:38 UTC
could you run python-updater ?

thanks for the quick replies.
Comment 12 Leszek 2006-05-08 07:22:05 UTC
ordi1 leszek # python-updater
 * Logging disabled due to permissions
 * 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: dev-python/pyopenal-0.1.4
 * Calculating Upgrade Package List ..
 * Re-ordering packages to merge ..
 * Preparing to merge these packages in this order:
   dev-python/pyopenal-0.1.4
 * Starting to merge (1/1) dev-python/pyopenal-0.1.4 ..
Calculating dependencies... done!
>>> Emerging (1 of 1) dev-python/pyopenal-0.1.4 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking PyOpenAL-0.1.4.tar.gz ;-)
>>> Unpacking source...
>>> Unpacking PyOpenAL-0.1.4.tar.gz to /var/tmp/portage/pyopenal-0.1.4/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/pyopenal-0.1.4/work/PyOpenAL-0.1.4 ...
running build
running build_py
creating build
creating build/lib.linux-i686-2.4
creating build/lib.linux-i686-2.4/pyopenal
copying __init__.py -> build/lib.linux-i686-2.4/pyopenal
running build_ext
building '_openal' extension
creating build/temp.linux-i686-2.4
i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O3 -march=pentium4 -fomit-frame-pointer -fPIC -DHAVE_CONFIG_H -I/usr/include -I/usr/local/include -I/usr/include/python2.4 -c py_openal.c -o build/temp.linux-i686-2.4/py_openal.opy_openal.c: In function `_wrap_alcProcessContext':
py_openal.c:909: erreur: valeur void n'a pas 
Comment 13 Leszek 2006-05-08 07:22:05 UTC
ordi1 leszek # python-updater
 * Logging disabled due to permissions
 * 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: dev-python/pyopenal-0.1.4
 * Calculating Upgrade Package List ..
 * Re-ordering packages to merge ..
 * Preparing to merge these packages in this order:
   dev-python/pyopenal-0.1.4
 * Starting to merge (1/1) dev-python/pyopenal-0.1.4 ..
Calculating dependencies... done!
>>> Emerging (1 of 1) dev-python/pyopenal-0.1.4 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking PyOpenAL-0.1.4.tar.gz ;-)
>>> Unpacking source...
>>> Unpacking PyOpenAL-0.1.4.tar.gz to /var/tmp/portage/pyopenal-0.1.4/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/pyopenal-0.1.4/work/PyOpenAL-0.1.4 ...
running build
running build_py
creating build
creating build/lib.linux-i686-2.4
creating build/lib.linux-i686-2.4/pyopenal
copying __init__.py -> build/lib.linux-i686-2.4/pyopenal
running build_ext
building '_openal' extension
creating build/temp.linux-i686-2.4
i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O3 -march=pentium4 -fomit-frame-pointer -fPIC -DHAVE_CONFIG_H -I/usr/include -I/usr/local/include -I/usr/include/python2.4 -c py_openal.c -o build/temp.linux-i686-2.4/py_openal.opy_openal.c: In function `_wrap_alcProcessContext':
py_openal.c:909: erreur: valeur void n'a pas été ignorée comme elle aurait dû l'être
py_openal.c: In function `_wrap_alcDestroyContext':
py_openal.c:931: erreur: valeur void n'a pas été ignorée comme elle aurait dû l'être
py_openal.c: In function `init_openal':
py_openal.c:2378: erreur: « AL_DISTANCE_SCALE » non déclaré (première utilisation dans cette fonction)
py_openal.c:2378: erreur: (Chaque identificateur non déclaré est rapporté une seule fois
py_openal.c:2378: erreur: pour chaque fonction dans laquelle il apparaît.)
error: command 'i686-pc-linux-gnu-gcc' failed with exit status 1

!!! ERROR: dev-python/pyopenal-0.1.4 failed.
Call stack:
  ebuild.sh, line 1525:   Called dyn_compile
  ebuild.sh, line 928:   Called src_compile
  ebuild.sh, line 1237:   Called distutils_src_compile
  distutils.eclass, line 35:   Called die

!!! compilation failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

 * Failed merging dev-python/pyopenal-0.1.4 (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  \=dev-python/pyopenal-0.1.4
Comment 14 Leszek 2006-05-08 07:25:02 UTC
probably related to this:
http://bugs.gentoo.org/show_bug.cgi?id=102138
Comment 15 Leszek 2006-05-08 07:46:21 UTC
i emerged the ebuild in the openal bug report (pyopenal-0.1.5)
and ran python-updater again 

but the problem persist
Comment 16 John N. Laliberte (RETIRED) gentoo-dev 2006-05-11 14:33:45 UTC

*** This bug has been marked as a duplicate of 130730 ***