diff --git a/gramps/src/plugins/AncestorReport.py b/gramps/src/plugins/AncestorReport.py index 5e5434c7f..71270b903 100644 --- a/gramps/src/plugins/AncestorReport.py +++ b/gramps/src/plugins/AncestorReport.py @@ -119,7 +119,10 @@ class AncestorReport: para.set_first_indent(-0.75) para.set_left_margin(1.0) self.doc.add_style("ListEntry",para) - self.doc.open(output) + try: + self.doc.open(output) + except IOError,msg: + GnomeErrorDialog("Could not open %s\n%s",msg) #-------------------------------------------------------------------- #