Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104690 - porthole 0.4.1 doesn't start (gettext, ImportError, pycrash)
Summary: porthole 0.4.1 doesn't start (gettext, ImportError, pycrash)
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-03 03:08 UTC by Daniel Link
Modified: 2007-01-11 05:51 UTC (History)
1 user (show)

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 Daniel Link 2005-09-03 03:08:18 UTC
When I first ran porthole, it didn't start. I just read the first line about
pycrash >=0.4pre2 not being found and installed it, then ran porthole again. It
still complained about pycrash. This is what it said:

poseidon stagger # porthole
pycrash module not found.  For best debug info Please emerge >=
dev-python/pycrash-0.4pre2
NO installed porthole modules found!   Please run with the --local flag
Traceback (most recent call last):
  File "/usr/bin/porthole", line 122, in ?
    gettext.bindtextdomain (APP, i18n_DIR)
NameError: name 'i18n_DIR' is not defined

poseidon stagger # porthole --local
pycrash module not found.  For best debug info Please emerge >=
dev-python/pycrash-0.4pre2
Traceback (most recent call last):
  File "/usr/bin/porthole", line 91, in ?
    from version import version
ImportError: No module named version


Reproducible: Always
Steps to Reproduce:




emerge info:
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r1, 2.6.12-gentoo-r9 i686)
=================================================================
System uname: 2.6.12-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
Gentoo Base System version 1.6.13
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4-r3
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4"
CHOST="i686-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/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks prelink sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://mir.zyrianes.net/gentoo/
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://ftp.linux.ee/pub/gentoo/distfiles/"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm avi bash-completion berkdb bitmap-fonts bonobo cdr crypt
cups curl eds emboss encode fam flac foomaticdb fortran gd gdbm gif gnome gpm
gstreamer gtk gtk2 gtkhtml guile imagemagick imlib ipv6 java jpeg junit ldap
libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nls nptl ogg oggvorbis
opengl pam pdflib perl pic png python qt quicktime readline ruby samba scanner
sdl slang spell sse sse2 ssl tcpd tetex tiff truetype truetype-fonts type1-fonts
unicode vorbis xine xml xml2 xmms xv zlib linguas_de userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, MAKEOPTS
Comment 1 Ray Tsang 2005-10-01 10:03:17 UTC
I experienced the same problems.  After some digging, I found out that I needed
to re-emerge pyxml.  Try it to see if that works.
Comment 2 Bob Johnson 2005-10-09 22:13:51 UTC
Re-emerging pyxml doesn't help (x86 stable). Seems to be the same problem as
this forum message:
http://forums.gentoo.org/viewtopic-t-347542-highlight-porthole+i18ndir.html
Stable broke when Python 2.4-r3 came in (slotted) after an emerge sync, but the
stable pyxml is still stuck at 0.8.3-r1.
Comment 3 Aleksey Novgorodov 2005-11-21 03:58:15 UTC
> Stable broke when Python 2.4-r3 came in (slotted) after an emerge sync, but the
> stable pyxml is still stuck at 0.8.3-r1

updating  pyxml works for me
Comment 4 Philipp Riegger 2006-04-22 05:01:00 UTC
this does not work for me. does porthole depend on dev-python/pycrash?
Comment 5 Thomas Lincoln 2006-08-25 10:17:46 UTC
My experience was much the same. This is what worked for me,

- reemerge pyxml
- reemerge pycrash
run python-updater

After those three steps porthole ran without error on my machine.

Additional information,
http://forums.gentoo.org/viewtopic.php?t=389798
http://www.linuxforums.org/forum/gentoo-linux-help/34831-problems-porthole.html



emerge --info:

Portage 2.1-r2 (default-linux/x86/2006.0, gcc-3.3.6, glibc-2.3.6-r4, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 AMD Athlon(tm) MP 2000+
Gentoo Base System version 1.12.4
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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-r3
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-mp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=athlon-mp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="NOSTRIP autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo http://mirrors.acm.cs.rpi.edu/gentoo/ http://gentoo.cs.lewisu.edu/gentoo/"
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="/root"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aac aalib acl alsa apache2 apm asf automount avi berkdb bitmap-fonts cairo cdparanoia cdr cli crypt cups dbus dlloader doc dri dts dvd dvdread eds emboss encode esd ffmpeg firefox flac foomaticdb fortran gdbm gif glut gnome gpm gstreamer gtk gtk2 hal id3 imlib ipod ipv6 isdnlog jack java jpeg lame ldap libg++ libwww mad mikmod mmx mmxext mono motif mozilla mp3 mpeg mysql ncurses nls nptl nsplugin nvidia ogg opengl oracle pam pcre pda pdflib perl png ppds pppd pygtk python qt qt3 qt4 quicktime readline real reflection rtc samba sdl session spell spl sse ssl svg tcpd tiff truetype truetype-fonts type1-fonts udev vorbis win32codecs xinerama xml xmms xorg xv xvid xvmc zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_joystick kernel_linux userland_GNU video_cards_nvidia video_cards_vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


Comment 6 Paul Varner (RETIRED) gentoo-dev 2007-01-11 05:51:56 UTC
porthole-0.4.1 is no longer in the tree.  If you have similar problems with porthole-0.5.0, open a new bug.