Skip to content

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

@sereeena

Description

@sereeena

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions