From 56e6c01917ddb477e70b71def9bfb5be9b7f4cac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Tue, 22 Dec 2015 01:53:53 +0100 Subject: [PATCH] dispvm: convert exception object to string - otherwise it will not be visible tray_notify_error can't handle arbitrary object. Fixes QubesOS/qubes-issues#1457 --- dispvm/qfile-daemon-dvm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dispvm/qfile-daemon-dvm b/dispvm/qfile-daemon-dvm index ca03940e..26bea9ac 100755 --- a/dispvm/qfile-daemon-dvm +++ b/dispvm/qfile-daemon-dvm @@ -101,7 +101,7 @@ class QfileDaemonDvm: try: dispvm.start() except (MemoryError, QubesException) as e: - tray_notify_error(e) + tray_notify_error(str(e)) raise if vm.qid != 0: # if need to enable/disable netvm, do it while DispVM is alive