Bug 331831

Summary: virt-manager unusable because of broken libvirt.py
Product: [openSUSE] openSUSE 10.3 Reporter: Andreas Kühnl <l-novell>
Component: XenAssignee: Clyde Griffin <cgriffin>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 10.3   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Andreas Kühnl 2007-10-08 15:07:34 UTC
Managing XEN domains from Yast is impossible due to a broken libvirt.py file.
Starting the virt-manager from Yast yields no result at all.
Starting virt-manager from a console results in an error message:

<pre>
Traceback (most recent call last):
File "/usr/share/virt-manager/virt-manager.py", line 115, in <module>
from virtManager.config import vmmConfig
File "/usr/share/virt-manager/virtManager/config.py", line 24, in <module>
import libvirt
File "/usr/lib64/python2.5/site-packages/libvirt.py", line 702

                          ^
Indentation error: Expect an indented block
</pre>

The file /usr/lib64/python2.5/site-packages/libvirt.py seems to be incomplete, it ends prematurely. Replacing the file by reinstalling the package is futile. The package seems to contain a broken file.

Replacing the file from a source tarball made the virt-manager work.

HTH,
Andreas Kühnl
IT Schöner Gmbh
Comment 1 Charles Coffing 2007-10-08 15:29:10 UTC

*** This bug has been marked as a duplicate of bug 329032 ***