outeh@outeh-desktop:~$ 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
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
I think i've got the same problem :
outeh@outeh- desktop: ~$ 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. 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( ))
/usr/lib/
from gi.repository import Gtk
/usr/lib/
from gi.repository import AppIndicator3 as appindicator
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
on this config :
OS: Ubuntu 16.04.3 LTS x86_64
Kernel: 4.13.0-32-generic
Memory: 7977MiB
CPU: AMD Phenom II X6 1045T (6) @ 3ghz (oc)
WM: Compiz
DE: Unity