Gramps 5.2 on Linux Mint
When I convert my 5.1 database to 5.2, everythings seems to be OK, but when I try to merge duplicate citations, what I often do after importing new branches, I get an exception:
2024-05-01 17:27:39.425: ERROR: grampsapp.py: line 188: Unhandled exception
Traceback (most recent call last):
File “/home/enno/gramps/gramps/plugins/tool/mergecitations.py”, line 205, in on_merge_ok_clicked
raise MergeError(
gramps.gen.errors.MergeError: Encountered an object of type Note that has a citation reference.
And this is quite a nasty one, because there is no way out, other than by killing Gramps using the task manager, leaving me with a locked database. There is no corruption, but it is annoying, and the error did not show in 5.1, for that same tree.
A quick glance at the source code, using blame, suggests that the merging code hasn’t changed, so it looks like a problem with the upgrade. That is why I still run 5.2 from source, and won’t migrate until I know what’s going on.
Also, when I run Check & Repair on the converted tree, I see warnings like these:
2024-05-01 17:26:51.701: WARNING: check.py: line 2542: FAIL: Bad Note Link found, Place: handle: c5f484ec35150d286652a2957f6
2024-05-01 17:26:51.783: WARNING: check.py: line 2542: FAIL: Bad Note Link found, Person: handle: f540866195a7bcd15b4eb3650f2
2024-05-01 17:26:51.783: WARNING: check.py: line 2542: FAIL: Bad Note Link found, Person: handle: f54086619615a25a66d5daad4df
2024-05-01 17:26:51.785: WARNING: check.py: line 2542: FAIL: Bad Note Link found, Note: handle: f26022bc6fc57226f60575155f4
2024-05-01 17:26:51.785: WARNING: check.py: line 2542: FAIL: Bad Note Link found, Person: handle: f540865e8ff4c79b9a0ebd1fa9
Do they mean that something went wrong during the conversion, or were these things not checked in 5.1? And can these issues be related?