* src/ReportBase/_ReportDialog.py (report): catch IOError
svn: r6969
This commit is contained in:
parent
1aea8327ab
commit
60d21403a7
@ -1,4 +1,5 @@
|
||||
2006-06-26 Don Allingham <don@gramps-project.org>
|
||||
* src/ReportBase/_ReportDialog.py (report): catch IOError
|
||||
* src/Filters/Rules/Person/_HasDeath.py: use references instead of
|
||||
handles
|
||||
|
||||
|
@ -647,6 +647,8 @@ def report(dbstate,uistate,person,report_class,options_class,
|
||||
except Errors.FilterError, msg:
|
||||
(m1,m2) = msg.messages()
|
||||
ErrorDialog(m1,m2)
|
||||
except IOError, msg:
|
||||
ErrorDialog(_("Report could not be created"),str(msg))
|
||||
except Errors.ReportError, msg:
|
||||
(m1,m2) = msg.messages()
|
||||
ErrorDialog(m1,m2)
|
||||
|
Loading…
Reference in New Issue
Block a user