From 371a8a8f897957c7e59889b5b61040eb35cae55d Mon Sep 17 00:00:00 2001 From: prculley Date: Wed, 3 Jan 2018 10:25:29 -0600 Subject: [PATCH] fix Fan Chart for exception on right-click of person with no parent Fixes #10349 --- gramps/gui/widgets/fanchart.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gramps/gui/widgets/fanchart.py b/gramps/gui/widgets/fanchart.py index e3df26d52..8b822e0d6 100644 --- a/gramps/gui/widgets/fanchart.py +++ b/gramps/gui/widgets/fanchart.py @@ -1598,6 +1598,8 @@ class FanChartGrampsGUI: siblings.append(sib_id) # Collect a list of per-step-family step-siblings for parent_h in [fam.get_father_handle(), fam.get_mother_handle()]: + if not parent_h: + continue parent = self.dbstate.db.get_person_from_handle(parent_h) other_families = [self.dbstate.db.get_family_from_handle(fam_id) for fam_id in parent.get_family_handle_list()