Yes, I will try and reproduce the issue, and will release a fix. Thanks!
--
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
Yes, that finally seems to do the trick. Thanks, Marc.
Can we see a fixed package to deal with this in lucid?
--
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 Mac
Try removing the whole /usr/lib/python2.6/dist-packages/virtinst
directory.
--
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 versio
"sudo rm /usr/lib/python2.6/dist-packages/virtinst-0.300.2.egg-info
/usr/lib/python2.6/dist-packages/virtinst/DistroManager.py*" did not fix
the problem here. Anything else I need to do?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
yes, at least I did the straight upgrade between LTS hard to LTS lucid.
Must have been about half a year ago.
--
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 Machi
Did both of you upgrade from Hardy to Lucid?
--
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
I think the hardy python-virtinst package is the culprit. Have a lok at
http://packages.ubuntu.com/hardy/all/python-virtinst/filelist
http://packages.ubuntu.com/hardy-updates/all/python-virtinst/filelist
** Changed in: virt-manager (Ubuntu)
Importance: Undecided => High
** Changed in: virt-ma
Patrick, thank you for your digging into the issue. In fact, it looks
like you had the same issue as me. My non-working computer has the same
files as you reported. /usr/lib/python2.6/dist-
packages/virtinst-0.300.2.egg-info is a broken symlink to
/usr/share/pyshared/virtinst-0.300.2.egg-info.
Indeed, as you suggest, moving away the old files was sufficient. I can
now successfully run virt-manager.
I don't recall ever doing a manual install of virtinst on this machine ,
so I'm unclear where the old version came from, however, that was the
issue.
Thanks very much! Hopefully this also
When you did the "import virtinst" in python, it seemed to have found
this file:
/usr/lib/python2.6/dist-packages/virtinst/__init__.py
That file is not part of lucid's virtinst package...it should be
/usr/share/pyshared/virtinst/__init__.py and then symlinked to
/usr/lib/pymodules/python2.6/virti
You shouldn't add /usr/share/pyshared to your import path...files in
there are supposed to get symlinked to /usr/lib/pymodules/python2.6...
Simply renaming or deleting the old files should be enough.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscrib
Ah ha! I think I have nailed the issue, at least for me: it's a combination of
a python module import path error, and left over debris of an earlier virtinst:
take a look:
First, notice that my python doesn't even have a module path that
includes /usr/share/pyshared:
pjs11@patslinux01 ~ $ pyth
Answered my own question again -- "version.py" is a file being shipped in the
virtinst package, under /usr/share/pyshared/virtinst, and it contains the
single variable "__version__'.
So, for some reason, the import in virtinst/__init__.py expects to find
virtinst/version.py, but can't.
Apologie
This appears to be the root cause:
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 version
Traceback (most recent call last):
File "", line 1, in
ImportError: N
Sorry for the stupid question, answered it myself: yes, it is. The
package containing all the useful stuff in Lucid is just 'virtinst'.
:-(
--
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:
Just a stupid question, but is the python-virtinst package supposed to
be empty excepting documentation?
pjs11@patslinux01 ~ $ dpkg-query --listfiles python-virtinst
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/python-virtinst
/usr/share/doc/python-virtinst/copyright
/usr/share/doc/python-virt
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 +
I am forwarding X over ssh ("ssh -X $remotecomputer")
--
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 mai
You mean you forwarding X through SSH, or you're using a remote
connection in virt-manager?
--
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 mod
Reinstalling the virt-inst package made no difference.
I am running the virt-manager program remotely, forwarded over ssh if
that makes any difference.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/68
Do you have the virtinst package installed? If so, could you try reinstalling
it with the following command:
apt-get install --reinstall virtinst
** Changed in: virt-manager (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Bugs,
I believe I made a mistake by making this bug as a duplicate of
https://bugs.launchpad.net/bugs/203852.
I marked this bug as a duplicate when I read this comment
(https://bugs.launchpad.net/ubuntu/+source/dbus-
python/+bug/203852/comments/1) but now I believe the above comment was
posting in error
*** This bug is a duplicate of bug 203852 ***
https://bugs.launchpad.net/bugs/203852
Thank you for taking the time to report this bug and helping to make
Ubuntu better. This particular bug has already been reported and is a
duplicate of bug 203852, so it is being marked as such. Please look at
23 matches
Mail list logo