@Scotty_Trees It's a known issue, sadly there's no fix as of right now.
See also https://gitlab.com/leinardi/gwe/-/issues/162 and https://github.com/alecthomas/injector/issues/192
Git Clone URL: | https://aur.archlinux.org/gwe.git (read-only, click to copy) |
---|---|
Package Base: | gwe |
Description: | A system utility for controlling NVIDIA GPUs |
Upstream URL: | https://gitlab.com/leinardi/gwe |
Licenses: | GPL3 |
Submitter: | The999eagle |
Maintainer: | crimist |
Last Packager: | crimist |
Votes: | 69 |
Popularity: | 0.26 |
First Submitted: | 2019-01-30 21:50 (UTC) |
Last Updated: | 2024-03-03 07:03 (UTC) |
@Scotty_Trees It's a known issue, sadly there's no fix as of right now.
See also https://gitlab.com/leinardi/gwe/-/issues/162 and https://github.com/alecthomas/injector/issues/192
After the new python 3.10 release today, I rebuilt gwe, but now it no longer launches. I think it needs to be update to support python 3.10 now.
[scott@endeavourOS ~]$ gwe
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/injector/__init__.py", line 658, in get_binding
return self._get_binding(interface, only_this_binder=is_scope)
File "/usr/lib/python3.10/site-packages/injector/__init__.py", line 653, in _get_binding
raise KeyError
KeyError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/gwe", line 53, in <module>
from gwe import __main__
File "/usr/lib/python3.10/site-packages/gwe/__main__.py", line 33, in <module>
from gwe.model.current_fan_profile import CurrentFanProfile
File "/usr/lib/python3.10/site-packages/gwe/model/__init__.py", line 19, in <module>
from gwe.model.overclock_profile import OverclockProfile
File "/usr/lib/python3.10/site-packages/gwe/model/overclock_profile.py", line 29, in <module>
OVERCLOCK_PROFILE_CHANGED_SUBJECT = INJECTOR.get(OverclockProfileChangedSubject)
File "/usr/lib/python3.10/site-packages/injector/__init__.py", line 952, in get
binding, binder = self.binder.get_binding(interface)
File "/usr/lib/python3.10/site-packages/injector/__init__.py", line 667, in get_binding
binding = self.create_binding(interface)
File "/usr/lib/python3.10/site-packages/injector/__init__.py", line 582, in create_binding
provider = self.provider_for(interface, to)
File "/usr/lib/python3.10/site-packages/injector/__init__.py", line 644, in provider_for
raise UnknownProvider('couldn\'t determine provider for %r to %r' % (interface, to))
injector.UnknownProvider: couldn't determine provider for gwe.di.OverclockProfileChangedSubject to None
@The999eagle all working now! I had tried reinstalling python-injector and python-py3nvml previously; I think I simply needed to clear out the old source/package files from my $PKGDEST and $SRCDEST before doing so. Thanks for your help and for maintaining these packages!
@deba2000 as with every single python package in the AUR, you have to rebuild python-injector
after upgrading python
. Just reinstall python-injector
and it should be available as module for python 3.9.
GWE attempts to import injector (python package) at launch but fails with the error "ModuleNotFoundError: No module named 'injector'". I see that injector requires python < v3.9 (in requirements.txt) but the system python is at 3.9 (in the Extra repo). I'm actually not sure where python-injector (from the AUR) installs the injector package now, so I don't quite know how to get around this issue at the moment, except maybe launching GWE in a virtual environment with python 3.8 installed?
Please add package full name in the description
Run as user: ERROR: Error while checking NVML Shared Library
Run as root: ERROR: Error while checking NV-CONTROL extension
EDIT: Reboot resolves the issue
gobject-introspection
is always a build dependency, never a runtime dependency.
Current release is 0.13.3, this version is decently outdated. I attempted to build GWE myself but it failed horribly for some reason, seems using PIP to install stuff can be VERY risky.
Anyway be nice if someone can update this, or better yet build a working -git pkgbuild that doesn't use pip system which can cause issues since files are injected all over the system and not tracked by pacman!!!!
Can you put GreenWithEnvy in the package description? This would make the package easier to find.
Maybe "GreenWithEnvy is a system utility for controlling NVIDIA GPUs".
Pinned Comments
crimist commented on 2023-08-26 22:56 (UTC)
GWE's current maintainer will likely be stepping down and is looking for new contributors and maintainers.
More information can be found here if you are intersted: https://gitlab.com/leinardi/gwe/-/issues/195.