GradienceTeam / Gradience

Change the look of Adwaita, with ease
https://gradienceteam.github.io
GNU General Public License v3.0
1.29k stars 46 forks source link

bug: Gradience didn't open in Arch Linux #896

Open GustavoJCL opened 1 month ago

GustavoJCL commented 1 month ago

Is there an existing issue for this?

What happened?

Hi, i installed Gradience in Arch Linux but it didn't open, i just have this error:

gradience
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

paru -S gradience or paru -S gradience-git $ gradience

Expected behavior

I expect Gradience open

Screenshots

image

OS

Arch Linux

DE/WM version

Swayfx

Version

latest

Installation method

AUR

Enabled system extensions (GNOME specific)

No response

Additional context

No response

Code of Conduct

github-actions[bot] commented 1 month ago

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

Almamu commented 1 month ago

This is related to #890, that workaround seems to do the job for now in Arch.

JarneDel commented 1 month ago

I have a similar behaviour, but with the yapsy package gradience Traceback (most recent call last): File "/usr/bin/gradience", line 70, in from gradience.frontend import main File "/usr/lib/python3.12/site-packages/gradience/frontend/main.py", line 37, in from gradience.frontend.views.plugins_list import GradiencePluginsList File "/usr/lib/python3.12/site-packages/gradience/frontend/views/plugins_list.py", line 22, in from yapsy.PluginManager import PluginManager ModuleNotFoundError: No module named 'yapsy'

keilmillerjr commented 3 days ago

I can confirm that the aur package gradience-git is broken. python-yapsy is no longer available. I removed the package and dependencies, and reinstalled using the alternative python-yapsy-git. Here is my log.

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 24, in <module>
    from material_color_utilities_python import hexFromArgb
ModuleNotFoundError: No module named 'material_color_utilities_python'

The suggested temporary fix of installing python-zombie-imp has no effect.