From 5b50f82e9f3409ad0a0cbdfffd023ddc43eaff3f Mon Sep 17 00:00:00 2001 From: Paul McCarthy <pauldmccarthy@gmail.com> Date: Mon, 5 Feb 2018 10:50:51 +0000 Subject: [PATCH] Platform was eating wx import errors - now logs a warning if wx import fails --- fsl/utils/platform.py | 1 + 1 file changed, 1 insertion(+) diff --git a/fsl/utils/platform.py b/fsl/utils/platform.py index cd6d232a7..63c1d697c 100644 --- a/fsl/utils/platform.py +++ b/fsl/utils/platform.py @@ -158,6 +158,7 @@ class Platform(notifier.Notifier): import wx self.__canHaveGui = wx.App.IsDisplayAvailable() except ImportError: + log.warning('Could not import wx', exc_info=True) self.__canHaveGui = False # If one of the SSH_/VNC environment -- GitLab