Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 615804 - dev-vcs/bfg-1.12.15 KeyError: 'bfg'
Summary: dev-vcs/bfg-1.12.15 KeyError: 'bfg'
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-17 01:49 UTC by Alessandro Barbieri
Modified: 2017-04-17 01:58 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 Alessandro Barbieri 2017-04-17 01:49:35 UTC
infos here https://gist.github.com/Alessandro-Barbieri/5e79ccde52cdf6e4d99cd8c0ab5d27d2
running bfg 

bfg
Traceback (most recent call last):
  File "/usr/lib64/python3.4/site-packages/java_config_2/EnvironmentManager.py", line 151, in get_package
    return self.packages[pkgname]
KeyError: 'bfg'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib64/python3.4/site-packages/java_config_2/EnvironmentManager.py", line 72, in load_package
    pkg = Package(name, sorted (glob (self.pkg_path % name ), reverse=True)[0])
IndexError: list index out of range

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib64/python3.4/site-packages/java_config_2/EnvironmentManager.py", line 78, in load_package
    pkg = Virtual( name, self, self.virtual_path + name )
  File "/usr/lib64/python3.4/site-packages/java_config_2/Virtual.py", line 37, in __init__
    self._config = EnvFileParser(file).get_config()
  File "/usr/lib64/python3.4/site-packages/java_config_2/FileParser.py", line 62, in __init__
    self.parse(file)
  File "/usr/lib64/python3.4/site-packages/java_config_2/FileParser.py", line 18, in parse
    raise InvalidConfigError(file)
java_config_2.Errors.InvalidConfigError: (/)/usr/share/java-config-2/virtuals/bfg

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.4/gjl", line 110, in <module>
    pkg = manager.get_package(options.package)
  File "/usr/lib64/python3.4/site-packages/java_config_2/EnvironmentManager.py", line 154, in get_package
    return self.load_package(pkgname)
  File "/usr/lib64/python3.4/site-packages/java_config_2/EnvironmentManager.py", line 83, in load_package
    raise UnexistingPackageError(name)
java_config_2.Errors.UnexistingPackageError: Package bfg was not found!
Couldn't get needed information
Comment 1 Alessandro Barbieri 2017-04-17 01:58:09 UTC
I found the problem: the EPREFIX variable contained (/)