From e0488bb31fd748faa3c822d30884e7c0c1613e5b Mon Sep 17 00:00:00 2001 From: grossmj Date: Sun, 27 Apr 2014 21:52:24 -0600 Subject: [PATCH] Explicit error message for missing 32-bit binary support on 64-bit Linux when starting IOU. --- gns3server/modules/iou/iou_device.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gns3server/modules/iou/iou_device.py b/gns3server/modules/iou/iou_device.py index 0e0133de..fee99030 100644 --- a/gns3server/modules/iou/iou_device.py +++ b/gns3server/modules/iou/iou_device.py @@ -475,6 +475,8 @@ class IOUDevice(object): env=env) log.info("IOU instance {} started PID={}".format(self._id, self._process.pid)) self._started = True + except FileNotFoundError as e: + raise IOUError("could not start IOU: {}: 32-bit binary support is probably not installed".format(e)) except OSError as e: iou_stdout = self.read_iou_stdout() log.error("could not start IOU {}: {}\n{}".format(self._path, e, iou_stdout))