Bug 54889 - porthole-0.3-r1 - No module named glade
Bug#: 54889 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: major Priority: P2
Resolution: FIXED Assigned To: tools-portage@gentoo.org Reported By: hackeron@gmail.com
Component: Applications
URL: 
Summary: porthole-0.3-r1 - No module named glade
Keywords:  
Status Whiteboard: 
Opened: 2004-06-23 07:26 0000
Description:   Opened: 2004-06-23 07:26 0000
** (porthole:9137): WARNING **: `GtkTextSearchFlags' is not an enum type
Traceback (most recent call last):
  File "/usr/bin/porthole", line 42, in ?
    from mainwindow import MainWindow
  File "/usr/lib/porthole/mainwindow.py", line 26, in ?
    import gtk, gtk.glade, gobject, pango
ImportError: No module named glade



Reproducible: Always
Steps to Reproduce:

------- Comment #1 From Dan Check 2004-06-23 10:46:51 0000 -------
Same here, same error message.  Here's my emerge info:

remora root # emerge info
Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.4.25_pre7-gss-r6)
=================================================================
System uname: 2.4.25_pre7-gss-r6 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /etc/tomcat /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirror.datapipe.net/gentoo http://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl apm arts avi berkdb crypt cups encode foomaticdb gdbm gif gpm gtk imlib java jpeg kde libg++ libwww mad mbox mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xv zlib"

------- Comment #2 From Roman Gaufman 2004-06-24 09:33:41 0000 -------
Just checked on 3 more machines, same error. Would be nice if someone could
have a look at the problem.

------- Comment #3 From Ian Leitch (RETIRED) 2004-06-24 13:34:29 0000 -------
What version of pytgtk do you have?

------- Comment #4 From Roman Gaufman 2004-06-24 15:01:28 0000 -------
Not sure about pytgtk, but pygtk version is 2.0.0-r1

------- Comment #5 From Ian Leitch (RETIRED) 2004-06-25 11:25:03 0000 -------
No problems with pygtk-2.0.0-r1 here...
Could you all please try porthole-0.3.1.

------- Comment #6 From Roman Gaufman 2004-06-25 14:49:43 0000 -------
porthole-0.3.1 doesnt exist. Upstream states latest version is: Porthole-0.3-r1
-- and thats the version I have installed.

------- Comment #7 From Dan Check 2004-06-28 07:05:21 0000 -------
I just tried porthole 0.3.1, and it dies in the same way with the same error
message.  Does it matter that I don't have a full Gnome install?  I'm running
pygtk-2.0.0-r1 as well (porthole is probably the only ~x86 package in its
dependency tree).

------- Comment #8 From Ian Leitch (RETIRED) 2004-06-28 08:21:14 0000 -------
Fixed in CVS, please remerge 0.3.1 once these changes hit the rsync mirros (~1
hour). 

------- Comment #9 From Dan Check 2004-06-28 10:24:09 0000 -------
Thanks for identifying the problem and working out a fix!  I've posted another
bug report about the fix though, as I couldn't get it to work out of the box (I
did re-emerge pygtk with the gnome flag, tho).  See Bug #55444.