Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
bluemann-applet freezes before it starts
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
pablo_supertux
Advocate
Advocate


Joined: 25 Jan 2004
Posts: 2935
Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)

PostPosted: Tue Apr 30, 2024 12:03 am    Post subject: bluemann-applet freezes before it starts Reply with quote

Hi

Yesterday I made a world update, I guess blueman-applet got an update as it has a new disable/enable icon. But since the update, the window appears but nothing is visible, as if it were frozen. After 30 seconds more or less, I get an msgbox with

Quote:

Failed to reach blueman-manager

It seems that blueman-manager could not be activated via D-BUS. A typical cause for this is a graphical broken setup in the D-BUS activation environment that can get resolved with a call to dbus-update-activation-environment, typically issued from xinitrc (respectively the Sway config or similar)


After that the blueman appears to be working again, I'm able

I'm an openrc user and I use fluxbox. In my ~/.fluxbox/startup I have

Code:

blueman-applet --loglevel INFO --syslog &


which has been working for years now. On my ~/.xsession-errors I can see these error:

Code:

Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/blueman/main/indicators/GtkStatusIcon.py", line 64, in <lambda>
    self.indicator.connect('activate', lambda _status_icon: tray.activate_status_icon())
                                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/blueman/main/Tray.py", line 65, in activate_status_icon
    AppletService().Activate()
  File "/usr/lib/python3.11/site-packages/gi/overrides/Gio.py", line 349, in __call__
blueman-applet 01.39.42 ERROR    DBusProxies:62 activate  : Call to org.blueman.Manager failed
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/blueman/main/DBusProxies.py", line 57, in activate
    self.call_sync("Activate", param, Gio.DBusCallFlags.NONE, -1, None)
gi.repository.GLib.GError: g-io-error-quark: Timeout was reached (24)
    result = self.dbus_proxy.call_sync(self.method_name, arg_variant,
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gi.repository.GLib.GError: g-io-error-quark: Timeout was reached (24)
blueman-applet 01.40.24 INFO     RecentConns:112 notify    : <Device.Device object at 0x7fc7903c9bc0 (blueman+bluez+Device+Device at 0x55fbbe9beee0)> 00000000-0000-0000-0000-000000000000

(pasystray:5375): pasystray-WARNING **: 01:40:25.200: [notify] unable to show notification: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files (2)
pasystray-Message: 01:40:27.645: Failed to get source information: No such entity
pasystray-Message: 01:40:27.646: Failed to get source information: No such entity
pasystray-Message: 01:40:27.646: Failed to get sink information: No such entity
pasystray-Message: 01:40:27.651: Failed to get source information: No such entity
pasystray-Message: 01:40:27.651: Failed to get source information: No such entity
pasystray-Message: 01:40:27.651: Failed to get sink information: No such entity
pasystray-Message: 01:40:27.651: Failed to get source information: No such entity
pasystray-Message: 01:40:27.651: Failed to get source information: No such entity

(pasystray:5375): pasystray-WARNING **: 01:40:27.653: [notify] unable to show notification: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files (2)
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/blueman/main/indicators/GtkStatusIcon.py", line 64, in <lambda>
    self.indicator.connect('activate', lambda _status_icon: tray.activate_status_icon())
                                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
blueman-applet 01.41.25 ERROR    DBusProxies:62 activate  : Call to org.blueman.Manager failed
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/blueman/main/DBusProxies.py", line 57, in activate
    self.call_sync("Activate", param, Gio.DBusCallFlags.NONE, -1, None)
gi.repository.GLib.GError: g-io-error-quark: Timeout was reached (24)
  File "/usr/lib/python3.11/site-packages/blueman/main/Tray.py", line 65, in activate_status_icon
    AppletService().Activate()
  File "/usr/lib/python3.11/site-packages/gi/overrides/Gio.py", line 349, in __call__
    result = self.dbus_proxy.call_sync(self.method_name, arg_variant,
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gi.repository.GLib.GError: g-io-error-quark: Timeout was reached (24)
/usr/lib/python3.11/site-packages/blueman/gui/GtkAnimation.py:74: Warning: Source ID 460 was not found when attempting to remove it
  GLib.source_remove(self._source)


In my /var/log/messages I can see

Code:

Apr 30 02:00:32 gallifrey dbus-daemon[5327]: [session uid=1000 pid=5325 pidfd=4] Activating service name='org.blueman.Manager' requested by ':1.17' (uid=1000 pid=5376 comm="/usr/bin/python3.11 /usr/bin/blueman-applet --logl")
Apr 30 02:00:32 gallifrey dbus-daemon[5327]: [session uid=1000 pid=5325 pidfd=4] Successfully activated service 'org.blueman.Manager'
Apr 30 02:00:32 gallifrey pulseaudio[5399]: [pulseaudio] client.c: Created 59 "Native client (UNIX socket client)"
Apr 30 02:00:33 gallifrey pulseaudio[5399]: [pulseaudio] protocol-native.c: Got credentials: uid=1000 gid=1000 success=1
Apr 30 02:00:33 gallifrey pulseaudio[5399]: [pulseaudio] client.c: Created 60 "Native client (UNIX socket client)"
Apr 30 02:00:33 gallifrey pulseaudio[5399]: [pulseaudio] protocol-native.c: Got credentials: uid=1000 gid=1000 success=1


Apr 30 02:00:58 gallifrey blueman-applet[5376]: ERROR DBusProxies:62 activate: Call to org.blueman.Manager failed
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/blueman/main/DBusProxies.py", line 57, in activate
    self.call_sync("Activate", param, Gio.DBusCallFlags.NONE, -1, None)
gi.repository.GLib.GError: g-io-error-quark: Timeout was reached (24)



After executing dbus-update-activation-environment (I called it without any parameter, perhaps I need to call it with some parameter?) and closing the blueman-applet window, it opens quickly again. But doing that a couple of minutes later shows the same problems as described above.
_________________
A! Elbereth Gilthoniel!
silivren penna míriel
o menel aglar elenath,
Gilthoniel, A! Elbereth!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum