While using portpeek-2.1.18 as `# portpeek -qa`, I got an UnboundLocalError (just after ‘package.use:’ line): Traceback (most recent call last): File "/usr/lib/python-exec/python3.4/portpeek", line 1499, in <module> get_recursive_info(USER_CONFIG_PATH + "/package.use") File "/usr/lib/python-exec/python3.4/portpeek", line 430, in get_recursive_info get_recursive_info(filename+os.path.sep+file_name) File "/usr/lib/python-exec/python3.4/portpeek", line 432, in get_recursive_info get_info(filename) File "/usr/lib/python-exec/python3.4/portpeek", line 458, in get_info diffs_found = parse_package_use(line,filename) File "/usr/lib/python-exec/python3.4/portpeek", line 629, in parse_package_use print_output(info,portage.output.yellow("\n" + orig_pkg_name + ": ") + portage.output.red(" Not Installed"),current_package) UnboundLocalError: local variable 'current_package' referenced before assignment
Hi. Can you please attached your package.use, file and emerge --info?
Created attachment 455024 [details] emerge --info
Created attachment 455026 [details] package.use concatenated from multiple files in /etc/portage/package.use/
Wow, that's some file. Can you attach the output of portpeek -qad Thanks.
Nevermind, I reproduced it.
Can you unmask and try 2.1.21 ? I just committed it a few minutes ago, so it may take a few hours to hit your mirror.
(In reply to Mike Pagano from comment #6) > Can you unmask and try 2.1.21 ? The UnboundLocalerror is gone, so this bug seems fixed.