Bug 826798
| Summary: | zanata pull fail to pull | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Patrick Huang <pahuang> |
| Component: | zanata-python-client | Assignee: | James Ni <jni> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | dchen, jni, petersen, sflaniga, zanata-bugs |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | python client version: 1.3.7 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-06-18 02:42:28 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: | |||
maven client works. stacktrace from server: 2012-05-31 13:58:02,234 ERROR [org.zanata.rest.ZanataResteasyBootstrap] (http-0.0.0.0-8080-1) Failed to process REST request java.lang.RuntimeException: Unsupported Extensions within this context: comment?skeletons at org.zanata.rest.service.ResourceUtils.validateExtensions(ResourceUtils.java:1389) at org.zanata.rest.service.TranslatedDocResourceService.getTranslations(TranslatedDocResourceService.java:214) Thanks Patrick, I have fixed that issue in new release of 1.3.6, i am sorry that i should file a bug when i found and fix it in upstream. so please test the 1.3.6 and see if this issue is fixed. thanks. Tested with 1.3.6-3-g70f
Actual results:
Traceback (most recent call last):
File "/home/dchen/devel/zanata-python-client/zanata", line 25, in <module>
zanata.run()
File "/home/dchen/devel/zanata-python-client/zanataclient/zanata.py", line 945, in run
program_name=os.path.split(sys.argv[0])[1],
File "/home/dchen/devel/zanata-python-client/zanataclient/command.py", line 339, in handle_program
command(command_options, args)
File "/home/dchen/devel/zanata-python-client/zanataclient/zanata.py", line 820, in pull
command.run(command_options, args, project_type)
File "/home/dchen/devel/zanata-python-client/zanataclient/pullcmd.py", line 65, in run
zanatacmd, version_info, username = self.create_zanatacmd(url, command_options)
ValueError: too many values to unpack
Tested with 1.3.6-3-g70f
Actual results:
Traceback (most recent call last):
File "/home/dchen/devel/zanata-python-client/zanata", line 25, in <module>
zanata.run()
File "/home/dchen/devel/zanata-python-client/zanataclient/zanata.py", line 945, in run
program_name=os.path.split(sys.argv[0])[1],
File "/home/dchen/devel/zanata-python-client/zanataclient/command.py", line 339, in handle_program
command(command_options, args)
File "/home/dchen/devel/zanata-python-client/zanataclient/zanata.py", line 820, in pull
command.run(command_options, args, project_type)
File "/home/dchen/devel/zanata-python-client/zanataclient/pullcmd.py", line 65, in run
zanatacmd, version_info, username = self.create_zanatacmd(url, command_options)
ValueError: too many values to unpack
REASSIGNED
Thanks Ding, Fixed in commit 2ae42dd48c on git-hub, please review again https://github.com/zanata/zanata-python-client/commit/2ae42dd48cf837988b53a051063fe8a49038a3f3 Verified with 1.3.6-4-g2ae4 zanata-python-client-1.3.7-1.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/zanata-python-client-1.3.7-1.fc16 zanata-python-client-1.3.7-1.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/zanata-python-client-1.3.7-1.el5 zanata-python-client-1.3.7-1.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/zanata-python-client-1.3.7-1.fc17 zanata-python-client-1.3.7-1.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/zanata-python-client-1.3.7-1.fc15 zanata-python-client-1.3.7-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/zanata-python-client-1.3.7-1.el6 Package zanata-python-client-1.3.7-1.fc16: * should fix your issue, * was pushed to the Fedora 16 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.7-1.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-9357/zanata-python-client-1.3.7-1.fc16 then log in and leave karma (feedback). Package zanata-python-client-1.3.7-1.el6: * should fix your issue, * was pushed to the Fedora EPEL 6 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.7-1.el6' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2012-6156/zanata-python-client-1.3.7-1.el6 then log in and leave karma (feedback). zanata-python-client-1.3.7-1.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. |
Version-Release number of selected component (if applicable): 1.6.0-beta-2-SNAPSHOT (20120529-0019). Steps to Reproduce: The test case "Python Client push plural" is performed. Edit project "Tar" and fill in some translation under locale "pl". 1. Pull the translation zanata pull --transdir /tmp/zanata Actual results: python client result 500 internal server error. maven client says successful but no file is created under specified directory. Expected results: both client pull successfully without error.