vagnum08 / cpupower-gui

cpupower-gui is a graphical program that is used to change the scaling frequency limits of the cpu, similar to cpupower.
GNU General Public License v3.0
476 stars 32 forks source link

Unable To Launch Version 1.0.0 #63

Closed intelligentgaming closed 3 years ago

intelligentgaming commented 3 years ago

Hi there.

Version 1.0.0 has been installed on my system for a while (Kubuntu 21.04) but when I attempted to launch it today it did not work.

So I launched it through the Terminal and got the following output.

Traceback (most recent call last): File "/usr/bin/cpupower-gui", line 367, in from cpupower_gui import main File "/usr/share/cpupower-gui/cpupower_gui/main.py", line 38, in from .window import CpupowerGuiWindow File "/usr/share/cpupower-gui/cpupower_gui/window.py", line 23, in gi.require_version("Handy", "1") File "/usr/lib/python3/dist-packages/gi/init.py", line 129, in require_version raise ValueError('Namespace %s not available for version %s' % ValueError: Namespace Handy not available for version 1

I've reinstalled it, and have not resolved this issue.

Any ideas?

supdrewin commented 3 years ago

I check the the package list from ubuntu site, and the handy version have 0 and 1, make sure you have the required version 1.

intelligentgaming commented 3 years ago

Fixed it, had to install libhandy-1-dev

vagnum08 commented 3 years ago

Good call. libhandy-1-dev contains the gir bindings for libhandy.