The function looks for the world file to be in var/cache/edb/ but as of portage-2.0.51-r3 the new location for the world file is var/lib/portage/ Reproducible: Always Steps to Reproduce: 1. Open python 2. Import gentoolkit 3. call gentoolkit.find_world_packages() Actual Results: Traceback (most recent call last): File "<input>", line 1, in ? File "/usr/lib/gentoolkit/pym/gentoolkit/gentoolkit.py", line 264, in find_world_packages f = open(portage.root+"var/cache/edb/world") IOError: [Errno 2] No such file or directory: '/var/cache/edb/world' Expected Results: Should have returned a list of package objects
Line 264 in gentoolkit.py needs to be changed from: f = open(portage.root+"var/cache/edb/world") To: f = open(portage.root+"var/lib/portage/world") Might also consider make'n the current version of gentoolkit depend on portage < portage-2.0.51-r3
Still broken in -r3.
This is not going to be fixed in 0.2.1 as it will delay getting that version of gentoolkit stable and none of the utilities currently in gentoolkit utilize that function. Fix will be released with the next gentoolkit-0.2.2_pre release.
This was fixed in gentoolkit-0.2.2