equal
deleted
inserted
replaced
404 if cap: |
404 if cap: |
405 cap.ReleaseMouse() |
405 cap.ReleaseMouse() |
406 |
406 |
407 dlg = wx.SingleChoiceDialog(None, |
407 dlg = wx.SingleChoiceDialog(None, |
408 _(""" |
408 _(""" |
409 An error has occurred. |
409 An unhandled exception (bug) occured. Bug report saved at : |
410 |
410 (%s) |
411 Click OK to save an error report. |
|
412 |
411 |
413 Please be kind enough to send this file to: |
412 Please be kind enough to send this file to: |
414 edouard.tisserant@gmail.com |
413 beremiz-devel@lists.sourceforge.net |
415 |
414 |
416 Error: |
415 You should now restart program. |
417 """) + |
416 |
418 str(e_type) + _(" : ") + str(e_value), |
417 Traceback: |
|
418 """) % bug_report_path + |
|
419 repr(e_type) + " : " + repr(e_value), |
419 _("Error"), |
420 _("Error"), |
420 trcbck_lst) |
421 trcbck_lst) |
421 try: |
422 try: |
422 res = (dlg.ShowModal() == wx.ID_OK) |
423 res = (dlg.ShowModal() == wx.ID_OK) |
423 finally: |
424 finally: |