Virtual Machine Manager - Invalid Syntax
Hi Linuxies!,
I was successfull in setting local repos and installing all dependencies for xen and virt-manager packages. When I try to open virtual manager machine in gnome, i'm getting following error. Code:
Traceback (most recent call last): :) Rajesh SR,Bangalore,India. |
Did you run a command to open the Virtual manager? If so, what was it?
Stuart. |
My first guess is that you're running python 2.3 or earlier, but this code is written for python 2.4 or later.
MWM |
Oops, I got my python versions mixed up. The code requires python 2.5 but you probably have 2.4.
Here's a simple patch to domain.py that fixes the problem: http://hg.et.redhat.com/virt/applica...s=a8cafeaa92a6 MWM |
I'm running from Gnome, system-tools->Virtual Machine Manager.
I'm currently using python 2.4. How to apply the patch or should i install python 2.5 ? |
I would just apply the patch manually.
Open up /usr/local/share/virt-manager/virtManager/domain.py, go to line 660, and change the code that looks like this: Code:
ctx = None Code:
ctx = None MWM |
All times are GMT -5. The time now is 02:37 PM. |