Ax-Shell icon indicating copy to clipboard operation
Ax-Shell copied to clipboard

System tray error

Open yunzoetang opened this issue 1 year ago • 3 comments

On a fresh install (delete Ax-Shell directory), this error occurs.

Traceback (most recent call last):
  File "/home/zoe/.config/Ax-Shell/main.py", line 7, in <module>
    from modules.bar import Bar
  File "/home/zoe/.config/Ax-Shell/modules/bar.py", line 12, in <module>
    from modules.systemtray import SystemTray
  File "/home/zoe/.config/Ax-Shell/modules/systemtray.py", line 3, in <module>
    gi.require_version("Gray", "0.1")
    ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/gi/__init__.py", line 122, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Gray not available

yunzoetang avatar Mar 26 '25 22:03 yunzoetang

Gray sometimes fails to install with the script for some reason. I already tried everything but it is inconsistent. Anyway, install it with yay -S gray-git and you should be good to go. :)

Axenide avatar Mar 26 '25 23:03 Axenide

Oh I have gray installed, and I'm pretty sure your install script works fine :)

> pacman -Q | grep gray-git
gray-git 0.0.1+git-1

yunzoetang avatar Mar 31 '25 15:03 yunzoetang

I see, interesting... The error still isn't Ax-Shell related, since it clearly isn't recognizing Gray. Can you try reinstalling Gray? If that fails, then I recommend you join the Fabric Discord server. They developed Gray.

Axenide avatar Mar 31 '25 18:03 Axenide