You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 23, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Jul 23, 2024. It is now read-only.
Traceback (most recent call last):
File "/usr/lib/python3.12/site-packages/yapsy/PluginManager.py", line 132, in<module>
import importlib.abc.Loader as imp
ModuleNotFoundError: No module named 'importlib.abc.Loader';'importlib.abc' is not a package
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/gradience", line 70, in<module>
from gradience.frontend import main
File "/usr/lib/python3.12/site-packages/gradience/frontend/main.py", line 37, in<module>
from gradience.frontend.views.plugins_list import GradiencePluginsList
File "/usr/lib/python3.12/site-packages/gradience/frontend/views/plugins_list.py", line 22, in<module>
from yapsy.PluginManager import PluginManager
File "/usr/lib/python3.12/site-packages/yapsy/PluginManager.py", line 134, in<module>
import imp
ModuleNotFoundError: No module named 'imp'
To Reproduce
update python to latest on arch linux and try running gradience.
Expected behavior
No response
Screenshots
No response
OS
Arch Linux
DE/WM version
Hyprland
Version
Gradience, version 0.8.0-beta2
Installation method
AUR
Enabled system extensions (GNOME specific)
No response
Additional context
No response
Code of Conduct
I agree to follow this project's Code of Conduct
Reacted by Kevin Ahr, Alexis Maiquez, CEUK, Nomaan JamalUddin, Gustavo Joaquin and Kainoa Kanter
Activity
github-actions commentedon Apr 28, 2024
Welcome on Gradience. 🥳 We really appreciate your contribution. The core team will review your issue as soon as possible. You can also join the Matrix room: https://matrix.to/#/#Gradience-space:envs.net or the Discord server: https://discord.com/invite/4njFDtfGEZ
semi710 commentedon Apr 28, 2024
https://docs.python.org/3.11/library/imp.html
imp has been removed in favour of importlib.
allomanta commentedon May 4, 2024
I had this same issue but changing
to
in /usr/lib/python3.12/site-packages/yapsy/PluginManager.py resolved this error for me so that Gradience launches. However, I now get a new error:
and styles seem to only partially get applied (the sidebar in nautilus changes colors but not much else) , but that might be something else.
Almamu commentedon May 5, 2024
yapsy seems to have an open issue related to this: tibonihoo/yapsy#19
Vixima commentedon May 7, 2024
it also seems like they're looking for a new maintainer for yapsy...
tibonihoo/yapsy#23
ShiftHackZ commentedon May 13, 2024
As a temporary workaround, installing this aur package allows to run gradience.
https://aur.archlinux.org/packages/python-zombie-imp