I’ve tried to change $torage to storage and got a similar
error:
Â*
Error starting Virtual Machine Manager: cannot import name
storage
Â*
Traceback (most recent call last):
Â* File "/usr/local/virt-manager-0.6.0/share/virt-manager/virt-manager.py",
line 346, in <module>
Â*Â*Â* main()
Â* File "/usr/local/virt-manager-0.6.0/share/virt-manager/virt-manager.py",
line 287, in main
Â*Â*Â* from virtManager.engine import vmmEngine
Â* File "/usr/local/virt-manager-0.6.0/share/virt-manager/virtManager/engine.py",
line 37, in <module>
Â*Â*Â* from virtManager.host import vmmHost
Â* File "/usr/local/virt-manager-0.6.0/share/virt-manager/virtManager/host.py",
line 31, in <module>
Â*Â*Â* from virtinst import storage
ImportError: cannot import name storage
Â*
Please advice.
Â*
guy
Â*
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
12-03-2008, 02:29 PM
Cole Robinson
virt-manager-0.6.0
Guy Carmin wrote:
> Hi All,
>
>
>
> I've just install the new virt-manager on my F9 machine, and when
> tringto run:
>
> /usr/local/virt-manager-0.6.0/bin/virt-manager
>
>
>
> I got the following error:
>
>
>
> Error starting Virtual Machine Manager: invalid syntax (host.py, line
> 31):
>
>
>
> Traceback (most recent call last):
>
> File
> "/usr/local/virt-manager-0.6.0/share/virt-manager/virt-manager.py", line
> 346, in <module>
>
> main()
>
> File
> "/usr/local/virt-manager-0.6.0/share/virt-manager/virt-manager.py", line
> 287, in main
>
> from virtManager.engine import vmmEngine
>
> File
> "/usr/local/virt-manager-0.6.0/share/virt-manager/virtManager/engine.py"
> , line 37, in <module>
>
> from virtManager.host import vmmHost
>
> File
> "/usr/local/virt-manager-0.6.0/share/virt-manager/virtManager/host.py",
> line 31
>
> from virtinst import $torage
>
I have no idea why that looks like '$torage' instead of 'Storage'.
The reason you should be hitting an error though is because you don't
have the latest virtinst installed.
If you are on F9, fully 'yum update' your system, then do: