Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 87407

Summary: net-wireless/bluez-utils-2.15: /usr/bin/bluepin: ImportError: No module named gtk
Product: Gentoo Linux Reporter: Ioannis Aslanidis (RETIRED) <deathwing00>
Component: Current packagesAssignee: Mobile Herd (OBSOLETE) <mobile+disabled>
Status: RESOLVED DUPLICATE    
Severity: major CC: pda
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ioannis Aslanidis (RETIRED) gentoo-dev 2005-03-31 05:15:44 UTC
Well, i'm back on this matter. All previous bugs were solved fine. But now I've found something strange:

# bluepin
Traceback (most recent call last):
  File "/usr/bin/bluepin", line 39, in ?
    import gtk
ImportError: No module named gtk


I've tried emerging with USE="-gtk" to n/a.

Ideas?

Reproducible: Always
Steps to Reproduce:
1. emerge bluez-utils
2. configure the device
3. /usr/bin/bluepin




Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3-20050110,
glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Mar 29 2005, 15:58:35)]
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -O3 -pipe -momit-leaf-frame-pointer -fomit-frame-pointer
-ftracer -fforce-addr"
CHOST="x86_64-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="-march=k8 -O3 -pipe -momit-leaf-frame-pointer -fomit-frame-pointer
-ftracer -fforce-addr"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks sandbox userpriv
usersandbox"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://ftp.ntua.gr/pub/linux/gentoo/ http://ftp.caliu.info/pub/gentoo/
http://linuv.uv.es/mirror/gentoo/ http://mirror.switch.ch/mirror/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X aalib acpi alsa arts audiofile avi bash-completion berkdb
bitmap-fonts bzlib ccache cdparanoia cdr crypt ctype cups curl directfb
divx4linux dvd dvdr dvdread encode esd ethereal fam fastcgi fbcon flac flash
font-server foomaticdb fortran ftp gdbm ggi gif gnome gpm gstreamer gtk gtk2 icq
imagemagick imlib ipv6 java jp2 jpeg junit kde lcms ldap lzw lzw-tiff mad mime
motif mozilla mp3 mpeg msn ncurses nls nptl offensive oggvorbis openal opengl
oss pam pdflib perl png portaudio posix ppds python qt quicktime readline recode
ruby samba scanner sdl sndfile spell ssl tcltk tcpd tiff truetype truetype-fonts
type1-fonts unicode usb userlocales wmf xine xml xml2 xmlrpc xmms xpm xrandr xv
xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Ioannis Aslanidis (RETIRED) gentoo-dev 2005-04-02 08:44:18 UTC
ioannis@bluehat ~ $ bluepin                                                  
Traceback (most recent call last):
  File "/usr/bin/bluepin", line 39, in ?
    import gtk
ImportError: No module named gtk
ioannis@bluehat ~ $ ./bluepin                                                   Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Traceback (most recent call last):
  File "./bluepin", line 39, in ?
    import gtk
  File "/usr/lib64/python2.3/site-packages/gtk-2.0/gtk/__init__.py", line 37, in ?
    from _gtk import *
RuntimeError: could not open display


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