Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 346991 - java-config-2.1.11-r1: /usr/bin/gjl-3.1 displays error message when python3.1 is active
Summary: java-config-2.1.11-r1: /usr/bin/gjl-3.1 displays error message when python3.1...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High normal
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-27 18:40 UTC by Florian Schmaus
Modified: 2011-04-03 07:19 UTC (History)
0 users

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 Florian Schmaus gentoo-dev 2010-11-27 18:40:06 UTC
eselect python list
Available Python interpreters:
  [1]   python2.6
  [2]   python3.1 *


Trying to start josm:
Traceback (most recent call last):
  File "/usr/bin/gjl-3.1", line 264, in <module>
    vm = get_vm(pkg)
  File "/usr/bin/gjl-3.1", line 157, in get_vm
    target, needs_jdk = get_needed_target2(pkg)
  File "/usr/bin/gjl-3.1", line 50, in get_needed_target2
    if highest_target < target:
TypeError: unorderable types: NoneType() < str()
Couldn't get needed information

After
eselect python set 1

josm works fine

Reproducible: Always

Steps to Reproduce:
1. set the system to python3 via eselect
2. try to start a java app (like josm)


Actual Results:  
Traceback (most recent call last):
  File "/usr/bin/gjl-3.1", line 264, in <module>
    vm = get_vm(pkg)
  File "/usr/bin/gjl-3.1", line 157, in get_vm
    target, needs_jdk = get_needed_target2(pkg)
  File "/usr/bin/gjl-3.1", line 50, in get_needed_target2
    if highest_target < target:
TypeError: unorderable types: NoneType() < str()
Couldn't get needed information
Comment 1 Serkan Kaba (RETIRED) gentoo-dev 2011-04-03 07:19:58 UTC
Fixed as of java-config-2.1.11-r2. Please try that and reopen if not fixed.