From 1c8cc6e33f5df9ca3753a1073bf32e2776ffc13e Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Fri, 12 Dec 2014 11:07:18 -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 2f744c585..a87bf2dc9 100644 --- a/gramps/plugins/graph/gvrelgraph.py +++ b/gramps/plugins/graph/gvrelgraph.py @@ -290,6 +290,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 = ""