Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#58963 - python-idna wrong file permissions

Attached to Project: Arch Linux
Opened by Felix Cobos (fcobos) - Monday, 11 June 2018, 07:27 GMT
Last edited by Evangelos Foutras (foutrelis) - Monday, 11 June 2018, 09:35 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

qutebrowser crashes with the following error:

Traceback (most recent call last):
File "/usr/bin/qutebrowser", line 6, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3095, in <module>
@_call_aside
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3079, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3108, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 561, in _build_master
ws = cls()
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 554, in __init__
self.add_entry(entry)
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 610, in add_entry
for dist in find_distributions(entry, True):
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1958, in find_on_path
for dist in factory(fullpath):
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2028, in distributions_from_metadata
root, entry, metadata, precedence=DEVELOP_DIST,
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2467, in from_location
py_version=py_version, platform=platform, **kw
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2842, in _reload_version
md_version = _version_from_file(self._get_metadata(self.PKG_INFO))
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2431, in _version_from_file
line = next(iter(version_lines), '')
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2621, in _get_metadata
for line in self.get_metadata_lines(name):
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1404, in get_metadata_lines
return yield_lines(self.get_metadata(name))
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1400, in get_metadata
value = self._get(self._fn(self.egg_info, name))
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1512, in _get
with open(path, 'rb') as stream:
PermissionError: [Errno 13] Permission denied: '/usr/lib/python3.6/site-packages/idna-2.7-py3.6.egg-info/PKG-INFO'


The files in /usr/lib/python3.6/site-packages/idna-2.7-py3.6.egg-info/ are indeed only readable by root.

python2-idna has the same permissions, too.


This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Monday, 11 June 2018, 09:35 GMT
Reason for closing:  Fixed
Additional comments about closing:  python-idna 2.7-2

Loading...