Gradience icon indicating copy to clipboard operation
Gradience copied to clipboard

bug: Gradience didn't open in Arch Linux

Open gustavojoaquin opened this issue 1 year ago • 4 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

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

  • [X] I agree to follow this project's Code of Conduct

gustavojoaquin avatar May 13 '24 06:05 gustavojoaquin

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

github-actions[bot] avatar May 13 '24 06:05 github-actions[bot]

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

Almamu avatar May 13 '24 17:05 Almamu

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'

JarneDel avatar May 19 '24 12:05 JarneDel

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.

keilmillerjr avatar Jun 23 '24 14:06 keilmillerjr