Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56705 - java-config throws traceback during boot - missing dictkey HOME
Summary: java-config throws traceback during boot - missing dictkey HOME
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
: 56796 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-07-11 10:33 UTC by Ole Langbehn
Modified: 2004-10-06 01:06 UTC (History)
2 users (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 Ole Langbehn 2004-07-11 10:33:09 UTC
while booting, when depscan.sh is being run I get a python traceback with the keywords (sorry, don't know how to copy the messages during the boot process)

* java-config
* DictKey.py

and lastly something like

* missing key "HOME"

When I do an 

/etc/init.d/depscan.sh restart

after bootup, i don't get the traceback. 

Reproducible: Always
Steps to Reproduce:
1. boot
2. see output of /etc/init.d/depscan.sh run

Actual Results:  
python traceback complaining about missing dictkey "HOME"
Comment 1 Ole Langbehn 2004-07-11 10:34:15 UTC
This is my 'emerge info' output:

Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7-gentoo-r8)
=================================================================
System uname: 2.6.7-gentoo-r8 i686 AMD Athlon(TM) XP1800+
Gentoo Base System version 1.5.1
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -mfpmath=sse -mmmx -msse -m3dnow -pipe -funroll-loops -fomit-frame-pointer -ffast-math"
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 /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="-O3 -march=athlon-xp -mfpmath=sse -mmmx -msse -m3dnow -pipe -funroll-loops -fomit-frame-pointer -ffast-math"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc prelink sandbox userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.inode.at/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://trumpetti.atm.tut.fi/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage/"
USE="3dnow X aalib acpi acpi4linux alsa apache2 arts async avi berkdb cdr crypt cscope cups directfb divx4linux doc dvd dvdr encode esd faac fbcon flac foomaticdb gd gdbm geoip gif gimpprint gpm gs gtk gtk2 imlib jabber java javascript jikes jpeg junit kde libg++ libwww linguas_de log4j lynxkeymap lzw mad migemo mikmod mmx motif mozilla moznocompose moznoirc moznomail mozp3p mozsvg mpeg mplayer mysql ncurses nls nowin nptl oggvorbis opengl operanom2 optional-tasks pam pdflib perl png postgres ppds psyco python qt quicktime readline ruby samba sdl slang spell sse ssl svg svga tcltk tcpd tetex tiff truetype unicode vim-with-x x86 xfs xml2 xmms xv xvid zlib"

Comment 2 Ole Langbehn 2004-07-18 07:13:59 UTC
This is the exact output during boot (copied from the duplicate bug):

Traceback (most recent call last):
  File "/usr/bin/java-config", line 14, in ?
    from java_config import jc_options
  File "/usr/lib/python2.3/site-packages/java_config/jc_options.py", line 18, in ?
    from jc_util import get_line_from_env_file
  File "/usr/lib/python2.3/site-packages/java_config/jc_util.py", line 17, in ?
    USER_ENV_DIR = os.path.join(env['HOME'], '.gentoo')
  File "/usr/lib/python2.3/UserDict.py", line 19, in __getitem__
    def __getitem__(self, key): return self.data[key]
KeyError: 'HOME'
Comment 3 SpanKY gentoo-dev 2004-07-21 21:30:05 UTC
*** Bug 56796 has been marked as a duplicate of this bug. ***
Comment 4 Dead Schorsch 2004-07-23 01:54:06 UTC
This is what happens at my site too. Looks like it is searching for a set $HOME environment which - to my understanding - is unset during startup process.
Comment 5 Ole Langbehn 2004-07-24 02:24:03 UTC
issue disappeared here after rm'ing /root/.java (and ~/.java).
see forums:
http://forums.gentoo.org/viewtopic.php?p=1358300
Comment 6 Dead Schorsch 2004-07-28 04:27:19 UTC
No, didn't help, instead it disappeared after java-config was updated to version 1.2.9. For me, that issue is fixed.
Comment 7 Thomas Matthijs (RETIRED) gentoo-dev 2004-10-06 01:06:30 UTC
fixed