mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-11-16 16:54:51 +02:00
Explicit error message for missing 32-bit binary support on 64-bit Linux
when starting IOU.
This commit is contained in:
parent
6632af9776
commit
e0488bb31f
@ -475,6 +475,8 @@ class IOUDevice(object):
|
|||||||
env=env)
|
env=env)
|
||||||
log.info("IOU instance {} started PID={}".format(self._id, self._process.pid))
|
log.info("IOU instance {} started PID={}".format(self._id, self._process.pid))
|
||||||
self._started = True
|
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:
|
except OSError as e:
|
||||||
iou_stdout = self.read_iou_stdout()
|
iou_stdout = self.read_iou_stdout()
|
||||||
log.error("could not start IOU {}: {}\n{}".format(self._path, e, iou_stdout))
|
log.error("could not start IOU {}: {}\n{}".format(self._path, e, iou_stdout))
|
||||||
|
Loading…
Reference in New Issue
Block a user