-
-
Notifications
You must be signed in to change notification settings - Fork 482
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
gui: DesktopNotifications not available (python3-notify2 installed) #1005
Comments
Hi @slynobody , There have been a lot of python3 updates lately on Sid (July + August), maybe it has affected somehow. See if you have the python3-notify2 package under /usr/lib/python3*:
And your python version: On the other hand, we didn't change the notifications module from v1.6.0 to v1.6.1: v1.6.0...v1.6.1 There was only 1 commit to receive notifications from the firewall changes, but the notifs module itself was not changed. This change though, could explain the delay starting up, I've also seen it sometimes, but I haven't had time to debug it.
I haven't seen this error before, but I'll try to run the GUI on Sid to see if I can reproduce it. |
thank you for your help. notify2 is installed and found. this was not the issue. opensnitch 1.6.1+ seems to have introduced a new dependecy for working on kde directly after starting it: strangely notifications have to be set to any other option than 'off' as well as 'notification-daemon' must be installed and running. |
any progress here? |
not yet @luzpaz , I need to reproduce the problem. Do you experience the same behaviour? |
No GUI ~ OpenSnitch GUI - 1.6.5.1 ~ |
Describe the bug
after the last update opensnitch-ui needs 1-2 minutes to start, giving the above output: seemingly 'python3-notify2' should be installed – and it is. no pip3 / pipx-install (debian-packages, python3-minimal installed incl. dependencies). Downgraded dbus / rebooted, no changes.
Error does only occur on an amd-machine, maybe dbus-security-measures / hardening there could intervene? where to look exactly?
Post error logs:
~ OpenSnitch GUI - 1.6.1 ~
protobuf: 4.21.12 - grpc: 1.51.1
gRPC Max Message Length: 4MiB
Bytes: 4194304
is new file, or IN MEMORY, setting initial schema version
setting schema version to: 2
setting schema version to: 2
schema version: 2
db schema is up to date
Loading translations: /usr/lib/python3/dist-packages/opensnitch/utils/../i18n locale: de_DE
DesktopNotifications not available (install python3-notify2): org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
using IPASN DB: /usr/lib/python3/dist-packages/data/ipasn_20140513_v12.dat.gz
DesktopNotifications not available (install python3-notify2): org.freedesktop.DBus.Error.ServiceUnknown: Could not activate remote peer: unit failed.
Using server address: unix:///tmp/osui.sock
new node connected, listening for client responses... /local
[Nodes]: reply notification not in the list: 0
Expected behavior (optional)
gui should start directly.
The text was updated successfully, but these errors were encountered: