mechboxes / mech

Easy command line virtual machines for VMWare
https://mechboxes.github.io/mech/
MIT License
311 stars 49 forks source link

mech up: list index out of range #32

Closed maxrome closed 6 years ago

maxrome commented 6 years ago

Hello, I get this error with mech 0.6:

$ mech up Loading metadata for box 'stackinabox/openstack' (0.9.9) Box 'stackinabox/openstack' could not be found. Attempting to download... URL: https://vagrantcloud.com/stackinabox/boxes/openstack/versions/0.9.9/providers/vmware_desktop.box vmware_desktop.box [################################] 1864250/1864250 - 00:05:17 Checking box 'stackinabox/openstack' integrity... ./ubuntu-16.04-amd64.vmx Extracting box 'stackinabox/openstack'... Traceback (most recent call last): File "/usr/local/bin/mech", line 11, in sys.exit(main()) File "/Library/Python/2.7/site-packages/mech/main.py", line 39, in main return Mech(arguments)() File "/Library/Python/2.7/site-packages/mech/command.py", line 71, in call obj = klass(arguments) File "/Library/Python/2.7/site-packages/mech/mech.py", line 602, in up vmx = utils.init_box(self.box_name, self.box_version, requests_kwargs=requests_kwargs, save=save) File "/Library/Python/2.7/site-packages/mech/utils.py", line 327, in init_box update_vmx(vmx) File "/Library/Python/2.7/site-packages/mech/utils.py", line 121, in update_vmx vmx = parse_vmx(path) File "/Library/Python/2.7/site-packages/mech/utils.py", line 114, in parse_vmx vmx[line[0].rstrip()] = line[1].lstrip() IndexError: list index out of range