Bug 1150301
| Summary: | Using "pkgdb-cli" leads to "NameError: name 'NullHandler' is not defined" | ||
|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | Robert Scheck <redhat-bugzilla> |
| Component: | python-fedora | Assignee: | Fedora Infrastructure SIG <infra-sig> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | el6 | CC: | infra-sig, lmacken, pingou, relrod, ricky |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | python-fedora-0.3.36-2.fc19 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-10-22 08:53:31 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: | |||
This is odd:
[pingou@ambre ~]$ pkgdb-cli
usage: pkgdb-cli [-h] [--user USERNAME] [--password PASSWORD] [--nocolor]
[--verbose] [--debug] [--test] [--version]
{branches,unorphan,list,update,give,orphan,request,acl} ...
pkgdb-cli: error: too few arguments
[pingou@ambre ~]$ rpm -q packagedb-cli
packagedb-cli-2.5-1.el6.noarch
Oh, but the error is coming from python-fedora in fact. Which version of python-fedora are you using? I have python-fedora-0.3.34-1.el6.noarch I have python-fedora-0.3.35-1.el6.noarch (from epel-testing according to yum). As you could see in the update, the bug is fixed upstream, it just needs either to be backported in the rpm or a new bugfix release. Re-assigning to python-fedora :) python-fedora-0.3.36-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/python-fedora-0.3.36-1.el6 python-fedora-0.3.36-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/python-fedora-0.3.36-1.fc19 python-fedora-0.3.36-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/python-fedora-0.3.36-1.fc20 Package python-fedora-0.3.36-1.el6: * should fix your issue, * was pushed to the Fedora EPEL 6 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing python-fedora-0.3.36-1.el6' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-3205/python-fedora-0.3.36-1.el6 then log in and leave karma (feedback). python-fedora-0.3.36-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. python-fedora-0.3.36-2.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/python-fedora-0.3.36-2.fc19 python-fedora-0.3.36-2.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/python-fedora-0.3.36-2.fc20 python-fedora-0.3.36-2.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/python-fedora-0.3.36-2.el6 python-fedora-0.3.36-2.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/python-fedora-0.3.36-2.fc21 python-fedora-0.3.36-2.el7 has been submitted as an update for Fedora EPEL 7. https://admin.fedoraproject.org/updates/python-fedora-0.3.36-2.el7 python-fedora-0.3.36-2.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. python-fedora-0.3.36-2.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report. python-fedora-0.3.36-2.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report. python-fedora-0.3.36-2.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. python-fedora-0.3.36-2.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: [robert@tux ~]$ pkgdb-cli Traceback (most recent call last): File "/usr/bin/pkgdb-cli", line 9, in <module> load_entry_point('packagedb-cli==2.5', 'console_scripts', 'pkgdb-cli')() File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 299, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2229, in load_entry_point return ep.load() File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1948, in load entry = __import__(self.module_name, globals(),globals(), ['__name__']) File "/usr/lib/python2.6/site-packages/pkgdb2_cli.py", line 18, in <module> from fedora.client import (AccountSystem, AppError, ServerError) File "/usr/lib/python2.6/site-packages/fedora/client/__init__.py", line 124, in <module> from fedora.client.openidproxyclient import OpenIdProxyClient File "/usr/lib/python2.6/site-packages/fedora/client/openidproxyclient.py", line 68, in <module> log.addHandler(NullHandler()) NameError: name 'NullHandler' is not defined [robert@tux ~]$ Version-Release number of selected component (if applicable): packagedb-cli-2.5-1.el6.noarch How reproducible: Everytime, see above. Actual results: Using "pkgdb-cli" leads to "NameError: name 'NullHandler' is not defined" Expected results: No "NameError: name 'NullHandler' is not defined", but working ;-)