| Summary: | bug in fedora.client.fas2 : TypeError: bunchify() got an unexpected keyword argument 'username' | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | David Riches <david.r> |
| Component: | python-fedora | Assignee: | Toshio Ernie Kuratomi <a.badger> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 15 | CC: | a.badger, jonstanley, lmacken, rzhou |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | python-fedora-0.3.23-1.fc13 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-05-09 04:00:15 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Thanks! This is a bug in fas2.py. I've committed a fix and I'm spinning a new release now. python-fedora-0.3.22-1.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/python-fedora-0.3.22-1.el5 python-fedora-0.3.22-1.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/python-fedora-0.3.22-1.fc13 python-fedora-0.3.22-1.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/python-fedora-0.3.22-1.fc15 python-fedora-0.3.22-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/python-fedora-0.3.22-1.el6 python-fedora-0.3.22-1.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/python-fedora-0.3.22-1.fc14 Package python-fedora-0.3.22-1.el5: * should fix your issue, * was pushed to the Fedora EPEL 5 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.22-1.el5' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/python-fedora-0.3.22-1.el5 then log in and leave karma (feedback). python-fedora-0.3.23-1.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/python-fedora-0.3.23-1.fc14 python-fedora-0.3.23-1.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/python-fedora-0.3.23-1.el5 python-fedora-0.3.23-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/python-fedora-0.3.23-1.el6 python-fedora-0.3.23-1.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/python-fedora-0.3.23-1.fc15 python-fedora-0.3.23-1.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/python-fedora-0.3.23-1.fc13 python-fedora-0.3.23-1.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. python-fedora-0.3.23-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. python-fedora-0.3.23-1.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report. python-fedora-0.3.23-1.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. python-fedora-0.3.23-1.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: I stumbled across this bug when testing supybot-fedora. With the latest (updates-testing version of python-fedora (python-fedora-0.3.21-1.fc15.noarch) there is a failure when trying to access .group_members("foo"). Doesn't occur with the outgoing version. Version-Release number of selected component (if applicable): python-fedora-0.3.21-1.fc15.noarch How reproducible: every time, either through something that imports fedora.client.fas2 (such as supybot-fedora) or manually. Steps to Reproduce: 1. open a python interpreter from fedora.client.fas2 import AccountSystem fasclient = AccountSystem("https://admin.fedoraproject.org/accounts/",username="{your user}", password="{password}") fasclient.group_members("triagers") Actual results: >>> fasclient.group_members("triagers") Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/site-packages/fedora/client/fas2.py", line 253, in group_members for user in request['people']] TypeError: bunchify() got an unexpected keyword argument 'username' >>> Expected results: A list of group members for the group (triagers). Note if you yum downgrade python-fedora , the problem goes away Additional info: fpaste --sysinfo : http://fpaste.org/dH4R/