[Bug 385410] Re: vmware2libvirt fails when converting vmx file created under windows
buclabs
david.llop at gmail.com
Sun Sep 6 11:05:14 UTC 2009
Same output. I hope my comment helps to fix it. The .vmx and .vmdk are
under the same directory.
$vmware2libvirt -f ./Windows\ XP\ Professional.vmx > Windows\ XP\ Professional.xml
WARN: '/media/DATA/MV/c:\MV\Windows XP Professional.vmdk"' does not exist
Traceback (most recent call last):
File "/usr/bin/vmware2libvirt", line 232, in <module>
</disk>''' + get_network(vmx, bridge) + '''
File "/usr/bin/vmware2libvirt", line 85, in get_memory
memory = int(memsize) * 1024
ValueError: invalid literal for int() with base 10: '512"'
VMX file:
config.version = "8"
virtualHW.version = "4"
scsi0.present = "TRUE"
memsize = "512"
MemAllowAutoScaleDown = "FALSE"
ide0:0.present = "TRUE"
ide0:0.fileName = "c:\MV\Windows XP Professional.vmdk"
ide1:0.present = "FALSE"
ide1:0.fileName = "auto detect"
ide1:0.deviceType = "cdrom-raw"
floppy0.present = "FALSE"
ethernet0.present = "TRUE"
ethernet0.connectionType = "nat"
usb.present = "TRUE"
sound.present = "TRUE"
sound.virtualDev = "es1371"
sound.fileName = "-1"
sound.autodetect = "TRUE"
displayName = "Windows XP Professional"
guestOS = "winxppro"
nvram = "Windows XP Professional.nvram"
[...]
Changing ide0:0.fileName = "c:\MV\Windows XP Professional.vmdk" to
ide0:0.fileName = "Windows XP Professional.vmdk" I have the same output:
WARN: '/media/DATA/MV/Windows XP Professional.vmdk"' does not exist
Traceback (most recent call last):
File "/usr/bin/vmware2libvirt", line 232, in <module>
</disk>''' + get_network(vmx, bridge) + '''
File "/usr/bin/vmware2libvirt", line 85, in get_memory
memory = int(memsize) * 1024
ValueError: invalid literal for int() with base 10: '512"'
--
vmware2libvirt fails when converting vmx file created under windows
https://bugs.launchpad.net/bugs/385410
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list