When using the tool on Windows with command line or Powershell after a few seconds or minutes i am getting the below traceback.
Sometimes i can download 10-20 games but sometimes the connection resets after 2 games.
When restarting the script it checks all games again and even crashes while rechecking.
83% | 3.0 MiB / 3.6 MiB |################################################## | ETA: 0:00:00 | 3.9 MiB/s
Traceback (most recent call last):
File "C:\Users\USER\scoop\apps\python\current\Lib\site-packages\urllib3\response.py", line 748, in _error_catcher
yield
File "C:\Users\USER\scoop\apps\python\current\Lib\site-packages\urllib3\response.py", line 894, in _raw_read
raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
urllib3.exceptions.IncompleteRead: IncompleteRead(3636613 bytes read, 139718 more expected)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\USER\scoop\apps\python\current\Lib\site-packages\requests\models.py", line 820, in generate
yield from self.raw.stream(chunk_size, decode_content=True)
File "C:\Users\USER\scoop\apps\python\current\Lib\site-packages\urllib3\response.py", line 1060, in stream
data = self.read(amt=amt, decode_content=decode_content)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\USER\scoop\apps\python\current\Lib\site-packages\urllib3\response.py", line 977, in read
data = self._raw_read(amt)
^^^^^^^^^^^^^^^^^^^
File "C:\Users\USER\scoop\apps\python\current\Lib\site-packages\urllib3\response.py", line 872, in _raw_read
with self._error_catcher():
File "C:\Users\USER\scoop\apps\python\current\Lib\contextlib.py", line 158, in __exit__
self.gen.throw(value)
File "C:\Users\USER\scoop\apps\python\current\Lib\site-packages\urllib3\response.py", line 772, in _error_catcher
raise ProtocolError(arg, e) from e
urllib3.exceptions.ProtocolError: ('Connection broken: IncompleteRead(3636613 bytes read, 139718 more expected)', IncompleteRead(3636613 bytes read, 139718 more expected))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\USER\Documents\Romcenter\dltool-main\dltool.py", line 283, in <module>
for data in resp.iter_content(chunk_size=CHUNKSIZE):
File "C:\Users\USER\scoop\apps\python\current\Lib\site-packages\requests\models.py", line 822, in generate
raise ChunkedEncodingError(e)
requests.exceptions.ChunkedEncodingError: ('Connection broken: IncompleteRead(3636613 bytes read, 139718 more expected)', IncompleteRead(3636613 bytes read, 139718 more expected))
When using the tool on Windows with command line or Powershell after a few seconds or minutes i am getting the below traceback.
Sometimes i can download 10-20 games but sometimes the connection resets after 2 games.
When restarting the script it checks all games again and even crashes while rechecking.