Public bug reported:

Binary package hint: virt-goodies

in package, virt-goodies 0.3

Ubuntu 9.04, jaunty

Fails with error when converting a vmx file created under windows.

 File "usr/bin/vmware2libvirt", line 85, in get_memory
   memory = int(memsize) * 1024
"ValueEror: invalid literal for int() with base 10: '512"'


Change line 85 from:
value = pat.sub( '', line)[1:-2]

to:
value = pat.sub( '', line.replace("\r","")[1:-2]

** Affects: virt-goodies (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to