power-usage-report crashes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
fatrace |
New
|
Undecided
|
Unassigned |
Bug Description
Downstream bug: https:/
# 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/
main()
File "/usr/sbin/
powertop_
File "/usr/sbin/
while not lines[i]:
IndexError: list index out of range
Might be a missing check to see if there's a battery or not (if not, powertop doesn't generate a csv file).