GoogleCloudPlatform / GoogleCloudPlatform/gsutil
Cannot use -Z with streaming upload
Open
- Dominant language
- Python
- Stars
- 918
- Forks
- 335
- PR merge metrics
- No merged PRs in 30d
Description
Can we get gzip content encoding to work with streaming uploads? Right now it seems there is a bug on this code path:
```
$ echo hello there | gsutil cp -Z - gs://bucket/doh.txt
Copying from ...
Failure: int() argument must be a string or a number, not 'NoneType'.
```
Contributor guide
Research direction
Start by reproducing the `gsutil cp -Z - gs://bucket/doh.txt` command and trace the streaming upload path where the `NoneType` conversion occurs. Done means stdin uploads successfully with gzip content encoding and the resulting object is available at the requested destination.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli, cloud
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100