In bash i run gdown https://drive.google.com/drive/folders/xxx --folder -c
Error occurred after 3~10+ seconds of downloading every time
Error:
('Connection broken: IncompleteRead(32082992 bytes read, 3017700304
more expected)', IncompleteRead(32082992 bytes read, 3017700304 more
expected))
To report issues, please visit https://github.com/wkentaro/gdown/issues.
If i download using python code
import gdown
gdown.download(url, fuzzy=True)
then i got the full error trace:
Traceback (most recent call last):
File "xxx/envs/py/lib/python3.12/site-packages/urllib3/response.py", line 748, in _error_catcher
yield
File "xxx/envs/py/lib/python3.12/site-packages/urllib3/response.py", line 894, in _raw_read
raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
urllib3.exceptions.IncompleteRead: IncompleteRead(4374528 bytes read, 3216850944 more expected)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "xxx/envs/py/lib/python3.12/site-packages/requests/models.py", line 820, in generate
yield from self.raw.stream(chunk_size, decode_content=True)
File "xxx/envs/py/lib/python3.12/site-packages/urllib3/response.py", line 1060, in stream
data = self.read(amt=amt, decode_content=decode_content)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "xxx/envs/py/lib/python3.12/site-packages/urllib3/response.py", line 977, in read
data = self._raw_read(amt)
^^^^^^^^^^^^^^^^^^^
File "xxx/envs/py/lib/python3.12/site-packages/urllib3/response.py", line 872, in _raw_read
with self._error_catcher():
File "xxx/envs/py/lib/python3.12/contextlib.py", line 158, in __exit__
self.gen.throw(value)
File "xxx/envs/py/lib/python3.12/site-packages/urllib3/response.py", line 772, in _error_catcher
raise ProtocolError(arg, e) from e
urllib3.exceptions.ProtocolError: ('Connection broken: IncompleteRead(4374528 bytes read, 3216850944 more expected)', IncompleteRead(4374528 bytes read, 3216850944 more expected))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "xxx/gdown.py", line 2, in <module>
gdown.download(url, fuzzy=True)
File "xxx/envs/py/lib/python3.12/site-packages/gdown/download.py", line 368, in download
for chunk in res.iter_content(chunk_size=CHUNK_SIZE):
File "xxx/envs/py/lib/python3.12/site-packages/requests/models.py", line 822, in generate
raise ChunkedEncodingError(e)
requests.exceptions.ChunkedEncodingError: ('Connection broken: IncompleteRead(4374528 bytes read, 3216850944 more expected)', IncompleteRead(4374528 bytes read, 3216850944 more expected))
Provide environment information
Python 3.12.3 gdown 5.2.0
What OS are you using?
Ubuntu 18.04
Describe the Bug
In bash i run
gdown https://drive.google.com/drive/folders/xxx --folder -c
Error occurred after 3~10+ seconds of downloading every timeIf i download using python code
then i got the full error trace:
Expected Behavior
No response
To Reproduce
No response