FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora/Linux Management Tools

 
 
LinkBack Thread Tools
 
Old 01-07-2009, 07:49 PM
Nerijus Baliunas
 
Default 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

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 
Old 01-12-2009, 07:44 PM
Cole Robinson
 
Default list index out of range when running virt-install

Nerijus Baliunas wrote:
> 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.
>

Hmm, this should be fixed with current upstream. Just to be sure,
what does 'cat /etc/sysconfig/keyboard' give?

Thanks,
Cole

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 
Old 01-12-2009, 09:04 PM
Nerijus Baliunas
 
Default list index out of range when running virt-install

On Mon, 12 Jan 2009 15:44:43 -0500 Cole Robinson <crobinso@redhat.com> wrote:

> > 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.
>
> Hmm, this should be fixed with current upstream. Just to be sure,
> what does 'cat /etc/sysconfig/keyboard' give?

KEYTABLE=mgltb-lat7

But it is last modified in Apr 2000, I used it then for setting console.

Regards,
Nerijus

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 
Old 01-12-2009, 09:18 PM
Cole Robinson
 
Default list index out of range when running virt-install

Nerijus Baliunas wrote:
> On Mon, 12 Jan 2009 15:44:43 -0500 Cole Robinson <crobinso@redhat.com> wrote:
>
>>> 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.
>> Hmm, this should be fixed with current upstream. Just to be sure,
>> what does 'cat /etc/sysconfig/keyboard' give?
>
> KEYTABLE=mgltb-lat7
>
> But it is last modified in Apr 2000, I used it then for setting console.
>

Yeah, current upstream is smart enough not to choke on that, so this
will be fixed with the next release.

Thanks,
Cole

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 

Thread Tools




All times are GMT. The time now is 06:39 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org