tfix #4418 - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 8b1051fa24ff7f2c85b66a6012581f0287bbb827 DIR parent 83974cd0a80faddd172b6e9d04fafdf5d1c9b492 HTML Author: SomberNight <somber.night@protonmail.com> Date: Tue, 3 Jul 2018 11:01:29 +0200 fix #4418 Diffstat: M gui/qt/main_window.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) --- DIR diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py t@@ -283,7 +283,10 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError): def on_error(self, exc_info): if not isinstance(exc_info[1], UserCancelled): - traceback.print_exception(*exc_info) + try: + traceback.print_exception(*exc_info) + except OSError: + pass # see #4418; try to at least show popup: self.show_error(str(exc_info[1])) def on_network(self, event, *args):