Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 147245 - net-p2p/azureus fails to get CLASSPATH (dev-java/java-config-2 launcher problem)
Summary: net-p2p/azureus fails to get CLASSPATH (dev-java/java-config-2 launcher problem)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Petteri Räty (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-11 17:31 UTC by Mike McQuaid
Modified: 2006-09-16 07: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 Mike McQuaid 2006-09-11 17:31:32 UTC
mp5 linux # su -l azureus azureus
using /home/azureus/.azureus/gentoo.config
Traceback (most recent call last):
  File "/usr/bin/gjl", line 158, in ?
    args = get_args(pkg)
  File "/usr/bin/gjl", line 92, in get_args
    envcp = os.environ['CLASSPATH']
  File "/usr/lib/python2.4/UserDict.py", line 17, in __getitem__
    def __getitem__(self, key): return self.data[key]
KeyError: 'CLASSPATH'
Couldn't get needed information

Fixed by changing envcp = os.environ('CLASSPATH') 
to 
envcp = os.environ.get('CLASSPATH')
in /usr/bin/gjl on nichoj's recommendation.
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2006-09-16 05:47:30 UTC
nichoj: should probably put a new revision of java-config out there 
Comment 2 Krzysztof Pawlik (RETIRED) gentoo-dev 2006-09-16 06:05:51 UTC
It's fixed in dev-java/java-config-2.0.28-r1.
Comment 3 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-09-16 06:19:25 UTC
Yeah, almost 4 days ago, when I discovered this problem myself. Please sync and update.
Comment 4 Petteri Räty (RETIRED) gentoo-dev 2006-09-16 07:51:23 UTC
(In reply to comment #3)
> Yeah, almost 4 days ago, when I discovered this problem myself. Please sync and
> update.
> 

Ah so it is. I quickly looket at the code an did not separate         envcp = os.getenv('CLASSPATH') from   envcp = os.environ['CLASSPATH']

Changin resolution to FIXED.
Comment 5 Petteri Räty (RETIRED) gentoo-dev 2006-09-16 07:51:48 UTC
FIXED is the right resolution instead of WORKSFORME