diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index cfec9ea5c..07e8bc276 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -3,6 +3,8 @@ * src/MergePeople.py: Typos. * src/plugins/NavWebPage.py: Typos. * src/po/template.po: Update for upcoming 2.0.6. + * src/Report.py (parse_report_options_frame): Fallback to trivial + filter on filter failure. 2005-08-04 Don Allingham * src/PeopleModel.py: provide a work around for the python 2.3 bug unicode diff --git a/gramps2/src/Report.py b/gramps2/src/Report.py index dcfd9e3ca..c3e7a0930 100644 --- a/gramps2/src/Report.py +++ b/gramps2/src/Report.py @@ -834,9 +834,13 @@ class BareReportDialog: self.options.handler.set_report_generations(self.max_gen,self.pg_brk) if self.filter_combo: - self.filter = self.filter_combo.get_value() - active = self.filter_combo.get_active() - self.options.handler.set_filter_number(active) + try: + self.filter = self.filter_combo.get_value() + active = self.filter_combo.get_active() + self.options.handler.set_filter_number(active) + except: + print "Error setting filter. Proceeding with 'Everyone'" + self.filter = GenericFilter.Everyone([]) else: self.filter = None