Skip to content

Releases: clstoulouse/motu-client-python

Motu client python 1.7.00

03 Oct 12:41
Compare
Choose a tag to compare
  • 1.7.00 :
    • [Fix]
      • Is now Python 3 compatible: Merge of GitHub PR9
    • [New]
      • Reduce the number of INFO logs
        (e.g 13:06:21 [ INFO] - 1.9 GB (30.8%)) while downloading: Max 1 INFO log for each 1% of progress

Motu client python 1.6.00

26 Jun 13:23
Compare
Choose a tag to compare
  • 1.6.00 :
    • Fix version "dname" display issue, add README.md details about setuptools dependency
    • MOTU-149: Motu Client - PyPi repository - import motu-client & pip install --user are not working

Motu client python 1.5.00

23 Feb 18:26
Compare
Choose a tag to compare

WARNING: A patch needs to be applied to this version to fix 2 issues:
ISSUE 1: Setup tools has to be installed to fix issue ImportError: No module named pkg_resources
ISSUE 2: a line starting with "dname" is displayed which make turns in error some responses like "version" or "describe product"

==================================================
Fix issue 1:
Here is the issue:
python motu-client.py --version
Traceback (most recent call last):
File "motu-client.py", line 76, in
import motu_api
File "/opt/__admintools/test/motu-client-python/motuclient/motu_api.py", line 37, in
from pkg_resources import get_distribution
ImportError: No module named pkg_resources

How to fix it (you have to install setuptools):
sudo apt install python-pip
pip install --upgrade setuptools
python ./motu-client.py --version
dname=/opt/__admintools/test/motu-client-python/motuclient
motu-client-python v1.5.00

==================================================

Fix issue 2:
The line starting with « dname » won’t be visible in the next version. In order to remove it from this version:

  • Remove line « “print "dname=" + dname”” by editing manualy the file motuclient/pom_version.py”
  • or run the command:
    head -n 10 ./motuclient/pom_version.py | tail -n 1 | cut -c9-13 | grep -q print && sed -i '10d' ./motuclient/pom_version.py

Test it, and now it works fine:
python ./motu-client.py --version
motu-client-python v1.5.00

==================================================

  • 1.5.00 :
    • [Fix]
      • motu-client.py runs only from the folder where it is installed, otherwise a pom.xml file not found is raised
      • JIRA MOTU-132: Update the error message of the motu-client in case of authentication error
      • #3: Comment the parent in pom.xml
    • [New]
      • Refactor source to be able to install from PIP (https://pypi.python.org/pypi).
      • Update README.md to explain how to install and to use from PIP.
      • JIRA MOTU-140: Add new parameters to getreqstatus http request to set dataset infos (Not used by the Motu server, but usefull for some frontal server for new central CMEMS DU)

Motu client python 1.4.00

10 Apr 12:50
Compare
Choose a tag to compare
  • 1.4.00 :
    • [client-python]
      • Fix usage of special character in password. Add example in README.md file.
      • Add new command line options --size, --describe-product, --console-mode or -o console
      • Add command line examples in README.md

Motu client python 1.3.00

15 Feb 15:22
Compare
Choose a tag to compare

1.3.00 :
- [client-python]
- Manage better Apache frontal redirection. Fix issue which enables to redirect Motu v2.x URLs to a Motuv3.x URLs.

Motu client python 1.2.00

06 Oct 16:05
Compare
Choose a tag to compare
motu-client-python-1.2.00

motu-client-python-1.2.00

Motu client python 1.1.00

13 Sep 13:49
Compare
Choose a tag to compare
motu-client-python-1.1.00

motu-client-python-1.1.00