build 07-Dec-2020 06:26:30 Collecting transifex-client
build 07-Dec-2020 06:26:30 Downloading https://repo.com/api/pypi/python/packages/packages/1c/25/1824710f70aa6665b97b5faa84fd4fe16da20e72ecf1598e39457b2a651f/transifex-client-0.14.2.tar.gz (211 kB)
build 07-Dec-2020 06:26:30 Collecting gitpython<4.0.0
build 07-Dec-2020 06:26:30 Downloading https://repo.com/api/pypi/python/packages/packages/24/d1/a7f8fe3df258549b303415157328bfcc63e9b11d06a7ad7a3327f3d32606/GitPython-3.1.11-py3-none-any.whl (159 kB)
build 07-Dec-2020 06:26:30 Collecting gitdb<5,>=4.0.1
build 07-Dec-2020 06:26:30 Downloading https://repo.com/api/pypi/python/packages/packages/48/11/d1800bca0a3bae820b84b7d813ad1eff15a48a64caea9c823fc8c1b119e8/gitdb-4.0.5-py3-none-any.whl (63 kB)
build 07-Dec-2020 06:26:30 Collecting python-slugify<5.0.0
build 07-Dec-2020 06:26:30 Downloading https://repo.com/api/pypi/python/packages/packages/9f/42/e336f96a8b6007428df772d0d159b8eee9b2f1811593a4931150660402c0/python-slugify-4.0.1.tar.gz (11 kB)
build 07-Dec-2020 06:26:31 Collecting requests<3.0.0,>=2.19.1
build 07-Dec-2020 06:26:31 Using cached https://repo.com/api/pypi/python/packages/packages/39/fc/f91eac5a39a65f75a7adb58eac7fa78871ea9872283fb9c44e6545998134/requests-2.25.0-py2.py3-none-any.whl (61 kB)
build 07-Dec-2020 06:26:31 Collecting certifi>=2017.4.17
build 07-Dec-2020 06:26:31 Using cached https://repo.com/api/pypi/python/packages/packages/5e/a0/5f06e1e1d463903cf0c0eebeb751791119ed7a4b3737fdc9a77f1cdfb51f/certifi-2020.12.5-py2.py3-none-any.whl (147 kB)
build 07-Dec-2020 06:26:31 Collecting chardet<4,>=3.0.2
build 07-Dec-2020 06:26:31 Using cached https://repo.com/api/pypi/python/packages/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133 kB)
build 07-Dec-2020 06:26:31 Collecting idna<3,>=2.5
build 07-Dec-2020 06:26:31 Using cached https://repo.com/api/pypi/python/packages/packages/a2/38/928ddce2273eaa564f6f50de919327bf3a00f091b5baba8dfa9460f3a8a8/idna-2.10-py2.py3-none-any.whl (58 kB)
build 07-Dec-2020 06:26:31 Collecting six<2.0.0
build 07-Dec-2020 06:26:31 Using cached https://repo.com/api/pypi/python/packages/packages/ee/ff/48bde5c0f013094d729fe4b0316ba2a24774b3ff1c52d924a8a4cb04078a/six-1.15.0-py2.py3-none-any.whl (10 kB)
build 07-Dec-2020 06:26:31 Collecting smmap<4,>=3.0.1
build 07-Dec-2020 06:26:31 Downloading https://repo.com/api/pypi/python/packages/packages/b0/9a/4d409a6234eb940e6a78dfdfc66156e7522262f5f2fecca07dc55915952d/smmap-3.0.4-py2.py3-none-any.whl (25 kB)
build 07-Dec-2020 06:26:31 Collecting text-unidecode>=1.3
build 07-Dec-2020 06:26:31 Downloading https://repo.com/api/pypi/python/packages/packages/a6/a5/c0b6468d3824fe3fde30dbb5e1f687b291608f9473681bbf7dabbf5a87d7/text_unidecode-1.3-py2.py3-none-any.whl (78 kB)
build 07-Dec-2020 06:26:31 Collecting urllib3<2.0.0,>=1.24.2
build 07-Dec-2020 06:26:31 Using cached https://repo.com/api/pypi/python/packages/packages/f5/71/45d36a8df68f3ebb098d6861b2c017f3d094538c0fb98fa61d4dc43e69b9/urllib3-1.26.2-py2.py3-none-any.whl (136 kB)
build 07-Dec-2020 06:26:31 Using legacy 'setup.py install' for transifex-client, since package 'wheel' is not installed.
build 07-Dec-2020 06:26:31 Using legacy 'setup.py install' for python-slugify, since package 'wheel' is not installed.
build 07-Dec-2020 06:26:31 Installing collected packages: smmap, urllib3, text-unidecode, idna, gitdb, chardet, certifi, six, requests, python-slugify, gitpython, transifex-client
build 07-Dec-2020 06:26:32 Attempting uninstall: six
build 07-Dec-2020 06:26:32 Found existing installation: six 1.15.0
build 07-Dec-2020 06:26:32 Uninstalling six-1.15.0:
build 07-Dec-2020 06:26:32 Successfully uninstalled six-1.15.0
build 07-Dec-2020 06:26:32 Running setup.py install for python-slugify: started
build 07-Dec-2020 06:26:32 Running setup.py install for python-slugify: finished with status 'done'
build 07-Dec-2020 06:26:32 Running setup.py install for transifex-client: started
build 07-Dec-2020 06:26:32 Running setup.py install for transifex-client: finished with status 'done'
build 07-Dec-2020 06:26:32 Successfully installed certifi-2020.12.5 chardet-3.0.4 gitdb-4.0.5 gitpython-3.1.11 idna-2.10 python-slugify-4.0.1 requests-2.25.0 six-1.15.0 smmap-3.0.4 text-unidecode-1.3 transifex-client-0.14.2 urllib3-1.26.2
error 07-Dec-2020 06:26:32 /home/bamboo/bamboo-agent-home/temp/ScriptBuildTask-2569969292095863772.sh: line 15: tx: command not found
error 07-Dec-2020 06:26:32 /home/bamboo/bamboo-agent-home/temp/ScriptBuildTask-2569969292095863772.sh: line 18: tx: command not found
Note that sometimes it works and somtimes not.
Any ideas? Is there some pip command I should be setting?
In the script task, it seems its using these versions of python:
Python 2.7.16
pip 18.1
Note that python3 also seems to be available on the build agent - is there anyway to force the TX client to use python3?
I tried using:
pip3 install transifex-client
And when tx does install correctly I then receive the following error:
tx ERROR: HTTPSConnectionPool(host='www.transifex.com', port=443): Max retries exceeded with url: /api/2/project/my_project/resource/config_locales_default_en/stats/ (Caused by ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')))
I am using a script task in Bamboo to install the TX client, but often it fails to install and I am hoping you can tell me why.
This is the relevant line in the script task:
Here is the output from the script:
Note that sometimes it works and somtimes not. Any ideas? Is there some pip command I should be setting?
In the script task, it seems its using these versions of python:
Python 2.7.16 pip 18.1
Note that python3 also seems to be available on the build agent - is there anyway to force the TX client to use python3?
I tried using:
pip3 install transifex-client
And when tx does install correctly I then receive the following error:
tx ERROR: HTTPSConnectionPool(host='www.transifex.com', port=443): Max retries exceeded with url: /api/2/project/my_project/resource/config_locales_default_en/stats/ (Caused by ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')))