We are using this client in order to build the fedora websites. However, we can't move forward pulling POs... This client version just doesn't work. What was wrong about the upgrade? http://koji.fedoraproject.org/koji/buildinfo?buildID=590593 I just took the srpm from koji, (release 1.3.13) and I get the exact same issues. Can't get project info, can't pull POs... I am using a zanata.xml file but tried giving explicit args.. I can see many fixed on the upstream repo... Would you mind provide us a rebuild which fixes facing issues? (I try to add some patches, but can't manage to fix it, 312679b 1594598 ee831ff 4ef7fc0 e0a5186 cdb8769 312679b) zanata project info --project-id fedora-web --project-version getefedora.org Loading zanata project config from: /home/fedora/shaiton/test/zanata.xml Traceback (most recent call last): File "/usr/bin/zanata", line 25, in <module> zanata.run() File "/usr/lib/python2.6/site-packages/zanataclient/zanata.py", line 945, in run program_name=os.path.split(sys.argv[0])[1], File "/usr/lib/python2.6/site-packages/zanataclient/command.py", line 339, in handle_program command(command_options, args) File "/usr/lib/python2.6/site-packages/zanataclient/zanata.py", line 529, in project_info zanatacmd.project_info(project_id) File "/usr/lib/python2.6/site-packages/zanataclient/zanatacmd.py", line 209, in project_info print ("Project ID: %s")%p.id AttributeError: 'NoneType' object has no attribute 'id' Red Hat Enterprise Linux Server release 6.6 (Santiago) [shaiton test]$ zanata pull --project-id fedora-web --project-version getfedora.org --lang fr Loading zanata project config from: /home/fedora/shaiton/test/zanata.xml Loading zanata user config from: /home/fedora/shaiton/.config/zanata.ini zanata server: https://fedora.zanata.org zanata python client version: 1.3.13 Project: fedora-web Version: getfedora.org Username: shaiton error: Error - Unexpected Status, failed to get file list Please take a reference in https://github.com/zanata/zanata/wiki/Python-Client-Troubleshooting
Hi Kévin, not sure if an updated version can fix this, but I've built the new 1.3.19 version with a small fix to make it run also on el6. You can see the source RPM and SPEC file here: SPEC Url: https://robyduck.fedorapeople.org/packages/SPECS/zanata-python-client.spec SRPM Url: https://robyduck.fedorapeople.org/packages/SRPMS/zanata-python-client-1.3.19-2.fc21.src.rpm F21 RPM: https://robyduck.fedorapeople.org/packages/RPMS/noarch/zanata-python-client-1.3.19-2.fc21.noarch.rpm I've done also a Koji build specifically for el6, so you can try. http://koji.fedoraproject.org/koji/taskinfo?taskID=9098877 If it works as it should I could ask Anish to push this (or if he wants I can do it too if he gives me commit access) to updates. We could fix it definitely later with the next release version, as this package also needs to be ready for python3 I guess.
Hi Kevin, Thank you for bug report, I am using client with version 1.3.19 on Fedora 22 and above command works fine. zanata project info --project-id fedora-web --project-version getefedora.org Project ID: fedora-web Project Name: Fedora Websites Project Description: Strings used in all Fedora Websites. zanata pull --project-id fedora-web --project-version getfedora.org --lang fr Project: fedora-web Version: getfedora.org Username: anish Source language: en-US Fetching the content of getfedora from Zanata server: Retrieving fr translation from server: Writing po file to /home/anish/commit/zanata-python-client/po/fr.po The version you are using is not deprecated,I will update zanata-python-client on EL6 branch as well.
Hi Robert, Thank you for your help,if you want to submit any patch or change then I would like to give you commit access and I am planning to port it for Python 3. Thanks, Anish
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
Hi Anish, I've requested commit access. The last version 1.3.19-1 is running fine on F22, but it's not built for el6. I'd just push a new 1.3.19-2 build for el6 and push it to updates. For python3 we can see and maybe wait a new 1.3.20 to do this ;)
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
(In reply to Robert Mayr from comment #7) Hi Robert, > Hi Anish, > I've requested commit access. I did not get any request for commit access :), may be its due to java script browser issue Thanks, Anish P.
Anish, nice option. This package will work too and we have the latest version. Thank you. Robert
Package zanata-python-client-1.3.20-1.fc22: * should fix your issue, * was pushed to the Fedora 22 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing zanata-python-client-1.3.20-1.fc22' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-2969/zanata-python-client-1.3.20-1.fc22 then log in and leave karma (feedback).
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.