I have run into the same problem on Bionic once more.
pixie@naked:~$ sudo indicator-cpufreq
/usr/lib/python3/dist-packages/indicator_cpufreq/indicator.py:20: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
from gi.repository import Gtk
/usr/lib/python3/dist-packages/indicator_cpufreq/indicator.py:21: PyGIWarning: AppIndicator3 was imported without specifying a version first. Use gi.require_version('AppIndicator3', '0.1') before import to ensure that the right version gets loaded.
from gi.repository import AppIndicator3 as appindicator
(indicator-cpufreq:10898): Gtk-WARNING **: 13:27:06.784: Theme parsing error: gtk-main.css:73:38: Failed to import: Error opening file /usr/share/themes/Radiance/gtk-3.20/apps/gnome-builder.css: No such file or directory
Traceback (most recent call last):
File "/usr/bin/indicator-cpufreq", line 79, in <module>
ind = MyIndicator(options.show_frequency)
File "/usr/lib/python3/dist-packages/indicator_cpufreq/indicator.py", line 99, in __init__
self.update_ui()
File "/usr/lib/python3/dist-packages/indicator_cpufreq/indicator.py", line 110, in update_ui
fmin, fmax, governor = cpufreq.get_policy(self.cpus[0])
File "/usr/lib/python3/dist-packages/indicator_cpufreq/cpufreq.py", line 143, in get_policy
policy = (p.contents.min, p.contents.max, p.contents.governor.decode())
ValueError: NULL pointer access
pixie@naked:~$
I have run into the same problem on Bionic once more.
pixie@naked:~$ sudo indicator-cpufreq python3/ dist-packages/ indicator_ cpufreq/ indicator. py:20: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_ version( 'Gtk', '3.0') before import to ensure that the right version gets loaded. python3/ dist-packages/ indicator_ cpufreq/ indicator. py:21: PyGIWarning: AppIndicator3 was imported without specifying a version first. Use gi.require_ version( 'AppIndicator3' , '0.1') before import to ensure that the right version gets loaded.
/usr/lib/
from gi.repository import Gtk
/usr/lib/
from gi.repository import AppIndicator3 as appindicator
(indicator- cpufreq: 10898): Gtk-WARNING **: 13:27:06.784: Theme parsing error: gtk-main.css:73:38: Failed to import: Error opening file /usr/share/ themes/ Radiance/ gtk-3.20/ apps/gnome- builder. css: No such file or directory indicator- cpufreq" , line 79, in <module> options. show_frequency) python3/ dist-packages/ indicator_ cpufreq/ indicator. py", line 99, in __init__ update_ ui() python3/ dist-packages/ indicator_ cpufreq/ indicator. py", line 110, in update_ui get_policy( self.cpus[ 0]) python3/ dist-packages/ indicator_ cpufreq/ cpufreq. py", line 143, in get_policy governor. decode( ))
Traceback (most recent call last):
File "/usr/bin/
ind = MyIndicator(
File "/usr/lib/
self.
File "/usr/lib/
fmin, fmax, governor = cpufreq.
File "/usr/lib/
policy = (p.contents.min, p.contents.max, p.contents.
ValueError: NULL pointer access
pixie@naked:~$
Same crash as the above, pretty much.