Removed attempt to pop up an error box when dying.
svn: r59
This commit is contained in:
parent
7f531910fc
commit
192bef4871
@ -24,13 +24,9 @@ try:
|
|||||||
gramps_main.main(None)
|
gramps_main.main(None)
|
||||||
except:
|
except:
|
||||||
|
|
||||||
|
traceback.print_exc()
|
||||||
fname = os.path.expanduser("~/gramps.err")
|
fname = os.path.expanduser("~/gramps.err")
|
||||||
errfile = open(fname,"w")
|
errfile = open(fname,"w")
|
||||||
traceback.print_exc(file=errfile)
|
traceback.print_exc(file=errfile)
|
||||||
errfile.close()
|
errfile.close()
|
||||||
|
|
||||||
import gnome.ui
|
|
||||||
|
|
||||||
msg1 = _("gramps has encountered an internal error.")
|
|
||||||
msg2 = _("The error log has been saved to %s.") % fname
|
|
||||||
gnome.ui.GnomeWarningDialog("%s\n%s" % (msg1,msg2))
|
|
||||||
|
Loading…
Reference in New Issue
Block a user