Description of problem: It seems like zanata-python-client pass version with string.atof(version). However, if version is in format x.y.z (e.g. 1.3.1), the zanata-python-client fail with error like: Traceback (most recent call last): File "/usr/bin/zanata", line 26, in <module> client.run() File "/usr/lib/python2.6/site-packages/zanataclient/zanata.py", line 1483, in run self._create_iteration(command_args) File "/usr/lib/python2.6/site-packages/zanataclient/zanata.py", line 387, in _create_iteration version_number = string.atof(version) File "/usr/lib64/python2.6/string.py", line 388, in atof return _float(s) ValueError: invalid literal for float(): 1.3.1 Version-Release number of selected component (if applicable): zanata-python-client How reproducible: Always Steps to Reproduce: 1. Assume zanata.xml exists. 2. zanata version create 1 --url=<zanataServerUrl> Actual results: File "/usr/lib/python2.6/site-packages/zanataclient/zanata.py", line 387, in _create_iteration version_number = string.atof(version) File "/usr/lib64/python2.6/string.py", line 388, in atof return _float(s) ValueError: invalid literal for float(): 1.3.1 Expected results: Proceed without error
Hi Dean, I have modify the source code to fix this issue, you can check the commit 931bb6ed in devel branch of zanataclient to verify this issue. (I forget to add the bug number to commit, sorry for that!) Best Regards
VERIFIED with commit 931bb6ed454d207a93e88b4a0e19713671741510 Please fill this bug number in when you submit the release to bodhi.