Description of problem: zanata-python-client should be able to push po files in sub directories. In other words, it failed to push when the file name contains '/'. Version-Release number of selected component (if applicable): zanata-python-client-1.3.10 Server: Zanata version 2.0.3-SNAPSHOT (20121113-0009) How reproducible: Always Steps to Reproduce: 1. Using a project that has subdirectories in pot directory. 2. zanata push --srcdir ./pot Actual results: zanata python client version: 1.3.10, zanata server API version: 2.0.0 ... This will overwrite/delete any existing documents on the server. Are you sure (y/n)?y Send local translation: False ... Pushing the content of ./pot/topics/Introduction1.pot to server: error: Error 400 - not a legal resource name: topics/Introduction1 Please take a reference in https://github.com/zanata/zanata/wiki/Python-Client-Troubleshooting Expected results: Push successfully/ Additional info:
This is due to a bug in Zanata 2.0's resource name validation in a REST API point which is used only by Python. The Zanata Maven client does not not use the affected API point, so that is one option for a workaround. I have also implemented a workaround for the Python client here: https://github.com/zanata/zanata-python-client/commit/ac64442f4504e0bdc8bf099062c3f2914de70998
zanata-python-client-1.3.12-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/zanata-python-client-1.3.12-1.el6
zanata-python-client-1.3.12-1.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/zanata-python-client-1.3.12-1.fc16
zanata-python-client-1.3.12-1.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/zanata-python-client-1.3.12-1.el5
zanata-python-client-1.3.12-1.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/zanata-python-client-1.3.12-1.fc17
zanata-python-client-1.3.12-1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/zanata-python-client-1.3.12-1.fc18
Package zanata-python-client-1.3.12-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 zanata-python-client-1.3.12-1.el5' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2012-13483/zanata-python-client-1.3.12-1.el5 then log in and leave karma (feedback).
zanata-python-client-1.3.12-1.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
zanata-python-client-1.3.12-1.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.
zanata-python-client-1.3.12-1.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.
zanata-python-client-1.3.12-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.12-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.