src/ReportBase/_ReportDialog.py: Still let REAL exceptions pass through.
svn: r8626
This commit is contained in:
parent
336cd588e6
commit
da83135ac2
@ -1,3 +1,6 @@
|
|||||||
|
2007-06-22 Brian Matherly <brian@gramps-project.org>
|
||||||
|
* src/ReportBase/_ReportDialog.py: Still let REAL exceptions pass through.
|
||||||
|
|
||||||
2007-06-22 Brian Matherly <brian@gramps-project.org>
|
2007-06-22 Brian Matherly <brian@gramps-project.org>
|
||||||
* src/docgen/Pdfdoc.py: 0001055: Pictures of the gallery are not used in the
|
* src/docgen/Pdfdoc.py: 0001055: Pictures of the gallery are not used in the
|
||||||
detailed ancestor's report when output format is PDF
|
detailed ancestor's report when output format is PDF
|
||||||
|
@ -661,7 +661,12 @@ def report(dbstate,uistate,person,report_class,options_class,
|
|||||||
except Errors.DatabaseError,msg:
|
except Errors.DatabaseError,msg:
|
||||||
ErrorDialog(_("Report could not be created"),str(msg))
|
ErrorDialog(_("Report could not be created"),str(msg))
|
||||||
except AttributeError,msg:
|
except AttributeError,msg:
|
||||||
|
if str(msg).startswith("None"):
|
||||||
|
# "None object type has no attribute . . . " usually means
|
||||||
|
# database corruption
|
||||||
RunDatabaseRepair(str(msg))
|
RunDatabaseRepair(str(msg))
|
||||||
|
else:
|
||||||
|
raise
|
||||||
except:
|
except:
|
||||||
log.error("Failed to run report.", exc_info=True)
|
log.error("Failed to run report.", exc_info=True)
|
||||||
break
|
break
|
||||||
|
Loading…
x
Reference in New Issue
Block a user