portpeek not find files /etc/portage/package.*. Reproducible: Always Steps to Reproduce: 1.# emerge portpeek 2.# portpeek -a 3. Actual Results: # portpeek -a package.keywords: Could not find file etc/portage/package.keywords No ebuild options found. package.unmask: Could not find file etc/portage/package.unmask No ebuild options found. package.mask: Could not find file etc/portage/package.mask No ebuild options found. Done #
Created attachment 212758 [details] emerge --info
Created attachment 212792 [details] portpeek version 1.5.7.3 Can you test this version, please and let me know if it fixes the issue. Thanks.
Created attachment 212811 [details] portpeek-1.5.7.3.log
Hi, not work for me. Regards
I don't know why you are getting that error. That function is called in the previous version of portpeek, also. What version of gentoolkit are you running. Do you have the file /usr/lib/gentoolkit/pym/gentoolkit/helpers.py ?
(In reply to comment #5) > I don't know why you are getting that error. That function is called in the > previous version of portpeek, also. What version of gentoolkit are you running. My gentoolkit version is 0.3.0_rc7. > Do you have the file /usr/lib/gentoolkit/pym/gentoolkit/helpers.py ? > Yes, I have this file in my system but not in /usr/lib/ # locate helpers.py /usr/lib64/python2.6/site-packages/gentoolkit/helpers.pyo /usr/lib64/python2.6/site-packages/gentoolkit/helpers.pyc /usr/lib64/python2.6/site-packages/gentoolkit/helpers.py #
Can you just add the following lines after line 45 to your portpeek 1.5.7.2 in /usr/bin and then run it as normal. Back up portpeek before you do this. try: PORTAGE_CONFIGROOT except NameError: PORTAGE_CONFIGROOT="/" USER_CONFIG_PATH=PORTAGE_CONFIGROOT + USER_CONFIG_PATH
Created attachment 212827 [details] portpeek.log
(In reply to comment #7) > Can you just add the following lines after line 45 to your portpeek 1.5.7.2 in > /usr/bin and then run it as normal. Back up portpeek before you do this. > > > try: > PORTAGE_CONFIGROOT > except NameError: > PORTAGE_CONFIGROOT="/" > > USER_CONFIG_PATH=PORTAGE_CONFIGROOT + USER_CONFIG_PATH > Hi. I had the same error and re-emerging gentoolkit and portpeek didn't help, so I added those lines, and now it is working again.
Sven, thanks for testing. This change is released in portpeek-1.5.7.3