Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45485 - straw fails to launch with the following error
Summary: straw fails to launch with the following error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-23 03:59 UTC by a+gentoobugs
Modified: 2004-04-09 16:06 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 a+gentoobugs 2004-03-23 03:59:16 UTC
after emerging straw and its dependencies and trying to launch it i get the following error:

tgnb@hal tgnb $ straw
Traceback (most recent call last):
  File "/usr/bin/straw", line 30, in ?
    import straw
  File "/usr/lib/python2.3/site-packages/straw/__init__.py", line 17, in ?
    from Main import Main
  File "/usr/lib/python2.3/site-packages/straw/Main.py", line 16, in ?
    import gtkhtml2
ImportError: No module named gtkhtml2

here is my emerge info:

tgnb@hal tgnb $ emerge info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.4-mm1)
=================================================================
System uname: 2.6.4-mm1 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe -mmmx -msse -funroll-loops"
CHOST="i486-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -mmmx -msse -funroll-loops"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
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 alsa arts avi berkdb cdr crypt cups dvd dvdr encode esd flac foomaticdb gdbm gif gphoto2 gpm gstreamer gtk gtk2 imlib java jpeg kde libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl pam pdflib perl png ppds python qt quicktime readline samba sdl slang spell ssl svga tcpd truetype usb x86 xml2 xmms xv zlib"

someone in the forums suggested re-emerging gnome-python fixed the problem for them. This did not solve it for me.
http://forums.gentoo.org/viewtopic.php?t=42828&highlight=module+named+gtkhtml2




Reproducible: Always
Steps to Reproduce:
1: emerge straw and dependencies
2: launch straw from user account
3: error

Actual Results:  
received error

Expected Results:  
straw should launch :)
Comment 1 Lukasz Strzygowski (RETIRED) gentoo-dev 2004-04-05 00:55:21 UTC
Add "gtkhtml" to USE flags and reemerge gnome-python.
Comment 2 a+gentoobugs 2004-04-07 04:22:37 UTC
Reemerging gnome-python with gtkhtml in the USE-Flags did the trick. Thanks for the suggestion.
How are such dependencies normally handled in portage?
Comment 3 Alastair Tse (RETIRED) gentoo-dev 2004-04-09 16:06:16 UTC
thanks lukasz, i've updated the latest unstable to have a check for the gtkhtml2 module. thats the best we can do until portage has the feature of depending on packages merged with specific useflags