[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[et-mgmt-tools] list index out of range when running virt-install



Hello,

I have Fedora 10, and running
virt-install -n skaita -r 64 --disk path=/var/lib/libvirt/images/skaita.img,size=2 --cdrom /a/freedos/fdbasecd.iso -w bridge:br0 --vnc --accelerate --os-type=other --os-variant=msdos
gives:
ERROR    list index out of range
Traceback (most recent call last):
  File "/usr/sbin/virt-install", line 692, in <module>
    main()
  File "/usr/sbin/virt-install", line 577, in main
    options.sdl, options.keymap, guest)
  File "/usr/lib/python2.5/site-packages/virtinst/cli.py", line 339, in get_graphics
    guest.graphics_dev = VirtualGraphics(type=VirtualGraphics.TYPE_VNC)
  File "/usr/lib/python2.5/site-packages/virtinst/Guest.py", line 207, in __init__
    self.set_keymap(keymap)
  File "/usr/lib/python2.5/site-packages/virtinst/Guest.py", line 219, in set_keymap
    val = util.default_keymap()
  File "/usr/lib/python2.5/site-packages/virtinst/util.py", line 296, in default_keymap
    kt = s.split('"')[1]
IndexError: list index out of range

Assuming it's something with my locale, I tried to set LANG=en_US LC_ALL=en_US LC_CTYPE=en_US
but it didn't help. I changed line 296 from kt = s.split('"')[1] to kt = s.split('"')[0] and
I was able to start install.

Regards,
Nerijus


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]