每次登录后 1-2 分钟,指标 cpufreq 开始崩溃。我重新安装了它,现在我什至无法启动它。这是消息:
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 123, in update_ui
self.select_items[freq].set_active(True)
KeyError: 1468708
有没有办法正确运行它并且不会在 ubuntu 18.04 上崩溃?