Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58304 - Can't start gnome-bluetooth because of missing gnome import
Summary: Can't start gnome-bluetooth because of missing gnome import
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-25 08:39 UTC by Christian Wehrfritz
Modified: 2004-07-31 06:05 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 Christian Wehrfritz 2004-07-25 08:39:42 UTC
bash-2.05b$ gnome-bluetooth-manager 

** (manager.py:31954): WARNING **: `GtkTextSearchFlags' is not an enum type
Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/gnomebt/manager.py", line 31, in ?
    import gnome
ImportError: No module named gnome

Reproducible: Always
Steps to Reproduce:
1.
2.
3.



Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.7)
=================================================================
System uname: 2.6.7 i686 Intel(R) Pentium(R) M processor 1500MHz
Gentoo Base System version 1.5.1
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -pipe -fforce-addr -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/s
hare/config /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -pipe -fforce-addr -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linu
x/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa avi berkdb bluetooth bonobo cdr crypt cups dvd encode esd
 ethereal evo foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml imlib irmc java jpe
g junit kde libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss
 pam pdflib perl png python qt quicktime readline sdl slang spell sse ssl svg sv
ga tcpd truetype x86 xml2 xmms xv xvid zlib"
Comment 1 Octavio Ruiz (Ta^3) 2004-07-30 15:13:03 UTC
Did you make an 

% emerge -uDav world  ??

Let me guess, you installed gnome-bluetooth un-directly (as a dependency of another ebuild) so i'm sure that you dont have some packages installed.

% emerge -av gnome-bluetooth

and see what dependencies it have, if you see something like:

[ebuild  N    ] dev-python/pyorbit-2.0.0  
[ebuild  N    ] gnome-base/gnome-desktop-2.6.2  
[ebuild  N    ] media-sound/vorbis-tools-1.0.1  
[ebuild  N    ] gnome-base/gail-1.6.6  
[ebuild  N    ] gnome-base/eel-2.6.2  
[ebuild  N    ] gnome-base/nautilus-2.6.3  
[ebuild  N    ] gnome-base/libgnomeprint-2.6.2  
[ebuild  N    ] x11-libs/libwnck-2.6.2.1  
[ebuild  N    ] gnome-base/gnome-panel-2.6.2  
[ebuild  N    ] x11-libs/libzvt-2.0.1-r2  
[ebuild  N    ] gnome-base/libgnomeprintui-2.6.2  
[ebuild  N    ] dev-python/gnome-python-2.0.2  
[ebuild   R   ] net-wireless/gnome-bluetooth-0.5.1 
Do you want me to merge these packages? [Yes/No]

After you say yes and this packages get compiled you should not have any problem.

Or another way to say it, if you dont have any of these packages installed emerge it and it should work.

Anyway the other scripts like /usr/bin/gnome-obex-send and /usr/bin/gnome-obex-server should work at this point.. /usr/bin/gnome-bluetooth-manager needs the gnome bindings for Python. 
Comment 2 Alastair Tse (RETIRED) gentoo-dev 2004-07-31 06:05:28 UTC
no .. this bug report is correct, it was missing the gnome-python dependency. i fixed it but forgot to close this bug.

  26 Jul 2004; Alastair Tse <liquidx@gentoo.org> gnome-bluetooth-0.5.1.ebuild:
  fix distutils/python/gnome eclass issues. add gnome-python to dependencies

thanks for reporting the bug!