FS#75329 - [guake] does not start anymore (after updating libnotify)

Attached to Project: Community Packages
Opened by Trit' (trit) - Friday, 15 July 2022, 08:19 GMT
Last edited by Toolybird (Toolybird) - Saturday, 16 July 2022, 22:50 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Balló György (City-busz)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description: Today (2022-7-15), I have updated my system as usual, and after reboot, Guake did not start with my XFCE session.


Additional info:
* package version(s): 3.9.0-2
* config and/or log files etc.

$ guake &
[1] 1684
[×××××@Primula ~]$ Guake not running, starting it
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/dbus/bus.py", line 177, in activate_name_owner
return self.get_name_owner(bus_name)
File "/usr/lib/python3.10/site-packages/dbus/bus.py", line 361, in get_name_owner
return self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH,
File "/usr/lib/python3.10/site-packages/dbus/connection.py", line 652, in call_blocking
reply_message = self.send_message_with_reply_and_block(
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.guake3.RemoteControl': no such name

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/guake/main.py", line 473, in main
remote_object = bus.get_object(DBUS_NAME, DBUS_PATH)
File "/usr/lib/python3.10/site-packages/dbus/bus.py", line 241, in get_object
return self.ProxyObjectClass(self, bus_name, object_path,
File "/usr/lib/python3.10/site-packages/dbus/proxies.py", line 250, in __init__
self._named_service = conn.activate_name_owner(bus_name)
File "/usr/lib/python3.10/site-packages/dbus/bus.py", line 182, in activate_name_owner
self.start_service_by_name(bus_name)
File "/usr/lib/python3.10/site-packages/dbus/bus.py", line 277, in start_service_by_name
return (True, self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH,
File "/usr/lib/python3.10/site-packages/dbus/connection.py", line 652, in call_blocking
reply_message = self.send_message_with_reply_and_block(
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.guake3.RemoteControl was not provided by any .service files

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/bin/guake", line 33, in <module>
sys.exit(load_entry_point('guake==3.9.1.dev0', 'console_scripts', 'guake')())
File "/usr/lib/python3.10/site-packages/guake/main.py", line 648, in exec_main
if not main():
File "/usr/lib/python3.10/site-packages/guake/main.py", line 487, in main
from guake.guake_app import Guake
File "/usr/lib/python3.10/site-packages/guake/guake_app.py", line 49, in <module>
from guake import notifier
File "/usr/lib/python3.10/site-packages/guake/notifier.py", line 23, in <module>
gi.require_version("Notify", "0.7")
File "/usr/lib/python3.10/site-packages/gi/__init__.py", line 129, in require_version
raise ValueError('Namespace %s not available for version %s' %
ValueError: Namespace Notify not available for version 0.7


Steps to reproduce: just upgrade Arch Linux as of 2022-7-15. My last pacman.log lines are:

[2022-07-15T10:00:02+0200] [PACMAN] Running 'pacman -S -y -u --config /etc/pacman.conf --'
[2022-07-15T10:00:02+0200] [PACMAN] synchronizing package lists
[2022-07-15T10:00:04+0200] [PACMAN] starting full system upgrade
[2022-07-15T10:01:31+0200] [ALPM] transaction started
[2022-07-15T10:01:31+0200] [ALPM] removed wxgtk3 (3.0.5.1-3)
[2022-07-15T10:01:31+0200] [ALPM] removed wxgtk-common (3.0.5.1-3)
[2022-07-15T10:01:31+0200] [ALPM] upgraded archlinux-keyring (20220424-1 -> 20220713-1)
[…]
[2022-07-15T10:01:42+0200] [ALPM] upgraded systemd-libs (251.2-1 -> 251.3-1)
[2022-07-15T10:01:42+0200] [ALPM] installed wxwidgets-common (3.2.0-2)
[2022-07-15T10:01:42+0200] [ALPM] upgraded libnotify (0.7.12-1 -> 0.8.0-1)
[2022-07-15T10:01:42+0200] [ALPM] installed libmspack (1:0.10.1alpha-3)
[2022-07-15T10:01:43+0200] [ALPM] upgraded systemd (251.2-1 -> 251.3-1)
[2022-07-15T10:01:44+0200] [ALPM] installed wxwidgets-gtk3 (3.2.0-2)
[2022-07-15T10:01:44+0200] [ALPM] upgraded audacity (1:2.4.1-7 -> 1:2.4.1-9)
[2022-07-15T10:01:44+0200] [ALPM] upgraded filezilla (3.60.1-1 -> 3.60.1-2)
[2022-07-15T10:01:45+0200] [ALPM] upgraded lib32-systemd (251.2-1 -> 251.3-1)
[2022-07-15T10:01:45+0200] [ALPM] upgraded libgsf (1.14.49-1 -> 1.14.50-1)
[2022-07-15T10:01:45+0200] [ALPM] upgraded mediainfo (22.06-1 -> 22.06-2)
[2022-07-15T10:01:45+0200] [ALPM] upgraded mediainfo-gui (22.06-1 -> 22.06-2)
[2022-07-15T10:01:45+0200] [ALPM] upgraded mercurial (6.1.4-1 -> 6.2-1)
[2022-07-15T10:01:46+0200] [ALPM] upgraded nodejs (18.5.0-1 -> 18.6.0-1)
[2022-07-15T10:01:46+0200] [ALPM] upgraded perl-alien-build (2.49-1 -> 2.50-1)
[2022-07-15T10:01:46+0200] [ALPM] upgraded perl-uri (5.11-1 -> 5.12-1)
[2022-07-15T10:01:46+0200] [ALPM] upgraded python-zipp (3.8.0-2 -> 3.8.1-1)
[2022-07-15T10:01:46+0200] [ALPM] upgraded systemd-sysvcompat (251.2-1 -> 251.3-1)
[2022-07-15T10:01:46+0200] [ALPM] upgraded xfce4-xkb-plugin (0.8.2-1 -> 0.8.3-1)
[2022-07-15T10:01:46+0200] [ALPM] transaction completed

I think it is caused by libnotify, since it’s the only Guake dependancy to be upgraded.
This task depends upon

Closed by  Toolybird (Toolybird)
Saturday, 16 July 2022, 22:50 GMT
Reason for closing:  Fixed
Additional comments about closing:  libnotify 0.8.0-2
Comment by Trit' (trit) - Friday, 15 July 2022, 08:24 GMT
I can confirm this is a bug caused by libnotify: I downgraded it to version 0.7.9-2 and Guake works again. So, I will block libnotify updates until both packages are fixed.

If a mod could add a [libnotify] tag, please…
Comment by Jan Pohanka (xhpohanka) - Friday, 15 July 2022, 12:47 GMT
the same for me...
Comment by loqs (loqs) - Friday, 15 July 2022, 22:33 GMT Comment by Trit' (trit) - Friday, 15 July 2022, 22:59 GMT
Maybe replacing the “0.7” value by “0.8” in the line 23 of the file “/usr/lib/python3.10/site-packages/guake/notifier.py” could fix the bug? I have reported it on their GitHub.

(Fix proposed by a member of the Hardware.fr (HFR) forum: https://forum.hardware.fr/hfr/OSAlternatifs/Installation/nouveaute-stabilite-simplicite-sujet_37691_445.htm#t1476903)

EDIT : confirmed working:
https://github.com/Guake/guake/issues/2110#issuecomment-1186035902

Loading...