Bug 1194987
Summary: | NameError: global name 'project_type' is not defined | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Richard W.M. Jones <rjones> |
Component: | zanata-python-client | Assignee: | anish <apatil> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | apatil, camunoz, dchen, kent.neo, petersen, sflaniga |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | zanata-python-client-1.3.21-1.fc21 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-03-08 22:49:36 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
Richard W.M. Jones
2015-02-21 17:00:10 UTC
This simple-minded fix works for me, although I have no idea if it is correct or not: if self.project_type: - command_type = project_type + command_type = self.project_type dir_option = True Any ideas Anish? Richard, the python client stopped being the main client for Zanata a while ago. We still do minor fixes here and there (thanks to Anish), but all new features go to the Java-based client. You can find more information here: http://zanata.org/help/cli/cli-install/ Anish, can you please have a look? Hi Richard W.M. Jones, Thanks you for bug report and I am looking into it Thanks, Anish P. Hi Richard, Thank you for your fix, project_type was local member in previous versions but now its a class variable https://github.com/zanata/zanata-python-client/commit/fec1f0d490fdee9d23d8daf1364472f03f0b1ad9 zanata-python-client-1.3.19-1.el7 has been submitted as an update for Fedora EPEL 7. https://admin.fedoraproject.org/updates/zanata-python-client-1.3.19-1.el7 zanata-python-client-1.3.19-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/zanata-python-client-1.3.19-1.fc20 zanata-python-client-1.3.19-1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/zanata-python-client-1.3.19-1.fc21 The reason I'm not using the Java client is: # yum install zanata-client ... Total download size: 162 M Installed size: 201 M Package zanata-python-client-1.3.19-1.el7: * should fix your issue, * was pushed to the Fedora EPEL 7 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing zanata-python-client-1.3.19-1.el7' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2015-0906/zanata-python-client-1.3.19-1.el7 then log in and leave karma (feedback). zanata-python-client-1.3.20-1.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/zanata-python-client-1.3.20-1.fc22 zanata-python-client-1.3.20-1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/zanata-python-client-1.3.20-1.fc21 zanata-python-client-1.3.20-1.el7 has been submitted as an update for Fedora EPEL 7. https://admin.fedoraproject.org/updates/zanata-python-client-1.3.20-1.el7 zanata-python-client-1.3.20-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/zanata-python-client-1.3.20-1.el6 zanata-python-client-1.3.20-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/zanata-python-client-1.3.20-1.fc20 zanata-python-client-1.3.21-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/zanata-python-client-1.3.21-1.fc20 zanata-python-client-1.3.21-1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/zanata-python-client-1.3.21-1.fc21 zanata-python-client-1.3.21-1.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/zanata-python-client-1.3.21-1.fc22 zanata-python-client-1.3.21-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/zanata-python-client-1.3.21-1.el6 zanata-python-client-1.3.21-1.el7 has been submitted as an update for Fedora EPEL 7. https://admin.fedoraproject.org/updates/zanata-python-client-1.3.21-1.el7 zanata-python-client-1.3.21-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. zanata-python-client-1.3.21-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report. zanata-python-client-1.3.21-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. zanata-python-client-1.3.21-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. zanata-python-client-1.3.21-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. |