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

Error after updating

Open dan4ik123654 opened this issue 1 year ago • 7 comments

After updating i have this error:

╭─ 󰣇  ~ ·······················································································  36s 18:29:23
╰─❯ uwsm -- app python ~/.config/Ax-Shell/main.py > /dev/null
Traceback (most recent call last):
  File "/home/pundemia/.config/Ax-Shell/main.py", line 14, in <module>
    from modules.bar import Bar
  File "/home/pundemia/.config/Ax-Shell/modules/bar.py", line 19, in <module>
    from modules.dock import Dock
  File "/home/pundemia/.config/Ax-Shell/modules/dock.py", line 17, in <module>
    from modules.corners import MyCorner
  File "/home/pundemia/.config/Ax-Shell/modules/corners.py", line 6, in <module>
    from widgets.wayland import WaylandWindow as Window
  File "/home/pundemia/.config/Ax-Shell/widgets/wayland.py", line 54, in <module>
    class WaylandWindow(Window):
    ...<304 lines>...
            }
  File "/home/pundemia/.config/Ax-Shell/widgets/wayland.py", line 55, in WaylandWindow
    @Property(
     ~~~~~~~~^
        Layer,
        ^^^^^^
        flags="read-write",
        ^^^^^^^^^^^^^^^^^^^
        default_value=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 150, in __init__
    self._check_default()
    ~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/gi/_propertyhelper.py", line 289, in _check_default
    elif not _gi.GType(default).is_a(ptype):
             ~~~~~~~~~^^^^^^^^^
TypeError: could not get typecode from object

dan4ik123654 avatar Jun 03 '25 13:06 dan4ik123654

I hope this will help

dan4ik123654 avatar Jun 03 '25 13:06 dan4ik123654

the ax-shell didnt shown up even after reinstall

arufadesuwa avatar Jun 03 '25 13:06 arufadesuwa

You need to update python-gobject Just run: sudo pacman -S python-gobject @dan4ik123654 @DityaPerdana

VimDiezel avatar Jun 03 '25 14:06 VimDiezel

yes i had it too but after this code sudo pacman -S python-gobject , i didn't have any problem and everything fixed @dan4ik123654
@VimDie5el <3

iafshinafshin avatar Jun 03 '25 14:06 iafshinafshin

thanks)

dan4ik123654 avatar Jun 03 '25 14:06 dan4ik123654

Thanks ;)

andrejtuesday avatar Jun 03 '25 15:06 andrejtuesday

Dupe of #155 and I pushed the dependency. :) Fabric was supposed to have python-gobject as a dependency. I wonder what happened... But now it should work.

Axenide avatar Jun 04 '25 02:06 Axenide