Description of problem: powertop2tuned parser failure. Version-Release number of selected component (if applicable): tuned-2.0.1 How reproducible: Always on affected hardware (Apple). Steps to Reproduce: 1. powertop2tuned -i powertop.html test Actual results: It fails. Expected results: It shouldn't fail. Additional info: Traceback (most recent call last): File "/bin/powertop2tuned", line 218, in <module> sys.exit(p.generate(new_profile)) File "/bin/powertop2tuned", line 173, in generate profile = self.currentActiveProfile() File "/bin/powertop2tuned", line 102, in currentActiveProfile proc = Popen(["tuned-adm", "active"], stdout=PIPE) File "/usr/lib/python2.7/subprocess.py", line 679, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1228, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory
Created attachment 575185 [details] reproducer
I think tuned-adm wasn't in PATH. Not saying it should show traceback in that case, but it's not bug with parsing.
It worked fine now on my devel laptop. I really don't know why it failed on Apple when booted from the same LiveUSB as approx. 20 people did before without any problem. Thus we saved the powertop.html and retried on other f17 installed computer with the reproducer from comment 0 (unfortunately we didn't compare the backtraces). I will retry tomorrow on the f17 installed computer (where it failed) and let you know. I will also try to find contact and CC the person with Apple to retry and provide the backtrace.
Got the problem, the powertop2tuned is in utils subpackage that is not required by base package, thus on the affacted machine, the base package was not installed. For now I fixed the requirements upstream. We could also move the powertop2tuned to base package but I think it better fits to utils subpackage. There was probably another problem that was encountered by the person with Apple, because all packages were pre-installed on the image he used, so I am still trying to contact him.
Originally affected machine: MacBook Air 2010, booted from Fedora 17 PM Test Day Live CD. Waiting for response from reporter.
Contacted original reporter and the problem is not reproducible anymore, thus closing.