Bug 1066625
Summary: | UserWarning when importing fedmsg.meta | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Till Maas <opensource> |
Component: | fedmsg | Assignee: | Ralph Bean <rbean> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 19 | CC: | lmacken, opensource, rbean |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-09-30 14:11:45 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Till Maas
2014-02-18 18:05:41 UTC
"Taking it on" upstream: https://github.com/fedora-infra/fedmsg/pull/223 fedmsg-0.7.6-2.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/fedmsg-0.7.6-2.el6 fedmsg-0.7.6-2.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/fedmsg-0.7.6-2.fc20 fedmsg-0.7.6-2.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/fedmsg-0.7.6-2.fc19 there is Still a user warning when fedmsg.meta.make_processors() is called: $ python -c 'import fedmsg.meta; fedmsg.meta.make_processors()' /usr/lib/python2.7/site-packages/fedmsg/meta/__init__.py:86: UserWarning: Module backports was already imported from /usr/lib64/python2.7/site-packages/backports/__init__.pyc, but /usr/lib/python2.7/site-packages is being added to sys.path import pkg_resources fedmsg-0.7.6-2.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. fedmsg-0.7.7-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/fedmsg-0.7.7-1.fc19 fedmsg-0.7.7-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/fedmsg-0.7.7-1.el6 fedmsg-0.7.7-1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. Still broken with fedmsg-0.7.7-1.fc19: $ python -c 'import fedmsg.meta; fedmsg.meta.make_processors()' /usr/lib/python2.7/site-packages/fedmsg/meta/__init__.py:87: UserWarning: Module backports was already imported from /usr/lib64/python2.7/site-packages/backports/__init__.pyc, but /usr/lib/python2.7/site-packages is being added to sys.path import pkg_resources No handlers could be found for logger "fedmsg" Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib/python2.7/site-packages/fedmsg/meta/__init__.py", line 98, in make_processors processors.append(DefaultProcessor(_, **config)) File "/usr/lib/python2.7/site-packages/fedmsg/meta/base.py", line 71, in __init__ config['topic_prefix_re'], self.__name__.lower())) KeyError: 'topic_prefix_re' I cannot duplicate on f20: $ python -c 'import fedmsg.config; import fedmsg.meta; fedmsg.meta.make_processors(**fedmsg.config.load_config())' No handlers could be found for logger "fedmsg" (In reply to Ralph Bean from comment #11) > I cannot duplicate on f20: > > $ python -c 'import fedmsg.config; import fedmsg.meta; > fedmsg.meta.make_processors(**fedmsg.config.load_config())' > No handlers could be found for logger "fedmsg" It only happens on F19 here, too. You can easily test it with machines from here: https://fedoraproject.org/wiki/Test_Machine_Resources_For_Package_Maintainers#FAQ fedmsg-0.7.7-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report. It happens on EPEL6 as well: (this is from autosign01): $ python -c 'import fedmsg.config; import fedmsg.meta; fedmsg.meta.make_processors(**fedmsg.config.load_config())' /usr/lib/python2.6/site-packages/fedmsg/meta/__init__.py:94: UserWarning: Module backports was already imported from /usr/lib64/python2.6/site-packages/backports/__init__.pyc, but /usr/lib/python2.6/site-packages is being added to sys.path import pkg_resources OK, I think I have tracked down the issue to those backports modules. This pull-request upstream should eventually fix the issue: https://bitbucket.org/brandon/backports.ssl_match_hostname/pull-request/1/declare-namespace-package/diff Progress upstream. It was merged into the development branch. https://bitbucket.org/brandon/backports.ssl_match_hostname/pull-request/1/declare-namespace-package/diff#comment-3065648 python-backports-ssl_match_hostname-3.4.0.2-4.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/python-backports-ssl_match_hostname-3.4.0.2-4.fc21 python-backports-ssl_match_hostname-3.4.0.2-4.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/python-backports-ssl_match_hostname-3.4.0.2-4.fc20 python-backports-ssl_match_hostname-3.4.0.2-4.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/python-backports-ssl_match_hostname-3.4.0.2-4.fc19 python-backports-ssl_match_hostname-3.4.0.2-4.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/python-backports-ssl_match_hostname-3.4.0.2-4.el6 python-backports-ssl_match_hostname-3.4.0.2-4.fc20 has been pushed to the Fedora 20 stable repository. python-backports-ssl_match_hostname-3.4.0.2-4.fc19 has been pushed to the Fedora 19 stable repository. python-backports-ssl_match_hostname-3.4.0.2-4.fc21 has been pushed to the Fedora 21 stable repository. python-backports-ssl_match_hostname-3.4.0.2-4.el6 has been pushed to the Fedora EPEL 6 stable repository. |