Ax-Shell
Ax-Shell copied to clipboard
Python Error: Unsupported Type
I pulled the latest and run it and it was working fine but when I did a system update and reboot it gives an error
Traceback (most recent call last):
File "/home/punisher/.config/Ax-Shell/main.py", line 7, in <module>
from modules.bar import Bar
File "/home/punisher/.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'>
Oh my bad, it was already solved in #77 :)