Removed attempt to pop up an error box when dying.

svn: r59
This commit is contained in:
Don Allingham 2001-05-24 02:13:06 +00:00
parent 7f531910fc
commit 192bef4871

View File

@ -24,13 +24,9 @@ try:
gramps_main.main(None)
except:
traceback.print_exc()
fname = os.path.expanduser("~/gramps.err")
errfile = open(fname,"w")
traceback.print_exc(file=errfile)
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))