Unable to start virt-manager after updating to SLES11 SP2
This document (7008561) is provided subject to the disclaimer at the end of this document.
Environment
Situation
# virt-manager
Traceback (most recent call last):
File "/usr/share/virt-manager/virt-manager.py", line 393, in <module>
_show_startup_error(str(run_e), "".join(traceback.format_exc()))
File "/usr/share/virt-manager/virt-manager.py", line 63, in _show_startup_error
from virtManager.error import vmmErrorDialog
File "/usr/share/virt-manager/virtManager/error.py", line 25, in <module>
from virtManager.baseclass import vmmGObject
File "/usr/share/virt-manager/virtManager/baseclass.py", line 28, in <module>
running_config, gobject, GObject, gtk = virtManager.guidiff.get_imports()
File "/usr/share/virt-manager/virtManager/guidiff.py", line 46, in get_imports
import virtManager.util
File "/usr/share/virt-manager/virtManager/util.py", line 32, in <module>
xml_escape = virtinst.util.xml_escape
AttributeError: 'module' object has no attribute 'util'
Resolution
Cause
Depending on the upgrade process taken, it is possible for the older /usr/share/virt-manager/virtinst directory to be left on the system. If this happens, the util.py from the older code will be found when launching virt-manager, and the startup will fail.
To resolve this issue, the older /usr/share/virt-manager/virtinst directory should be deleted.
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7008561
- Creation Date: 31-May-2012
- Modified Date:03-Mar-2020
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com