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

Can't launch in Manjaro/KDE plasma #43

Open
noyannus opened this issue Jan 31, 2023 · 0 comments
Open

Can't launch in Manjaro/KDE plasma #43

noyannus opened this issue Jan 31, 2023 · 0 comments

Comments

@noyannus
Copy link

No luck trying to run weresync.

Operating System: Manjaro Linux
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8
Kernel Version: 5.15.89-1-MANJARO (64-bit)
Graphics Platform: X11

Weresync 1.1.5-1,  installed with pamac.

Atttempts to launch via launcher results in a brief flicker, but no running weresync.

Command line throws an error:

$ weresync 
Traceback (most recent call last):
File "/usr/bin/weresync", line 33, in <module>
sys.exit(load_entry_point('WereSync==1.1.5', 'console_scripts', 'weresync')())
File "/usr/bin/weresync", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 171, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib/python3.10/site-packages/weresync/interface/cli.py", line 20, in <module>
import weresync.interface.dbus_client as dbus_client
File "/usr/lib/python3.10/site-packages/weresync/interface/dbus_client.py", line 17, in <module>
from pydbus import SystemBus

And weresync-gui asks for root password before the error:

$ weresync-gui
/usr/bin/pkexec
Job for weresync.service failed because the control process exited with error code.
See "systemctl status weresync.service" and "journalctl -xeu weresync.service" for details.
Gtk-Message: 01:01:57.782: Failed to load module "appmenu-gtk-module"
Traceback (most recent call last):
File "/usr/bin/weresync-gui-only", line 33, in <module>
sys.exit(load_entry_point('WereSync==1.1.5', 'gui_scripts', 'weresync-gui')())
File "/usr/bin/weresync-gui-only", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 171, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib/python3.10/site-packages/weresync/interface/gui.py", line 33, in <module>
import weresync.interface.dbus_client as dbus_client
File "/usr/lib/python3.10/site-packages/weresync/interface/dbus_client.py", line 17, in <module>
from pydbus import SystemBus
ModuleNotFoundError: No module named 'pydbus'
/usr/bin/pkexec

A directory /var/log/weresync/ does not exist here (crash too early to write it?).

Kernel log shows 31.01.23 01:01 audit type=1130 audit(1675123317.588:1312): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=weresync comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'for every attempt (different time stamps, of course).

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