Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sereeena opened this issue Aug 26, 2024 · 0 comments

Comments

@sereeena
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant