SUSE Support

Here When You Need Us

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.


SUSE Linux Enterprise Server 11 Service Pack 2


After upgrading from SLES10 or SLES11 SP1 to SLES11 SP2, virt-manager fails to start, and the following error messages are reported:

# virt-manager
Traceback (most recent call last):
  File "/usr/share/virt-manager/", line 393, in <module>
    _show_startup_error(str(run_e), "".join(traceback.format_exc()))
  File "/usr/share/virt-manager/", line 63, in _show_startup_error
    from virtManager.error import vmmErrorDialog
  File "/usr/share/virt-manager/virtManager/", line 25, in <module>
    from virtManager.baseclass import vmmGObject
  File "/usr/share/virt-manager/virtManager/", line 28, in <module>
    running_config, gobject, GObject, gtk = virtManager.guidiff.get_imports()
  File "/usr/share/virt-manager/virtManager/", line 46, in get_imports
    import virtManager.util
  File "/usr/share/virt-manager/virtManager/", line 32, in <module>
    xml_escape = virtinst.util.xml_escape
AttributeError: 'module' object has no attribute 'util'


To resolve the issue, delete the /usr/share/virt-manager/virtinst directory.


In SLES10 and SLES11 SP1 environments, the virtinst directory virt-manager relies on is stored in the /usr/share/virt-manager directory. In SLES11 SP2 environments, the virtinst directory has been moved to /usr/lib64/python2.6/site-packages/virtinst.

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 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.


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

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.