* src/ManagedWindow.py: mask strange Windows logging error on close
svn: r7179
This commit is contained in:
parent
f528f74a12
commit
1a02c853c0
@ -1,3 +1,6 @@
|
|||||||
|
2006-08-14 Brian Matherly <brian@gramps-project.org>
|
||||||
|
* src/gramps.py: mask strange Windows logging error on close
|
||||||
|
|
||||||
2006-08-14 Alex Roitman <shura@gramps-project.org>
|
2006-08-14 Alex Roitman <shura@gramps-project.org>
|
||||||
* src/docgen/PdfDoc.py: Work for both utf8 and latin-1 capable
|
* src/docgen/PdfDoc.py: Work for both utf8 and latin-1 capable
|
||||||
reportlab versions.
|
reportlab versions.
|
||||||
@ -13,7 +16,7 @@
|
|||||||
* src/DispalyTabs/_NoteTab.py: don't add text window using viewport (#344)
|
* src/DispalyTabs/_NoteTab.py: don't add text window using viewport (#344)
|
||||||
* src/DispalyTabs/_TextTab.py: don't add text window using viewport (#344)
|
* src/DispalyTabs/_TextTab.py: don't add text window using viewport (#344)
|
||||||
|
|
||||||
2006-08-12 Brian Matherly <brian@gramps-project.org>
|
2006-08-13 Brian Matherly <brian@gramps-project.org>
|
||||||
* src/ManagedWindow.py: add present() to force parent focus (#0000342)
|
* src/ManagedWindow.py: add present() to force parent focus (#0000342)
|
||||||
|
|
||||||
2006-08-13 Don Allingham <don@gramps-project.org>
|
2006-08-13 Don Allingham <don@gramps-project.org>
|
||||||
|
@ -138,12 +138,12 @@ def setup_logging():
|
|||||||
if type == KeyboardInterrupt:
|
if type == KeyboardInterrupt:
|
||||||
# Ctrl-C is not a bug.
|
# Ctrl-C is not a bug.
|
||||||
return
|
return
|
||||||
|
if type == IOError:
|
||||||
|
# strange Windows logging error on close
|
||||||
|
return
|
||||||
import traceback
|
import traceback
|
||||||
try:
|
|
||||||
log.error("Unhandled exception\n" +
|
log.error("Unhandled exception\n" +
|
||||||
"".join(traceback.format_exception(type, value, tb)))
|
"".join(traceback.format_exception(type, value, tb)))
|
||||||
except IOError:
|
|
||||||
pass
|
|
||||||
|
|
||||||
sys.excepthook = exc_hook
|
sys.excepthook = exc_hook
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user