Description of problem: Trying to run zanata pull, the client just crashed with a traceback. Version-Release number of selected component: zanata-python-client-1.3.13-2.fc19 Additional info: reporter: libreport-2.1.6 cmdline: /usr/bin/python /usr/bin/zanata push --push-type source --disable-ssl-cert executable: /usr/bin/zanata kernel: 3.10.9-200.fc19.x86_64 runlevel: N 5 type: Python uid: 500 Truncated backtrace: project.py:45:__init__:TypeError: 'NoneType' object is not iterable Traceback (most recent call last): File "/usr/bin/zanata", line 25, in <module> zanata.run() File "/usr/lib/python2.7/site-packages/zanataclient/zanata.py", line 945, in run program_name=os.path.split(sys.argv[0])[1], File "/usr/lib/python2.7/site-packages/zanataclient/command.py", line 339, in handle_program command(command_options, args) File "/usr/lib/python2.7/site-packages/zanataclient/zanata.py", line 800, in push command.run(command_options, args) File "/usr/lib/python2.7/site-packages/zanataclient/pushcmd.py", line 383, in run zanatacmd.verify_project(project_id, version_id) File "/usr/lib/python2.7/site-packages/zanataclient/zanatacmd.py", line 103, in verify_project self.zanata_resource.projects.get(project_id) File "/usr/lib/python2.7/site-packages/zanataclient/zanatalib/projectservice.py", line 84, in get project = Project(server_return) File "/usr/lib/python2.7/site-packages/zanataclient/zanatalib/project.py", line 45, in __init__ setattr(self, str(a), [Link(item) for item in b]) TypeError: 'NoneType' object is not iterable Local variables in innermost frame: a: u'links' self: <zanataclient.zanatalib.project.Project object at 0x26d2710> b: None d: {u'status': u'ACTIVE', u'description': u'Publican styles for Red Hat-branded documents', u'links': None, u'name': u'publican-redhat', u'iterations': [{u'status': u'OBSOLETE', u'projectType': None, u'id': u'2', u'links': [{u'href': u'iterations/i/2', u'type': u'application/vnd.zanata.project.iteration+json', u'rel': u'self'}]}, {u'status': u'ACTIVE', u'projectType': u'Podir', u'id': u'3', u'links': [{u'href': u'iterations/i/3', u'type': u'application/vnd.zanata.project.iteration+json', u'rel': u'self'}]}], u'defaultType': None, u'id': u'publican-redhat', u'sourceViewURL': None, u'sourceCheckoutURL': None}
Created attachment 793380 [details] File: backtrace
Created attachment 793381 [details] File: environ
The zanata-python-client seems to make assumptions which no longer hold true when communicating with Zanata server 3.x. (We no longer have anyone to maintain the upstream Python code, so we may have to decommission it soon.) I recommend switching to the Java client "zanata-cli". The options have slightly different names from zanata-python-client, but the built-in help (--help) is generally better, and it uses the same config files (zanata.ini and zanata.xml). See http://zanata.org/help/help/cli/cli-install/ to get started. (NB: The above page currently says that the Ivy client keeps itself up to date, but unfortunately that is not the case with the current version of the script. The information should be fixed soon.)
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
zanata-python-client-1.3.15-1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/zanata-python-client-1.3.15-1.fc21
zanata-python-client-1.3.15-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/zanata-python-client-1.3.15-1.fc20
Package zanata-python-client-1.3.15-1.fc21: * should fix your issue, * was pushed to the Fedora 21 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.15-1.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-10665/zanata-python-client-1.3.15-1.fc21 then log in and leave karma (feedback).
zanata-python-client-1.3.16-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/zanata-python-client-1.3.16-1.fc20
zanata-python-client-1.3.16-1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/zanata-python-client-1.3.16-1.fc21
zanata-python-client-1.3.16-2.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/zanata-python-client-1.3.16-2.fc20
zanata-python-client-1.3.16-2.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/zanata-python-client-1.3.16-2.fc21
zanata-python-client-1.3.16-2.el7 has been submitted as an update for Fedora EPEL 7. https://admin.fedoraproject.org/updates/zanata-python-client-1.3.16-2.el7
zanata-python-client-1.3.18-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/zanata-python-client-1.3.18-1.fc20
zanata-python-client-1.3.18-1.el7 has been submitted as an update for Fedora EPEL 7. https://admin.fedoraproject.org/updates/zanata-python-client-1.3.18-1.el7
zanata-python-client-1.3.18-1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/zanata-python-client-1.3.18-1.fc21
zanata-python-client-1.3.16-2.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
zanata-python-client-1.3.18-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
zanata-python-client-1.3.18-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.18-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.