Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1057426 - [abrt] fedmsg-notify: pkg_resources.py:1353:_get:IOError: [Errno 13] Permission denied: '/usr/lib/python2.7/site-packages/trytond_health-2.2.1-py2.7.egg/EGG-INFO/top_level.txt'
Summary: [abrt] fedmsg-notify: pkg_resources.py:1353:_get:IOError: [Errno 13] Permissi...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: fedmsg-notify
Version: 19
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Luke Macken
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:015241701eeb2c77be54e6e1df7...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-24 05:00 UTC by Robert Hinson
Modified: 2016-09-20 02:45 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-24 16:51:06 UTC


Attachments (Terms of Use)
File: backtrace (deleted)
2014-01-24 05:00 UTC, Robert Hinson
no flags Details
File: environ (deleted)
2014-01-24 05:01 UTC, Robert Hinson
no flags Details

Description Robert Hinson 2014-01-24 05:00:50 UTC
Version-Release number of selected component:
fedmsg-notify-0.5.3-1.fc19

Additional info:
reporter:       libreport-2.1.10
cmdline:        /usr/bin/python /bin/fedmsg-notify-daemon
dso_list:       python-setuptools-0.6.49-1.fc19.noarch
executable:     /bin/fedmsg-notify-daemon
kernel:         3.12.7-200.fc19.i686.PAE
runlevel:       N 3
type:           Python
uid:            1000

Truncated backtrace:
pkg_resources.py:1353:_get:IOError: [Errno 13] Permission denied: '/usr/lib/python2.7/site-packages/trytond_health-2.2.1-py2.7.egg/EGG-INFO/top_level.txt'

Traceback (most recent call last):
  File "/bin/fedmsg-notify-daemon", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2897, in <module>
    add_activation_listener(lambda dist: dist.activate())
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 712, in subscribe
    callback(dist)
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2897, in <lambda>
    add_activation_listener(lambda dist: dist.activate())
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2329, in activate
    self.insert_on(path)
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2436, in insert_on
    self.check_version_conflict()
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2475, in check_version_conflict
    for modname in self._get_metadata('top_level.txt'):
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2323, in _get_metadata
    for line in self.get_metadata_lines(name):
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1246, in get_metadata_lines
    return yield_lines(self.get_metadata(name))
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1238, in get_metadata
    return self._get(self._fn(self.egg_info,name))
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1353, in _get
    stream = open(path, 'rb')
IOError: [Errno 13] Permission denied: '/usr/lib/python2.7/site-packages/trytond_health-2.2.1-py2.7.egg/EGG-INFO/top_level.txt'

Local variables in innermost frame:
path: '/usr/lib/python2.7/site-packages/trytond_health-2.2.1-py2.7.egg/EGG-INFO/top_level.txt'
self: <pkg_resources.PathMetadata instance at 0x9dad6cc>

Comment 1 Robert Hinson 2014-01-24 05:00:59 UTC
Created attachment 854758 [details]
File: backtrace

Comment 2 Robert Hinson 2014-01-24 05:01:02 UTC
Created attachment 854759 [details]
File: environ

Comment 3 Luke Macken 2014-01-24 16:51:06 UTC
Hm, I don't think this is a fedmsg-notify issue.

It looks to me like at some point you did a `sudo easy_install trytond-health` which installed it to your global site-packages, which it is unable to read. Can you `rpm -qf /usr/lib/python2.7/site-packages/trytond_health-2.2.1-py2.7.egg` to ensure it's not provided by an RPM file, and then do a `sudo pip uninstall trytond-health` to remove it.


Note You need to log in before you can comment on or make changes to this bug.