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

Bug 109287

Summary: java-config failed in line 14 : No module named java_config
Product: Gentoo Linux Reporter: Artiom Molchanov <artiom>
Component: [OLD] DevelopmentAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: major    
Priority: High    
Version: 2005.1   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Artiom Molchanov 2005-10-14 10:13:59 UTC
Error in java-config
No module named java_config


Reproducible: Always
Steps to Reproduce:
1.Lunch /usr/bin/java-config or emerge metadata-extractor
2.
3.

Actual Results:  
Just java-config:
Traceback (most recent call last):
  File "/usr/bin/java-config", line 14, in ?
    from java_config import jc_options
ImportError: No module named java_config

emerge metadata-extractor:

>>> Source unpacked.
Traceback (most recent call last):
  File "/usr/bin/java-config", line 14, in ?
    from java_config import jc_options
ImportError: No module named java_config
Error: JAVA_HOME is not defined correctly.
  We cannot execute



emerge info
Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2,
2.6.11-hardened-r15 i686)
=================================================================
System uname: 2.6.11-hardened-r15 i686 AMD Athlon(tm) XP 2800+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.2
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-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.blueyonder.co.uk/mirrors/gentoo
http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LINGUAS="en ru fr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X alsa apm arts avi berkdb bitmap-fonts bonobo browserplugin cdr
crypt cups curl dvd eds emboss encode esd fam flac foomaticdb fortran gd gdbm
gif gnome gpm gstreamer gtk gtk2 guile hardened imagemagick imlib ipv6 java jpeg
junit kde ldap libg++ libwww mad mikmod mmx motif mozilla mp3 mpeg ncurses nls
nptl ogg oggvorbis opengl oss pam pdflib perl php png ppds python qt quicktime
readline scanner sdl slang spell sqlite sse ssl svga tcltk tcpd tiff truetype
truetype-fonts type1-fonts unicode usb vorbis xine xml xml2 xmms xv xvid zlib
video_cards_radeon linguas_en linguas_ru linguas_fr userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Thomas Matthijs (RETIRED) gentoo-dev 2005-10-14 10:16:49 UTC
You didn't run /usr/sbin/python-updater
after updating python like it told you to