weresync icon indicating copy to clipboard operation
weresync copied to clipboard

Not able to run weresync after install and run weresync-daemon, python module 'gi' not found error

Open sereeena opened this issue 1 year ago • 0 comments

OS: Debian GNU/Linux 12 (bookworm)

Installed weresync 1.1.5-1 via latest release .deb file. python3-gi was installed as one of the dependencies.

Successfully started weresync-daemon via: sudo weresync-daemon & >/dev/null 2>&1

But running the weresync command I get:

Traceback (most recent call last):
  File "/home/serena/.local/bin/weresync", line 5, in <module>
    from weresync.interface.cli import main
  File "/home/serena/.local/pipx/venvs/weresync/lib/python3.11/site-packages/weresync/interface/cli.py", line 20, in <module>
    import weresync.interface.dbus_client as dbus_client
  File "/home/serena/.local/pipx/venvs/weresync/lib/python3.11/site-packages/weresync/interface/dbus_client.py", line 17, in <module>
    from pydbus import SystemBus
  File "/home/serena/.local/pipx/venvs/weresync/lib/python3.11/site-packages/pydbus/__init__.py", line 1, in <module>
    from .bus import SystemBus, SessionBus, connect
  File "/home/serena/.local/pipx/venvs/weresync/lib/python3.11/site-packages/pydbus/bus.py", line 1, in <module>
    from gi.repository import Gio
ModuleNotFoundError: No module named 'gi'

Is this fixable, or do I have to install via pip and virtualenv?

sereeena avatar Aug 26 '24 01:08 sereeena