gnome-passwordsafe (Secrets) crashes with 'ValueError: Namespace Adw not available' when trying to start
I hope I'm in the correct place, apologies if I'm not.
I get the following error trying to start Gnome Secrets (formerly Password Safe):
pine64-pinephone:~$ secrets
Traceback (most recent call last):
File "/usr/bin/secrets", line 13, in <module>
gi.require_version("Adw", "1")
File "/usr/lib/python3.10/site-packages/gi/__init__.py", line 126, in require_version
raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Adw not available
As you can see, this is on PinePhone. I am running SXMO, which is one of UIs for PostMarketOS (stable v22.06), which in turn is derived from Alpine (v3.16 I think). I gathered this info from the installation:
pine64-pinephone:~$ sudo apk add gnome-passwordsafe
[sudo] password for user:
fetch http://mirror.postmarketos.org/postmarketos/v22.06/aarch64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz
(1/16) Installing py3-cparser (2.20-r2)
(2/16) Installing py3-cffi (1.15.0-r0)
(3/16) Installing py3-argon2-cffi (21.1.0-r1)
(4/16) Installing py3-construct (2.10.67-r2)
(5/16) Installing py3-dateutil (2.8.2-r1)
(6/16) Installing py3-future (0.18.2-r5)
(7/16) Installing libxslt (1.1.35-r0)
(8/16) Installing py3-lxml (4.8.0-r0)
(9/16) Installing py3-pycryptodomex (3.14.1-r0)
(10/16) Installing py3-keepass (4.0.1-r0)
(11/16) Installing cracklib-words (2.9.7-r4)
(12/16) Installing cracklib (2.9.7-r4)
(13/16) Installing libpwquality (1.4.4-r3)
(14/16) Installing py3-libpwquality (1.4.4-r3)
(15/16) Installing py3-otp (2.6.0-r0)
(16/16) Installing gnome-passwordsafe (6.4-r0)
Executing busybox-1.35.0-r14.trigger
Executing glib-2.72.1-r0.trigger
Executing postmarketos-base-20-r1.trigger
Configuring a getty on port ttyS0 with baud rate 115200
Executing shared-mime-info-2.2-r0.trigger
Executing gtk-update-icon-cache-2.24.33-r3.trigger
Executing cracklib-2.9.7-r4.trigger
OK: 1275 MiB in 587 packages
pine64-pinephone:~$
But this package (near as I can tell) comes from Alpine, not PMOS: https://pkgs.alpinelinux.org/package/edge/community/x86_64/gnome-passwordsafe.