1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-28 03:08:14 +00:00

Improve vmrun timeout message

Ref https://github.com/GNS3/gns3-gui/issues/1967
This commit is contained in:
Julien Duponchelle 2017-03-27 09:00:58 +02:00
parent 541afe9660
commit 80e361ff2e
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -396,7 +396,7 @@ class VMware(BaseManager):
try:
stdout_data, _ = yield from asyncio.wait_for(process.communicate(), timeout=timeout)
except asyncio.TimeoutError:
raise VMwareError("vmrun has timed out after {} seconds!\nTry to run {} in a terminal to see more informations.\nAnd make sure GNS3 and VMware run under the same user.".format(timeout, command_string))
raise VMwareError("vmrun has timed out after {} seconds!\nTry to run {} in a terminal to see more informations.\n\nMake sure GNS3 and VMware run under the same user and whitelist vmrun.exe in your antivirus.".format(timeout, command_string))
if process.returncode:
# vmrun print errors on stdout