Have been using Gramps for over a year with great success - started with Desktop on Xubuntu 24.04 LTS and then added GrampsWeb on a server to share externally, using the Sync addon to keep the two updated as I make updates via both but recently doing more updates on Web.
On that 24.04 Desktop I’m using the Snap install. Everything was fine a month ago. Tried to sync the other night to update the Desktop and now getting what looks like an AppArmor error upon initiating the Sync addon.
Tried a different machine with fresh Xubuntu 25.04 installation and got the same exact errors once I put in the Sync URL and user credentials. Will try both Xubuntu and Ubuntu 25.10 next to see what happens but I don’t think it’s me. Has something changed?
I also have a Mac with the latest Gramps Desktop and Sync is working just fine there. I’ve checked the URL and credentials - everything there is good.
Version info Web:
Gramps 6.0.6
Gramps Web API 3.5.0
Gramps Web Frontend 25.11.2
Gramps QL 0.4.0
Sifts 1.1.0
locale: en
multi-tree: false
task queue: true
OCR: true
chat: false
Version info Desktop:
Gramps 6.0.6-4 (snap)
Gramps Web Sync Addon 1.3.5
Gramps has experienced an unexpected error
Error Detail
91744: ERROR: grampsapp.py: line 187: Unhandled exception
Traceback (most recent call last):
File “/home/paul/snap/gramps/11/.local/share/gramps/gramps60/plugins/GrampsWebSync/grampswebsync.py”, line 255, in prepare
self.save_credentials()
File “/home/paul/snap/gramps/11/.local/share/gramps/gramps60/plugins/GrampsWebSync/grampswebsync.py”, line 574, in save_credentials
set_password(url, username, password)
File “/home/paul/snap/gramps/11/.local/share/gramps/gramps60/plugins/GrampsWebSync/grampswebsync.py”, line 94, in set_password
keyring.set_password(service, username, password)
File “/snap/gramps/11/usr/lib/python3/dist-packages/keyring/core.py”, line 61, in set_password
get_keyring().set_password(service_name, username, password)
File “/snap/gramps/11/usr/lib/python3/dist-packages/keyring/backends/SecretService.py”, line 87, in set_password
collection = self.get_preferred_collection()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/snap/gramps/11/usr/lib/python3/dist-packages/keyring/backends/SecretService.py”, line 61, in get_preferred_collection
collection = secretstorage.get_default_collection(bus)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/snap/gramps/11/usr/lib/python3/dist-packages/secretstorage/collection.py”, line 177, in get_default_collection
return Collection(connection)
^^^^^^^^^^^^^^^^^^^^^^
File “/snap/gramps/11/usr/lib/python3/dist-packages/secretstorage/collection.py”, line 45, in _init_
self._collection.get_property(‘Label’)
File “/snap/gramps/11/usr/lib/python3/dist-packages/secretstorage/util.py”, line 67, in get_property
(signature, value), = self.send_and_get_reply(msg)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/snap/gramps/11/usr/lib/python3/dist-packages/secretstorage/util.py”, line 48, in send_and_get_reply
raise DBusErrorResponse(resp_msg)
jeepney.wrappers.DBusErrorResponse: [org.freedesktop.DBus.Error.AccessDenied] (‘An AppArmor policy prevents this sender from sending this message to this recipient; type=“method_call”, sender=“:1.82” (uid=1000 pid=8730 comm=“python3 /snap/gramps/11/bin/gramps” label=“snap.gramps.gramps (enforce)”) interface=“org.freedesktop.DBus.Properties” member=“Get” error name=“(unset)” requested_reply=“0” destination=“org.freedesktop.secrets” (uid=1000 pid=5302 comm=“/usr/bin/gnome-keyring-daemon --foreground --compo” label=“unconfined”)’,)