Coder Social home page Coder Social logo

Comments (11)

vagnum08 avatar vagnum08 commented on May 25, 2024

There is package for Fedora 36 here: https://software.opensuse.org//download.html?project=multimedia%3Aproaudio&package=cpupower-gui

I didn't have time to test it yet.

from cpupower-gui.

LeSnake04 avatar LeSnake04 commented on May 25, 2024

it failed to install:
file /usr/share/polkit-1/rules.d from install of cpupower-gui-1.0.0-2.1.noarch conflicts with file from package polkit-0.120-5.fc36.x86_64

maybe thats what broke the system on ninja install as well.

from cpupower-gui.

vagnum08 avatar vagnum08 commented on May 25, 2024

This failure was due to the new packaging. I checked the source .spec file that generates that package.
I am currently reuploading the old package source to the old repo.

from cpupower-gui.

careca1970 avatar careca1970 commented on May 25, 2024

Hi @vagnum08,
Yes, I also still have problems with installing the RPM package at Fedora.
Same message as @LeSnake04 gets installing from named repo.

Thanks for all efforts!

from cpupower-gui.

edogawa23 avatar edogawa23 commented on May 25, 2024

Please test and report if this test package works, I can't currently find the time to try in a virtualbox guest:
https://software.opensuse.org//download.html?project=home%3Aedogawa&package=cpupower-gui

from cpupower-gui.

LeSnake04 avatar LeSnake04 commented on May 25, 2024

from cpupower-gui.

edogawa23 avatar edogawa23 commented on May 25, 2024

Yeah I've managed to install a Fedora 37 guest and see that here too.
The systemd macros used for openSUSE don't fit Fedora it seems.
I'm on it but it will take me a while.

from cpupower-gui.

edogawa23 avatar edogawa23 commented on May 25, 2024

I think you can try the current package again, release 6.1 was good to install.
The systemd services get installed and started, but the program crashes at launch with a python backtrace I couldn't make sense of in the short time available to me this morning.

from cpupower-gui.

vagnum08 avatar vagnum08 commented on May 25, 2024

edogawa23 Could you post the back-trace here, I can have a look on what is going on. It might be related to #103

from cpupower-gui.

edogawa23 avatar edogawa23 commented on May 25, 2024

here it is:

(cpupower-gui:2231): Handy-CRITICAL **: 01:06:24.874: hdy_combo_row_set_selected_index: assertion 'selected_index == -1 || (priv->bound_model != NULL && selected_index < g_list_model_get_n_items (priv->bound_model))' failed
Traceback (most recent call last):
  File "/usr/share/cpupower-gui/cpupower_gui/main.py", line 76, in do_activate
    win = CpupowerGuiWindow(application=self)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/cpupower-gui/cpupower_gui/window.py", line 178, in __init__
    self.load_cpu_settings()
  File "/usr/share/cpupower-gui/cpupower_gui/window.py", line 208, in load_cpu_settings
    self.energy_pref_avail = self.settings[0].energy_pref_avail
                             ~~~~~~~~~~~~~^^^
KeyError: 0

from cpupower-gui.

vagnum08 avatar vagnum08 commented on May 25, 2024

It is a bug. It tries to read energy preferences (intel p-power features) but the settings dict is empty. I should have used get instead of indexing it directly.

I will fix this up.

from cpupower-gui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.