Hide Forgot
Description of problem: power-usage-report crashes while generating report. see below. Version-Release number of selected component (if applicable): Name : fatrace Arch : x86_64 Epoch : 0 Version : 0.10 Release : 2.fc23 How reproducible: 100% Steps to Reproduce: simply start it without options. Actual result: [root@eve marius]# power-usage-report Measurement will begin in 5 seconds. Please make sure that the computer is idle, i. e. do not press keys, start or operate programs, and that programs are not busy with active tasks other than the one you want to examine. Starting measurement for 60 seconds... Loaded 0 prior measurements RAPL device for cpu 0 RAPL device for cpu 0 Devfreq not enabled Preparing to take measurements unknown op '{' Measurement complete. Generating report... Traceback (most recent call last): File "/usr/sbin/power-usage-report", line 199, in <module> main() File "/usr/sbin/power-usage-report", line 196, in main powertop_report(output['powertop']) File "/usr/sbin/power-usage-report", line 173, in powertop_report while not lines[i]: IndexError: list index out of range
Is powertop installed?
yes, it's installed.
Would you be willing to file this upstream? https://bugs.launchpad.net/fatrace Or would you prefer I do so? It sounds like our powertop is outputting something that it's not expecting (although it works fine for me here, so it may be hardware specific).
If you rhave an account there, please report it. I don't own an account there. Do you need any output of my powertop, which btw. works as expected from what i can see.
Yeah, can you do: powertop --csv=/tmp/powertop.out --time=60 and attach the /tmp/powertop.out?
I'm so sorry Kevin, i forgot about your request :( Fedora 24 DESKTOP : 4.8.6-201.fc24.x86_64 modprobe cpufreq_stats failed0 geladene vorherige Messungen RAPL device for cpu 0 RAPL device for cpu 0 Devfreq not enabled Das Vornehmen von Messungen wird vorbereitet unknown op '{' Segmentation fault NO Outputfile generated, Fedora 24 LAPTOP : 4.8.6-201.fc24.x86_64 modprobe cpufreq_stats failed70 geladene vorherige Messungen RAPL device for cpu 0 RAPL Using PowerCap Sysfs : Domain Mask d RAPL device for cpu 0 RAPL Using PowerCap Sysfs : Domain Mask d RAPL device for cpu 0 RAPL Using PowerCap Sysfs : Domain Mask d Devfreq not enabled Das Vornehmen von Messungen wird vorbereitet unknown op '{' To show power estimates do 266 measurement(s) connected to battery only 1 Messung(en) mit einer Dauer von je 60 Sekunde(n) wird/werden vorgenommen. PowerTOP outputing using base filename /tmp/powertop.csv Output of Laptop follows.
Created attachment 1221616 [details] laptop powertop output
10:1 there is a check missing, that decides if a battery is in the device at all :D
Filed upstream as https://bugs.launchpad.net/fatrace/+bug/1642735
This message is a reminder that Fedora 23 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 23. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '23'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 23 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 23 changed to end-of-life (EOL) status on 2016-12-20. Fedora 23 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.