Red Hat Bugzilla – Bug 462863
virt-manager syntax error with python 2.4
Last modified: 2010-03-16 13:14:41 EDT
Created attachment 317188 [details]
patch to nest the try/except in a try/finally
The virt-manager rpm builds, but will not run on a system with python version < 2.5. I am not sure this is intentional (the spec file specifies no python version dependency), but a single/small clause in domain.py is the sole cause of the problem (line 669 - the use of a 2.5 try/except/finally sequence).
As this seams to be the only place that makes the code dependent on python 2.5, I though I would raise it as a possible bug.
Version-Release number of selected component (if applicable):
always on a system with python < 2.5 (tested on centOS 5.2)
Steps to Reproduce:
rpm builds, but will not run on a system with python version < 2.5.
Python syntax error at line 669 of domain.py
no syntax error
simple fix is to nest the try/except in a try/finally - everything works OK after this - see attached patch.
You have filed this bug against 'rawhide' yet all your references are to CentOS 5.2 (not maintained by Fedora.
Is this bug in Rawhide?
I've moved this to the 'Virtualization' component which we use to track upstream virt bugs. This really isn't of particular interest to rawhide.
(In reply to comment #1)
> Is this bug in Rawhide?
Sorry for posting this in the wrong place. Although I am running/testing virt-manager on both RHEL and Centos 5, I pulled the rpm spec file for the latest release from rawhide. This will not be an issue for Fedora as it ships with python >2.4.
Thanks! Applied upstream:
Closing this bug as UPSTREAM.