cpu-g version 0.15.0-1ubuntu0 does not launch under Ubuntu 18.04
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
CPU-G |
New
|
Undecided
|
Unassigned |
Bug Description
I've download the deb file from here: http://
any attempt to launch the tool leads to crash report
if I run it from terminal, this is what I get as an output:
./cpu-g:26: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_
from gi.repository import Gtk
[Errno 2] No translation file found for domain: 'cpu-g'
/opt/extras.
[Errno 2] No such file or directory: '/sys/class/
Traceback (most recent call last):
File "./cpu-g", line 37, in <module>
cpug = CPUG()
File "/opt/extras.
self.
File "/opt/extras.
self.
File "/opt/extras.
self.
File "/opt/extras.
inv.
File "/opt/extras.
info = int(self.
ValueError: invalid literal for int() with base 10: 'N/A'
what am I doing wrong?
this is what I have in /sys/class/ power_supply/ BAT0 folder:
alarm energy_full_design present uevent
capacity energy_now serial_number voltage_min_design
capacity_level manufacturer status voltage_now
cycle_count model_name subsystem
device power technology
energy_full power_now type