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

Ax-Shell fresh install doesn't work

Open wer-zen opened this issue 1 year ago • 2 comments

So I installed Ax-Shell using the curl command and when i run python ~/.config/Ax-Shell/main.py it gives error:

Traceback (most recent call last):
  File "/home/zen/.config/Ax-Shell/main.py", line 7, in <module>
    from modules.bar import Bar
  File "/home/zen/.config/Ax-Shell/modules/bar.py", line 7, in <module>
    from fabric.widgets.wayland import WaylandWindow as Window
  File "/usr/lib/python3.13/site-packages/fabric/widgets/wayland.py", line 30, in <module>
    class WaylandWindow(Window):
    ...<307 lines>...
            }
  File "/usr/lib/python3.13/site-packages/fabric/widgets/wayland.py", line 31, in WaylandWindow
    @Property(
     ~~~~~~~~^
        GtkLayerShell.Layer,
        ^^^^^^^^^^^^^^^^^^^^
        flags="read-write",
        ^^^^^^^^^^^^^^^^^^^
        default_value=GtkLayerShell.Layer.TOP,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3.13/site-packages/fabric/core/service.py", line 124, in __init__
    super().__init__(
    ~~~~~~~~~~~~~~~~^
        type=_type,
        ^^^^^^^^^^^
    ...<8 lines>...
        **kwargs,
        ^^^^^^^^^
    )
    ^
  File "/usr/lib/python3.13/site-packages/gi/_propertyhelper.py", line 148, in __init__
    self.type = self._type_from_python(type)
                ~~~~~~~~~~~~~~~~~~~~~~^^^^^^
  File "/usr/lib/python3.13/site-packages/gi/_propertyhelper.py", line 267, in _type_from_python
    raise TypeError("Unsupported type: %r" % (type_,))
TypeError: Unsupported type: <enum 'Layer'>

And when i run Ax-Shell by ./install.sh it gives this before starting the app (I don't know if it's relevant to the issue)

(config.py:9601): Gtk-CRITICAL **: 12:35:12.370: gtk_range_set_range: assertion 'min <= max' failed

When i run uwsm -- app python ~/.config/Ax-Shell/main.py > /dev/null 2>&1 & disown

It returns [1].

wer-zen avatar Apr 18 '25 10:04 wer-zen

My bad i just had to downgrade PyGObject back to the version mentioned in #77. Looks really really good btw!

wer-zen avatar Apr 18 '25 17:04 wer-zen

Thanks! And I'm glad you found the solution. :)

Axenide avatar Apr 18 '25 20:04 Axenide