FS#27445 - [python2-feedparser] version 5.1-1 causes problem with MComix and other scripts

Attached to Project: Community Packages
Opened by Smith Dhumbumroong (zodmaner) - Sunday, 04 December 2011, 13:39 GMT
Last edited by Ionut Biru (wonder) - Sunday, 04 December 2011, 14:37 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
After upgrade python2-feedparser to version 5.1-1, MComix will no longer start.

The following is the traceback:
Traceback (most recent call last):
File "setup.py", line 17, in <module>
import setuptools
File "/usr/lib/python2.7/site-packages/setuptools/__init__.py", line 2, in <module>
from setuptools.extension import Extension, Library
File "/usr/lib/python2.7/site-packages/setuptools/extension.py", line 2, in <module>
from setuptools.dist import _get_unpatched
File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 6, in <module>
from setuptools.command.install import install
File "/usr/lib/python2.7/site-packages/setuptools/command/__init__.py", line 8, in <module>
from setuptools.command import install_scripts
File "/usr/lib/python2.7/site-packages/setuptools/command/install_scripts.py", line 3, in <module>
from pkg_resources import Distribution, PathMetadata, ensure_directory
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2727, in <module>
add_activation_listener(lambda dist: dist.activate())
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 700, in subscribe
callback(dist)
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2727, in <lambda>
add_activation_listener(lambda dist: dist.activate())
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2227, in activate
self.insert_on(path)
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2334, in insert_on
self.check_version_conflict()
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2373, in check_version_conflict
for modname in self._get_metadata('top_level.txt'):
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2221, in _get_metadata
for line in self.get_metadata_lines(name):
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1209, in get_metadata_lines
return yield_lines(self.get_metadata(name))
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1201, in get_metadata
return self._get(self._fn(self.egg_info,name))
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1316, in _get
stream = open(path, 'rb')
IOError: [Errno 13] Permission denied: '/usr/lib/python2.7/site-packages/feedparser-5.1-py2.7.egg-info/top_level.txt'

Note that the traceback contains mention of python2-feedparser, even though MComix itself does not require it.

Attempts to build MComix also fails with the above traceback during the execution of the setup.py file.

After removing python2-feedparser package, MComix starts up just fine.

Additional info:
* package version(s)
- python2-feedparser 5.1-1
- mcomix 0.95-2

* config and/or log files etc.
- None

Steps to reproduce:
1. Upgrade python2-feedparser to version 5.1-1
2. Try to start MComix
This task depends upon

Closed by  Ionut Biru (wonder)
Sunday, 04 December 2011, 14:37 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#27426 
Comment by andres (kovtunos) - Sunday, 04 December 2011, 13:49 GMT
Anki don't work also.

Loading...