`gnome-photos / basic.py` test fails if gnome-photos is not already installed
The gnome-photos / basic.py
test fails if gnome-photos is not already installed:
1/3 gnome-photos / basic.py FAIL 0.10s exit status 1
>>> GSETTINGS_BACKEND=memory MALLOC_PERTURB_=252 LC_ALL=C /home/mattst88/projects/GNOME/gnome-photos/tests/basic.py
―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― ✀ ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
Creating logfile at /tmp/dogtail-mattst88/logs/basic_20220927-221048_debug ...
Traceback (most recent call last):
File "/home/mattst88/projects/GNOME/gnome-photos/tests/basic.py", line 15, in <module>
app = start()
File "/home/mattst88/projects/GNOME/gnome-photos/tests/testutil.py", line 55, in start
_do_bus_call("Activate", GLib.Variant('(a{sv})', ([],)))
File "/home/mattst88/projects/GNOME/gnome-photos/tests/testutil.py", line 43, in _do_bus_call
_bus.call_sync(APPLICATION_ID, '/' + APPLICATION_ID.replace('.', '/'),
gi.repository.GLib.GError: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.Photos was not provided by any .service files (2)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/mattst88/projects/GNOME/gnome-photos/tests/basic.py", line 28, in <module>
fini()
File "/home/mattst88/projects/GNOME/gnome-photos/tests/testutil.py", line 66, in fini
_do_bus_call("ActivateAction", GLib.Variant('(sava{sv})', ('quit', [], [])))
File "/home/mattst88/projects/GNOME/gnome-photos/tests/testutil.py", line 43, in _do_bus_call
_bus.call_sync(APPLICATION_ID, '/' + APPLICATION_ID.replace('.', '/'),
gi.repository.GLib.GError: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.Photos was not provided by any .service files (2)
Originally reported here: https://bugs.gentoo.org/653178