Bug 798084
Summary: | Python client does not show helpful error when missing project id for 'project info' command | ||
---|---|---|---|
Product: | [Retired] Zanata | Reporter: | David Mason <damason> |
Component: | Component-PythonClient | Assignee: | James Ni <jni> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Joyce Chang <jochang> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 1.5-SNAPSHOT | CC: | jni, petersen, zanata-bugs |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 1.3.5 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-04-26 08:13:47 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
David Mason
2012-02-28 02:00:58 UTC
Thanks David, I have modified the python client to fix this issue, please check https://github.com/zanata/zanata-python-client/commit/ff6dadf1cb476e3a262c4bec98ab6dba5d94e564 verified with zanata python client version: 1.3.4-12-gff6d & zanata server API version: 1.5.1-SNAPSHOT added verification testing process: Setup: zanata python client version: 1.3.4-12-gff6d installed steps: 1. open a terminal where zanata python client vesion: 1.3.4-12-gff6d is installed 2.issue command: ./zanata project info --url=http://zanata-esperance.lab.eng.bne.redhat.com:8080/ Expected results: Can not find zanata.xml, please specify the path of zanata.xml Overriding url of server with command line option zanata python client version: 1.3.3-25-g7cff, zanata server API version: 1.5.0-alpha-3-SNAPSHOT Error: please specify a project with --project-id Actual results: Can not find zanata.xml, please specify the path of zanata.xml Overriding url of server with command line option zanata python client version: 1.3.4-12-gff6d, zanata server API version: 1.5.1-SNAPSHOT error: Please use zanata project info --project-id=project_id or zanata.xml to specify the project id |