Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1377688 - [abrt] fedmsg-notify: filters.py:24:<module>:ImportError: cannot import name get_reported_bugs
Summary: [abrt] fedmsg-notify: filters.py:24:<module>:ImportError: cannot import name ...
Keywords:
Status: CLOSED DUPLICATE of bug 1246859
Alias: None
Product: Fedora
Classification: Fedora
Component: fedmsg-notify
Version: 24
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Luke Macken
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:3cbbd8d398de99e1b13228f689a...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-20 11:35 UTC by Marcos Paulo
Modified: 2016-12-12 17:07 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-12 17:07:19 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (7.34 KB, text/plain)
2016-09-20 11:35 UTC, Marcos Paulo
no flags Details
File: environ (1.87 KB, text/plain)
2016-09-20 11:35 UTC, Marcos Paulo
no flags Details

Description Marcos Paulo 2016-09-20 11:35:51 UTC
Description of problem:
I just tried to open it:

marcos@xfiles:~$ fedmsg-notify-config 
/usr/lib/python2.7/site-packages/fedmsg_notify/gui.py:25: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk, Gio
Traceback (most recent call last):
  File "/usr/bin/fedmsg-notify-config", line 9, in <module>
    load_entry_point('fedmsg-notify==0.5.5', 'console_scripts', 'fedmsg-notify-config')()
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 547, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2720, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2380, in load
    return self.resolve()
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2386, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python2.7/site-packages/fedmsg_notify/gui.py", line 27, in <module>
    from .filters import filters, get_enabled_filters
  File "/usr/lib/python2.7/site-packages/fedmsg_notify/filters.py", line 24, in <module>
    from .distro_specific import (get_installed_packages,
ImportError: cannot import name get_reported_bugs

Version-Release number of selected component:
fedmsg-notify-0.5.5-4.fc24

Additional info:
reporter:       libreport-2.7.2
cmdline:        /usr/bin/python /usr/bin/fedmsg-notify-config
dso_list:       python2-setuptools-20.1.1-1.fc24.noarch
executable:     /usr/bin/fedmsg-notify-config
kernel:         4.7.3-200.fc24.x86_64
pkg_fingerprint: 73BD E983 81B4 6521
pkg_vendor:     Fedora Project
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
#1 <module> in /usr/lib/python2.7/site-packages/fedmsg_notify/filters.py:24
#2 <module> in /usr/lib/python2.7/site-packages/fedmsg_notify/gui.py:27
#3 resolve in /usr/lib/python2.7/site-packages/pkg_resources/__init__.py:2386
#4 load in /usr/lib/python2.7/site-packages/pkg_resources/__init__.py:2380
#5 load_entry_point in /usr/lib/python2.7/site-packages/pkg_resources/__init__.py:2720
#6 load_entry_point in /usr/lib/python2.7/site-packages/pkg_resources/__init__.py:547
#7 <module> in /usr/bin/fedmsg-notify-config:9

Potential duplicate: bug 1315317

Comment 1 Marcos Paulo 2016-09-20 11:35:56 UTC
Created attachment 1202862 [details]
File: backtrace

Comment 2 Marcos Paulo 2016-09-20 11:35:57 UTC
Created attachment 1202863 [details]
File: environ

Comment 3 Aurelien Bompard 2016-12-12 17:07:19 UTC

*** This bug has been marked as a duplicate of bug 1246859 ***


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