In 5.2 beta, I did an import into a new tree of a GEDCOM with lots of irregularities to see what the new version does.
(The Import preferences were set to Tag and Source the GEDCOM import. Because it seemed to skip tagging some Note object when importing our sample gedcom and I didn’t see any sources added when importing that either.)
After changing the the tag color from Black to Red (so there would be a visible difference in list views), I tried going to the Note view.
And Gramps got stuck in an error loop:
2023-08-23 02:56:25.260: ERROR: grampsapp.py: line 188: Unhandled exception
Traceback (most recent call last):
File "/home/districtsupport/Documents/GitHub/Gramps/gramps/gui/views/treemodels/flatbasemodel.py", line 805, in do_get_value
val = self._get_value(handle, col)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/districtsupport/Documents/GitHub/Gramps/gramps/gui/views/treemodels/flatbasemodel.py", line 789, in _get_value
return self.fmap[col](self.prev_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/districtsupport/Documents/GitHub/Gramps/gramps/gui/views/treemodels/notemodel.py", line 165, in column_tag_color
tag = self.db.get_tag_from_handle(handle)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/districtsupport/Documents/GitHub/Gramps/gramps/gen/db/generic.py", line 1371, in get_tag_from_handle
return self._get_from_handle(TAG_KEY, Tag, handle)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/districtsupport/Documents/GitHub/Gramps/gramps/gen/db/generic.py", line 1334, in _get_from_handle
raise HandleError("Handle is None")
gramps.gen.errors.HandleError: Handle is None
2023-08-23 02:56:25.447: ERROR: grampsapp.py: line 188: Unhandled exception
Traceback (most recent call last):
File "/home/districtsupport/Documents/GitHub/Gramps/gramps/gui/views/listview.py", line 308, in foreground_color
fg_color = model.get_value(iter_, model.color_column())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: unknown type (null)
2023-08-23 02:56:25.751: ERROR: grampsapp.py: line 188: Unhandled exception
Traceback (most recent call last):
File "/home/districtsupport/Documents/GitHub/Gramps/gramps/gui/views/treemodels/flatbasemodel.py", line 805, in do_get_value
val = self._get_value(handle, col)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/districtsupport/Documents/GitHub/Gramps/gramps/gui/views/treemodels/flatbasemodel.py", line 789, in _get_value
return self.fmap[col](self.prev_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/districtsupport/Documents/GitHub/Gramps/gramps/gui/views/treemodels/notemodel.py", line 165, in column_tag_color
tag = self.db.get_tag_from_handle(handle)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/districtsupport/Documents/GitHub/Gramps/gramps/gen/db/generic.py", line 1371, in get_tag_from_handle
return self._get_from_handle(TAG_KEY, Tag, handle)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/districtsupport/Documents/GitHub/Gramps/gramps/gen/db/generic.py", line 1334, in _get_from_handle
raise HandleError("Handle is None")
gramps.gen.errors.HandleError: Handle is None
2023-08-23 02:56:25.937: ERROR: grampsapp.py: line 188: Unhandled exception
Traceback (most recent call last):
File "/home/districtsupport/Documents/GitHub/Gramps/gramps/gui/views/listview.py", line 308, in foreground_color
fg_color = model.get_value(iter_, model.color_column())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: unknown type (null)
2023-08-23 02:56:26.238: ERROR: grampsapp.py: line 188: Unhandled exception
Traceback (most recent call last):
File "/home/districtsupport/Documents/GitHub/Gramps/gramps/gui/views/treemodels/flatbasemodel.py", line 805, in do_get_value
val = self._get_value(handle, col)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/districtsupport/Documents/GitHub/Gramps/gramps/gui/views/treemodels/flatbasemodel.py", line 789, in _get_value
return self.fmap[col](self.prev_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/districtsupport/Documents/GitHub/Gramps/gramps/gui/views/treemodels/notemodel.py", line 165, in column_tag_color
tag = self.db.get_tag_from_handle(handle)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/districtsupport/Documents/GitHub/Gramps/gramps/gen/db/generic.py", line 1371, in get_tag_from_handle
return self._get_from_handle(TAG_KEY, Tag, handle)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/districtsupport/Documents/GitHub/Gramps/gramps/gen/db/generic.py", line 1334, in _get_from_handle
raise HandleError("Handle is None")
gramps.gen.errors.HandleError: Handle is None
Killed