>>.......<<<
>> > I downloaded and compiled the latest version of virtinst:
> virtinst-0.500.0.tar.gz.
>> > then compile the virt-manager-0.8.0, error changed as below:
>> >
>> > [root@kvm virt-manager-0.8.0]# make check
>> > Making check in src
>> > make[1]: Entering directory
> `/home/dustin/virt-manager/virt-manager-0.8.0/src'
>> > Making check in virtManager
>> > make[2]: Entering directory
> `/home/dustin/virt-manager/virt-manager-0.8.0/src/virtManager'
>> > make ch! eck-local
>> > make[3]: Entering directory `/home/dust! in/virt-
> manager/virt-manager-0.8.0/src/virtManager'
>> > PYTHONPATH=./..:../graphWidgets/.libs python about.py && touch
> .tstamp.about.py
>> > PYTHONPATH=./..:../graphWidgets/.libs python addhardware.py &&
touch
> .tstamp.addhardware.py
>> > Traceback (most recent call last):
>> > File "addhardware.py", line 35, in ?
>> > from virtManager.asyncjob import vmmAsyncJob
>> > File
>
"/home/dustin/virt-manager/virt-manager-0.8.0/src/virtManager/asyncjob.py",
> line 30, in ?
>> > class vmmAsyncJob(gobject.GObject):
>> > File
>
"/home/dustin/virt-manager/virt-manager-0.8.0/src/virtManager/asyncjob.py",
> line 40, in vmmAsyncJob
>> > def __init__(self, config, callback, args=None,
>> > NameError: name '_' is not defined
>> >
>> > Thanks for help.If you need any further infos please dont't hesitate
> to tell me.
>> >
>>
>> Ah, didn't notice the make check! in the first mail. 'make check'
doesn't
>> work in the virt-manager code base, never taken the time to fix it. You
>> should just be able to 'make && make install', or 'make'
and python
>> src/virt-manager.py to run from the source dir. If running virt-manager
>> then throws an error, report here and Ill try to help.
>>
>
> After make install, when i run virt-manager, the error is:
>
> starting the virt-manager error: 'gtk.TreeView' object has no attribute
> 'set_level_indentation'
>
> Details:
> raceback (most recent call last):
> File "/usr/local/share/virt-manager/virt-manager.py", line 377, in ?
> main()
> File "/usr/local/share/virt-manager/virt-manager.py", line 364, in main
> options.no_conn_auto)
> File "/usr/local/share/virt-manager/virt-manager.py", line 237, in
> show_engine
> engine.show_manager()
> File "/usr/local/share/virt-man! ager/virtManager/engine.py", line
> 365, in show_manager
> &nbs! p; self.get_manager().show()
> File "/usr/local/share/virt-manager/virtManager/engine.py", line 342,
> in get_manager
> self.windowManager = vmmManager(self.get_config(), self)
> File "/usr/local/share/virt-manager/virtManager/manager.py", line 167,
> in __init__
> self.prepare_vmlist()
> File "/usr/local/share/virt-manager/virtManager/manager.py", line 826,
> in prepare_vmlist
> vmlist.set_level_indentation(-15)
> AttributeError: 'gtk.TreeView' object has no attribute
> 'set_level_indentation'
>
> thanks a lot
>
> - dustin
>
I recently tested upstream virt-manager on older RHEL 5.3 and fixed several
back compat issues, including the one above. I'd recommend giving virt-manager
0.8.1 a shot, and report back here if you still hit virt-manager errors.
I installed the virt-manager-0.8.1 and virtinst-0.500.1.
And the error was fixed. The virt-manager gui can works. Thank you!
At the same time, i still can't create vm with the virt-manager-0.8.1
the error as below:
Unable to complete install 'libvirt.libvirtError internal error Domain as didn't
show up
Traceback (most recent call last):
File "/usr/local/dvirt/share/virt-manager/virtManager/create.py", line 1429,
in do_install
dom = guest.start_install(False, meter = meter)
File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 660, in
start_install
return self._do_install(consolecb, meter, removeOld, wait)
File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 758, in
_do_install
self.domain = self.conn.createLinux(install_xml, 0)
File "/usr/lib/python2.4/site-packages/libvirt.py", line 974, in createLinux
if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: internal error Domain as didn't show up
And the reason is as Daniel P. Berrange said, "'ia64' is not listed as a
valid architecture
in qemu_conf.c, RHEL-5 KVM only supports x86_64".
In other words, the libvirt didn't support KVM emulator running on ia64 architecture.
Thank you for your work on virt-manager.
-dustin
_________________________________________________________________
Keep your friends updated―even when you’re not signed in.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/...