FWIW, the error is being thrown here:

/usr/share/virt-manager/virt-manager.py line 306:

    # Make sure we have a sufficiently new virtinst version, since we are
    # very closely tied to the lib
    msg = ("virt-manager requires the python-virtinst library version " +
            virtinst_str + " or greater. This can be downloaded at:"
            "\n\nhttp://virt-manager.org/download.html";)
    try:
        import virtinst
        ignore = virtinst.__version__
        ignore = virtinst.__version_info__
    except Exception, e:
        logging.exception("Error import virtinst")
        raise RuntimeError(str(e) + "\n\n" + msg)

virtinst_str is defined at line 42 of that same file as:

virtinst_str = "0.500.1"
virtinst_version = tuple([ int(num) for num in virtinst_str.split('.')])

note that I do have python-virtinst installed at the requisite level, at
least according to the package database:

pjs11@patslinux01 ~ $ dpkg-query --list virtinst python-virtinst
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                            Version                         Description
+++-===============================-===============================-==============================================================================
ii  python-virtinst                 0.500.1-2ubuntu6.1              Programs to 
create and clone virtual machines (transitional package)
ii  virtinst                        0.500.1-2ubuntu6.1              Programs to 
create and clone virtual machines


However, a basic "import virtinst" test fails:

pjs11@patslinux01 ~ $ python
Python 2.6.5 (r265:79063, Apr 16 2010, 13:57:41) 
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import virtinst
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.6/dist-packages/virtinst/__init__.py", line 27, in 
<module>
    from version import __version__
ImportError: No module named version


Unfortunately, my ability to investigate further is hampered by my more or less 
complete lack of python-fu.  Can anyone suggest  how I can investigate this 
further?

Thanks!
-- Pat

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/680627

Title:
  Error starting Virtual Machine Manager: No module named version

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to