Closed phongvu99 closed 4 years ago
I think the issue is when you built with meson. My bad that I haven't document this in README, but there is an option for the systemd directory.
I tried this in a virtual machine using a live image. Meson version from repo is 0.45.1 and this project requires >=0.50.0. Also, Mint 19.3 is base on Ubuntu 18.04 and the version of python3-gobject is not available. The latest version of cpupower-gui that can be run on Ubuntu 18.04 is 0.7.0
(see note below).
You could try solving the system-helper error, but I don't think you can get away with python3-gobject
.
If you want to try and report back do the following
meson --prefix /usr -Dsystemddir=/lib/systemd build
ninja -C build
ninja -C build install
This should resolve the dbus.exceptions.DBusException: org.freedesktop.systemd1.NoSuchUnit: Unit cpupower-gui-helper.service not found.
error.
If you want to get a deb package for 0.7.0
, use the one from launchpad (download link)
This actually solved the problem. Thanks for the rapid help! Btw, my Meson build system version is 0.51.2. The -Dsystemddir config resolves this for me.
P.S. You should add this to the documentation so people can resolve this issue in case they encounter one.
Thanks for letting me know it worked. I will add this to README.md
Describe the bug The GUI failed to start when tried to launch via the shortcut or the terminal
To Reproduce Steps to reproduce the behaviour:
Expected behaviour A traceback provided by Python.
Setup (please complete the following information):
Additional context None.