Posted February 18, 2022
mrkgnao: You can find a solution for the xml parsing issue two posts above yours, here:
https://www.gog.com/forum/general/gogrepopy_python_script_for_regularly_backing_up_your_purchased_gog_collection_for_full_offline_e/post2876
thaaanks! this works ! https://www.gog.com/forum/general/gogrepopy_python_script_for_regularly_backing_up_your_purchased_gog_collection_for_full_offline_e/post2876
but now after 80 of 600 updates fetched, it timeouts on all subsequent ones...
01:31:43 | ( 80 / 610) fetching game details for cultures...
01:31:46 | ( 81 / 610) fetching game details for cultures_2...
01:31:49 | ( 82 / 610) fetching game details for cyberpunk_2077_game...
01:32:27 | request failed: HTTPSConnectionPool(host='gog-cdn-lumen-cp77.secure2.footprint.net', port=443): Read timed out. (3 retries left) -- will retry in 5s...
01:33:08 | request failed: HTTPSConnectionPool(host='gog-cdn-lumen-cp77.secure2.footprint.net', port=443): Read timed out. (2 retries left) -- will retry in 5s...
01:33:48 | request failed: HTTPSConnectionPool(host='gog-cdn-lumen-cp77.secure2.footprint.net', port=443): Read timed out. (1 retries left) -- will retry in 5s...
01:34:28 |
Traceback (most recent call last):
File "C:\Users\Edh\AppData\Roaming\Python\Python310\site-packages\urllib3\response.py", line 438, in _error_catcher
yield
File "C:\Users\Edh\AppData\Roaming\Python\Python310\site-packages\urllib3\response.py", line 519, in read
data = self._fp.read(amt) if not fp_closed else b""
File "C:\Program Files\Python310\lib\http\client.py", line 465, in read
s = self.fp.read(amt)
File "C:\Program Files\Python310\lib\socket.py", line 705, in readinto
return self._sock.recv_into(b)
File "C:\Program Files\Python310\lib\ssl.py", line 1273, in recv_into
return self.read(nbytes, buffer)
File "C:\Program Files\Python310\lib\ssl.py", line 1129, in read
return self._sslobj.read(len, buffer)
TimeoutError: The read operation timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Edh\AppData\Roaming\Python\Python310\site-packages\requests\models.py", line 758, in generate
for chunk in self.raw.stream(chunk_size, decode_content=True):
File "C:\Users\Edh\AppData\Roaming\Python\Python310\site-packages\urllib3\response.py", line 576, in stream
data = self.read(amt=amt, decode_content=decode_content)
File "C:\Users\Edh\AppData\Roaming\Python\Python310\site-packages\urllib3\response.py", line 512, in read
with self._error_catcher():
File "C:\Program Files\Python310\lib\contextlib.py", line 153, in __exit__
self.gen.throw(typ, value, traceback)
File "C:\Users\Edh\AppData\Roaming\Python\Python310\site-packages\urllib3\response.py", line 443, in _error_catcher
raise ReadTimeoutError(self._pool, None, "Read timed out.")
urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='gog-cdn-lumen-cp77.secure2.footprint.net', port=443): Read timed out.
etc... :(