GoogleCloudPlatform / GoogleCloudPlatform/gsutil
Always report Traceback after execute gsutil command
- Dominant language
- Python
- Stars
- 918
- Forks
- 335
- PR merge metrics
- No merged PRs in 30d
Description
## Description
After execute gsutil command, it aways report a Traceback for a Error, like below:
```
βπ mengz @ π» linux-xm in π ~
ββ― gsutil version
gsutil version: 4.48
βπ mengz @ π» linux-xm in π ~
ββ― Traceback (most recent call last):
File "", line 1, in
File "/home/mengz/opt/google-cloud-sdk/platform/gsutil/gslib/metrics_reporter.py", line 120, in ReportMetrics
http = GetNewHttp()
File "/home/mengz/opt/google-cloud-sdk/platform/gsutil/gslib/utils/boto_util.py", line 277, in GetNewHttp
config.getint('Boto', 'proxy_port'),
File "/home/mengz/opt/google-cloud-sdk/platform/gsutil/gslib/vendored/boto/boto/pyami/config.py", line 161, in getint
return self._parser.getint(section, name)
File "/usr/lib64/python2.7/ConfigParser.py", line 359, in getint
return self._get(section, int, option)
File "/usr/lib64/python2.7/ConfigParser.py", line 356, in _get
return conv(self.get(section, option))
ValueError: invalid literal for int() with base 10: '10.80'
```
## Version
```
βπ mengz @ π» linux-xm in π ~
ββ― gcloud version
Google Cloud SDK 285.0.1
bq 2.0.55
core 2020.03.17
gsutil 4.48
```
gsutil is installed with Google Cloud SDK.
## OS Info
```
βπ mengz @ π» linux-xm in π ~
ββ― cat /etc/os-release
NAME="openSUSE Leap"
VERSION="15.1"
ID="opensuse-leap"
ID_LIKE="suse opensuse"
VERSION_ID="15.1"
PRETTY_NAME="openSUSE Leap 15.1"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:leap:15.1"
BUG_REPORT_URL="https://bugs.opensuse.org"
βπ mengz @ π» linux-xm in π ~
ββ― bash --version
GNU bashοΌηζ¬ 4.4.23(1)-release (x86_64-suse-linux-gnu)
```
HOME_URL="https://www.opensuse.org/"
Contributor guide
Assessment
This issue has not been assessed yet.