From 660cf1b5af31226921cf18c87d2cba45e6956c6d Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Fri, 12 Dec 2014 11:07:59 -0800 Subject: [PATCH] cover pathological case (perhaps from privacy proxy) --- gramps/plugins/graph/gvrelgraph.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gramps/plugins/graph/gvrelgraph.py b/gramps/plugins/graph/gvrelgraph.py index d4937c85e..677f70c85 100644 --- a/gramps/plugins/graph/gvrelgraph.py +++ b/gramps/plugins/graph/gvrelgraph.py @@ -291,6 +291,8 @@ class RelGraphReport(Report): def __add_family(self, fam_handle): """Add a node for a family and optionally link the spouses to it""" fam = self.database.get_family_from_handle(fam_handle) + if fam is None: # perhaps from privacy proxy + return fam_id = fam.get_gramps_id() label = ""