GoogleCloudPlatform / GoogleCloudPlatform/gsutil

Always report Traceback after execute gsutil command

Open
#978 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.