You are not logged in.
Hello,
I am running on the LTS Kernel 4.4.2, and upon upgrade of yesterday with python 2.7 and virt-manager; my virt-manager fails to start. with the following error:
[hsafe@thinkt pkg]$ virt-manager
Traceback (most recent call last):
File "/usr/share/virt-manager/virt-manager", line 33, in <module>
from virtinst import util as util
File "/usr/share/virt-manager/virtinst/__init__.py", line 89, in <module>
from virtinst.distroinstaller import DistroInstaller
File "/usr/share/virt-manager/virtinst/distroinstaller.py", line 23, in <module>
from . import urlfetcher
File "/usr/share/virt-manager/virtinst/urlfetcher.py", line 34, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 52, in <module>
from .packages.urllib3.contrib import pyopenssl
File "/usr/lib/python2.7/site-packages/urllib3/contrib/pyopenssl.py", line 47, in <module>
import OpenSSL.SSL
File "/usr/lib/python2.7/site-packages/OpenSSL/__init__.py", line 8, in <module>
from OpenSSL import rand, crypto, SSL
File "/usr/lib/python2.7/site-packages/OpenSSL/crypto.py", line 13, in <module>
from cryptography.hazmat.backends.openssl.backend import backend
File "/usr/lib/python2.7/site-packages/cryptography/hazmat/backends/__init__.py", line 7, in <module>
import pkg_resources
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2985, in <module>
@_call_aside
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2971, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2998, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 651, in _build_master
ws = cls()
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 644, in __init__
self.add_entry(entry)
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 700, in add_entry
for dist in find_distributions(entry, True):
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1990, in find_on_path
path_item, entry, metadata, precedence=DEVELOP_DIST
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2399, in from_location
py_version=py_version, platform=platform, **kw
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2740, in _reload_version
md_version = _version_from_file(self._get_metadata(self.PKG_INFO))
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2364, in _version_from_file
line = next(iter(version_lines), '')
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2532, in _get_metadata
for line in self.get_metadata_lines(name):
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1472, in get_metadata_lines
return yield_lines(self.get_metadata(name))
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1468, in get_metadata
value = self._get(self._fn(self.egg_info, name))
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1577, in _get
with open(path, 'rb') as stream:
IOError: [Errno 13] Permission denied: '/usr/lib/python2.7/site-packages/PyDrive-1.0.1-py2.7.egg-info/PKG-INFO'Here are some details of my env:
-Linux thinkt 4.4.21-1-lts #1 SMP Thu Sep 15 20:38:36 CEST 2016 x86_64 GNU/Linux
-Python 2.7.12
-virt-manager Version : 1.4.0-2
Running: journalctl -p 3 -xb && tail /var/log/pacman.log would not indicate any issues as well. I tried to downgrade virt-manager already but then it did not help. Can you please help ? I have tons of work to do with my virt env and the reason on the first place to go with LTS was to have another layer of protection for that.... ![]()
Last edited by h.safe (2016-09-18 05:16:09)
Why did Bodhidharma come from the west?
Offline
Please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Co … s_and_code
Offline
Hello Again
I found the solution:
Digging more, found in other stack-exchange posts and the work-around stated was o+r read access rights to the particular file. I did and it fixed the issue ![]()
[hsafe@thinkt pkg]$ sudo chmod o+r /usr/lib/python2.7/site-packages/PyDrive-1.0.1-py2.7.egg-info/PKG-INFO
Ill mark it as resolved.
Why did Bodhidharma come from the west?
Offline