Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 168855 - gjl gives a stack trace if one of the deps is not installed
Summary: gjl gives a stack trace if one of the deps is not installed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal
Assignee: Java team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2007-03-01 11:10 UTC by Petteri Räty (RETIRED)
Modified: 2007-05-02 22:16 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 Petteri Räty (RETIRED) gentoo-dev 2007-03-01 11:10:35 UTC
betelgeuse@pena ~ $ azureus
using /home/betelgeuse/.azureus/gentoo.config
Traceback (most recent call last):
  File "/usr/bin/gjl", line 153, in <module>
    vm = get_vm(pkg)
  File "/usr/bin/gjl", line 77, in get_vm
    target = get_needed_target(pkg)
  File "/usr/bin/gjl", line 47, in get_needed_target
    for pkg in get_needed_packages(pkg):
  File "/usr/bin/gjl", line 37, in get_needed_packages
    for dep in pkg.deps():
AttributeError: 'NoneType' object has no attribute 'deps'
Couldn't get needed information

This was done by emerge -C log4j. We should make it fail with a nice error message instead.
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2007-03-01 13:23:50 UTC
Committed to trunk http://overlays.gentoo.org/proj/java/changeset/3920
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2007-05-02 22:16:53 UTC
In 2.0.32