HeroicGamesLauncher icon indicating copy to clipboard operation
HeroicGamesLauncher copied to clipboard

GOG Game install doesn't complete. `[API] INFO: maximum recursion depth exceeded` seen in logs

Open lapastillaroja opened this issue 1 year ago • 4 comments

Describe the bug

It happened when installing Witcher 3 from GOG. I was able to finish the install by pausing it and restarting.

Add logs

[DOWNLOAD_MANAGER] INFO: Checking compatibility of The Witcher 3: Wild Hunt - Complete Edition with windows
[DOWNLOAD_MANAGER] INFO: Game is compatible
[DOWNLOAD_MANAGER] INFO: Depot version: 2
[DOWNLOAD_MANAGER] INFO: Getting Meta data
[API] INFO: Getting Dependencies repository
[API] INFO: Getting repository manifest
[DOWNLOAD_MANAGER] INFO: Calculating download size
[DOWNLOAD_MANAGER] INFO: Download size: 49.16GB
[DOWNLOAD_MANAGER] INFO: Size on disk: 51.45GB
[DOWNLOAD_MANAGER] INFO: Checking free disk space
[PROGRESS] INFO: = Progress: 0.00 0/52789156873, Running for: 00:00:00, ETA: 00:00:00
[PROGRESS] INFO: = Downloaded: 0.00 MiB, Written: 0.00 MiB
[PROGRESS] INFO:  + Download	- 0.00 MiB/s (raw) / 0.00 MiB/s (decompressed)
[PROGRESS] INFO:  + Disk	- 0.00 MiB/s (write) / 0.00 MiB/s (read)
[PROGRESS] INFO: = Progress: 0.00 24422841/52789156873, Running for: 00:00:01, ETA: 00:00:00
[PROGRESS] INFO: = Downloaded: 23.29 MiB, Written: 23.60 MiB
[PROGRESS] INFO:  + Download	- 23.29 MiB/s (raw) / 0.31 MiB/s (decompressed)
[PROGRESS] INFO:  + Disk	- 23.60 MiB/s (write) / 0.58 MiB/s (read)
[PROGRESS] INFO: = Progress: 0.05 76039175/52789156873, Running for: 00:00:02, ETA: 01:12:09
[PROGRESS] INFO: = Downloaded: 72.52 MiB, Written: 72.83 MiB
[PROGRESS] INFO:  + Download	- 49.17 MiB/s (raw) / 0.00 MiB/s (decompressed)
[PROGRESS] INFO:  + Disk	- 49.17 MiB/s (write) / 28.20 MiB/s (read)
[PROGRESS] INFO: = Progress: 0.14 103302172/52789156873, Running for: 00:00:03, ETA: 00:34:43
[PROGRESS] INFO: = Downloaded: 98.52 MiB, Written: 98.83 MiB
[PROGRESS] INFO:  + Download	- 25.97 MiB/s (raw) / 0.00 MiB/s (decompressed)
[PROGRESS] INFO:  + Disk	- 25.97 MiB/s (write) / 0.00 MiB/s (read)
[PROGRESS] INFO: = Progress: 0.20 153264280/52789156873, Running for: 00:00:04, ETA: 00:34:03
[PROGRESS] INFO: = Downloaded: 146.16 MiB, Written: 158.74 MiB
[PROGRESS] INFO:  + Download	- 47.60 MiB/s (raw) / 12.25 MiB/s (decompressed)
[PROGRESS] INFO:  + Disk	- 59.85 MiB/s (write) / 51.09 MiB/s (read)

Omitted

[PROGRESS] INFO: = Progress: 96.84 51121271386/52789156873, Running for: 00:18:09, ETA: 00:00:35
[PROGRESS] INFO: = Downloaded: 48753.04 MiB, Written: 85083.77 MiB
[PROGRESS] INFO:  + Download	- 0.00 MiB/s (raw) / 9.99 MiB/s (decompressed)
[PROGRESS] INFO:  + Disk	- 9.99 MiB/s (write) / 9.96 MiB/s (read)
[PROGRESS] INFO: = Progress: 96.84 51131730329/52789156873, Running for: 00:18:10, ETA: 00:00:35
[PROGRESS] INFO: = Downloaded: 48763.02 MiB, Written: 85103.74 MiB
[PROGRESS] INFO:  + Download	- 9.96 MiB/s (raw) / 9.99 MiB/s (decompressed)
[PROGRESS] INFO:  + Disk	- 19.95 MiB/s (write) / 19.94 MiB/s (read)
[PROGRESS] INFO: = Progress: 96.86 51142184759/52789156873, Running for: 00:18:11, ETA: 00:00:35
[PROGRESS] INFO: = Downloaded: 48772.99 MiB, Written: 85123.71 MiB
[PROGRESS] INFO:  + Download	- 9.96 MiB/s (raw) / 9.99 MiB/s (decompressed)
[PROGRESS] INFO:  + Disk	- 19.95 MiB/s (write) / 19.95 MiB/s (read)
[API] INFO: maximum recursion depth exceeded while calling a Python object
[API] INFO: maximum recursion depth exceeded while calling a Python object
[PROGRESS] INFO: = Progress: 96.88 51152615589/52789156873, Running for: 00:18:12, ETA: 00:00:35
[PROGRESS] INFO: = Downloaded: 48782.94 MiB, Written: 85133.66 MiB
[PROGRESS] INFO:  + Download	- 9.94 MiB/s (raw) / 0.00 MiB/s (decompressed)
[PROGRESS] INFO:  + Disk	- 9.94 MiB/s (write) / 9.94 MiB/s (read)
[API] INFO: maximum recursion depth exceeded while calling a Python object
[API] INFO: maximum recursion depth exceeded while calling a Python object
[PROGRESS] INFO: = Progress: 96.90 51152615589/52789156873, Running for: 00:18:13, ETA: 00:00:34
[PROGRESS] INFO: = Downloaded: 48782.94 MiB, Written: 85153.66 MiB
[PROGRESS] INFO:  + Download	- 0.00 MiB/s (raw) / 19.98 MiB/s (decompressed)
[PROGRESS] INFO:  + Disk	- 19.98 MiB/s (write) / 19.98 MiB/s (read)
[API] INFO: maximum recursion depth exceeded while calling a Python object
[API] INFO: maximum recursion depth exceeded
[API] INFO: maximum recursion depth exceeded in comparison
[API] INFO: maximum recursion depth exceeded
[API] INFO: maximum recursion depth exceeded
[PROGRESS] INFO: = Progress: 96.90 51152615589/52789156873, Running for: 00:18:14, ETA: 00:00:35
[PROGRESS] INFO: = Downloaded: 48782.94 MiB, Written: 85153.66 MiB
[PROGRESS] INFO:  + Download	- 0.00 MiB/s (raw) / 0.00 MiB/s (decompressed)
[PROGRESS] INFO:  + Disk	- 0.00 MiB/s (write) / 0.00 MiB/s (read)
[API] INFO: maximum recursion depth exceeded in comparison
[API] INFO: maximum recursion depth exceeded in comparison
[API] INFO: maximum recursion depth exceeded in comparison
[API] INFO: maximum recursion depth exceeded while calling a Python object
[PROGRESS] INFO: = Progress: 96.90 51152615589/52789156873, Running for: 00:18:15, ETA: 00:00:35
[PROGRESS] INFO: = Downloaded: 48782.94 MiB, Written: 85163.66 MiB
[PROGRESS] INFO:  + Download	- 0.00 MiB/s (raw) / 9.99 MiB/s (decompressed)
[PROGRESS] INFO:  + Disk	- 9.99 MiB/s (write) / 9.98 MiB/s (read)
[PROGRESS] INFO: = Progress: 96.90 51152615589/52789156873, Running for: 00:18:16, ETA: 00:00:35
[PROGRESS] INFO: = Downloaded: 48782.94 MiB, Written: 85173.66 MiB
[PROGRESS] INFO:  + Download	- 0.00 MiB/s (raw) / 9.99 MiB/s (decompressed)
[PROGRESS] INFO:  + Disk	- 9.99 MiB/s (write) / 9.97 MiB/s (read)
[PROGRESS] INFO: = Progress: 96.90 51152615589/52789156873, Running for: 00:18:17, ETA: 00:00:35
[PROGRESS] INFO: = Downloaded: 48782.94 MiB, Written: 85173.66 MiB
[PROGRESS] INFO:  + Download	- 0.00 MiB/s (raw) / 0.00 MiB/s (decompressed)
[PROGRESS] INFO:  + Disk	- 0.00 MiB/s (write) / 0.00 MiB/s (read)
[PROGRESS] INFO: = Progress: 96.90 51152615589/52789156873, Running for: 00:18:18, ETA: 00:00:35
[PROGRESS] INFO: = Downloaded: 48782.94 MiB, Written: 85183.66 MiB
[PROGRESS] INFO:  + Download	- 0.00 MiB/s (raw) / 9.99 MiB/s (decompressed)
[PROGRESS] INFO:  + Disk	- 9.99 MiB/s (write) / 9.96 MiB/s (read)
[PROGRESS] INFO: = Progress: 96.90 51152615589/52789156873, Running for: 00:18:19, ETA: 00:00:35
[PROGRESS] INFO: = Downloaded: 48782.94 MiB, Written: 85183.66 MiB
[PROGRESS] INFO:  + Download	- 0.00 MiB/s (raw) / 0.00 MiB/s (decompressed)
[PROGRESS] INFO:  + Disk	- 0.00 MiB/s (write) / 0.00 MiB/s (read)

Steps to reproduce

  1. Install Heroic using Flatpak
  2. Log in GOG
  3. Install Witcher 3
  4. Wait until download freezes
  5. Check logs

Expected behavior

Download should complete.

Screenshots

No response

Heroic Version

Latest Stable (Flatpak)

System Information

CPU: 16x AMD Ryzen 7 3700X 8-Core Processor
Memory: 16.65 GB (used: 10.06 GB)
GPUs:
  GPU 0:
    Name: Advanced Micro Devices, Inc. [AMD/ATI] Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT]
    IDs: D=73df V=1002 SD=5209 SV=1849
    Driver: amdgpu
OS: Fedora Linux 38 (Workstation Edition) (linux)

The current system is not a Steam Deck
We are running inside a Flatpak container

Software Versions:
  Heroic: 2.10.0 Jewelry Bonney
  Legendary: 0.20.33 Undue Alarm
  gogdl: 0.7.3
  Nile: 1.0.0 Jonathan Joestar

Additional information

No response

lapastillaroja avatar Nov 08 '23 05:11 lapastillaroja

@lapastillaroja can you confirm if this still happens or if it got fixed in the latest 2.13.0 release? it included a massive GOG handling refactor

arielj avatar Feb 13 '24 18:02 arielj

Same problem here, trying to Install Cyberpunk 2077.

Expand Log

[API] INFO: Getting Dependencies repository
[REDIST] INFO: Nothing to do
[2/23/2024, 10:03:55 PM] GOGDL_CONFIG_PATH="/Users/malstrond/Library/Application Support/heroic/gogdlConfig" /Applications/Heroic.app/Contents/Resources/app.asar.unpacked/build/bin/darwin/gogdl --auth-config-path "/Users/malstrond/Library/Application Support/heroic/gog_store/auth.json" auth
[2/23/2024, 10:03:55 PM] GOGDL_CONFIG_PATH="/Users/malstrond/Library/Application Support/heroic/gogdlConfig" /Applications/Heroic.app/Contents/Resources/app.asar.unpacked/build/bin/darwin/gogdl --auth-config-path "/Users/malstrond/Library/Application Support/heroic/gog_store/auth.json" auth
{"access_token":"<redacted>","expires_in":3600,"token_type":"bearer","scope":"","session_id":"<redacted>","refresh_token":"<redacted>","user_id":"<redacted>","loginTime":1708721811.598926}
[2/23/2024, 10:03:59 PM] GOGDL_CONFIG_PATH="/Users/malstrond/Library/Application Support/heroic/gogdlConfig" /Applications/Heroic.app/Contents/Resources/app.asar.unpacked/build/bin/darwin/gogdl --auth-config-path "/Users/malstrond/Library/Application Support/heroic/gog_store/auth.json" download 1423049311 --platform windows --path /Users/malstrond/Games/Heroic --support "/Users/malstrond/Library/Application Support/heroic/gogdlConfig/heroic_gogdl/gog-support/1423049311" --with-dlcs --dlcs 1256837418 --lang en-US
[2/23/2024, 10:03:59 PM] GOGDL_CONFIG_PATH="/Users/malstrond/Library/Application Support/heroic/gogdlConfig" /Applications/Heroic.app/Contents/Resources/app.asar.unpacked/build/bin/darwin/gogdl --auth-config-path "/Users/malstrond/Library/Application Support/heroic/gog_store/auth.json" auth
[2/23/2024, 10:03:59 PM] GOGDL_CONFIG_PATH="/Users/malstrond/Library/Application Support/heroic/gogdlConfig" /Applications/Heroic.app/Contents/Resources/app.asar.unpacked/build/bin/darwin/gogdl --auth-config-path "/Users/malstrond/Library/Application Support/heroic/gog_store/auth.json" auth
{"access_token":"<redacted>","expires_in":3600,"token_type":"bearer","scope":"","session_id":"<redacted>","refresh_token":"<redacted>","user_id":"<redacted>","loginTime":1708721811.598926}
[GENERIC DOWNLOAD_MANAGER] INFO: Depot version: 2
[V2] INFO: Initialized V2 Download Manager
[2/23/2024, 10:04:02 PM] GOGDL_CONFIG_PATH="/Users/malstrond/Library/Application Support/heroic/gogdlConfig" /Applications/Heroic.app/Contents/Resources/app.asar.unpacked/build/bin/darwin/gogdl --auth-config-path "/Users/malstrond/Library/Application Support/heroic/gog_store/auth.json" auth
[V2] INFO: Requested dlcs 1256837418
[V2] INFO: Owned dlcs [{'title': 'Cyberpunk 2077: Phantom Liberty', 'id': '1256837418'}]
[V2] INFO: Deleted: 0 New: 180 Changed: 0
[API] INFO: Getting Dependencies repository
{"access_token":"<redacted>","expires_in":3600,"token_type":"bearer","scope":"","session_id":"<redacted>","refresh_token":"<redacted>","user_id":"<redacted>","loginTime":1708721811.598926}
Traceback (most recent call last):
  File "gogdl/dl/dl_utils.py", line 64, in get_secure_link
  File "requests/api.py", line 73, in get
  File "requests/api.py", line 59, in request
  File "requests/sessions.py", line 589, in request
  File "requests/sessions.py", line 703, in send
  File "requests/adapters.py", line 486, in send
  File "urllib3/connectionpool.py", line 793, in urlopen
  File "urllib3/connectionpool.py", line 537, in _make_request
  File "urllib3/connection.py", line 466, in getresponse
  File "http/client.py", line 1377, in getresponse
  File "http/client.py", line 339, in begin
  File "http/client.py", line 238, in parse_headers
  File "email/parser.py", line 67, in parsestr
  File "email/parser.py", line 56, in parse
  File "email/feedparser.py", line 176, in feed
  File "email/feedparser.py", line 180, in _call_parse
  File "email/feedparser.py", line 295, in _parsegen
  File "email/message.py", line 594, in get_content_maintype
  File "email/message.py", line 578, in get_content_type
  File "email/message.py", line 471, in get
  File "email/_policybase.py", line 316, in header_fetch_parse
  File "email/_policybase.py", line 287, in _sanitize_header
  File "email/utils.py", line 57, in _has_surrogates
RecursionError: maximum recursion depth exceeded while calling a Python object

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "gogdl/dl/dl_utils.py", line 64, in get_secure_link
  File "requests/api.py", line 73, in get
  File "requests/api.py", line 59, in request
  File "requests/sessions.py", line 589, in request
  File "requests/sessions.py", line 703, in send
  File "requests/adapters.py", line 486, in send
  File "urllib3/connectionpool.py", line 793, in urlopen
  File "urllib3/connectionpool.py", line 537, in _make_request
  File "urllib3/connection.py", line 466, in getresponse
  File "http/client.py", line 1377, in getresponse
  File "http/client.py", line 339, in begin
  File "http/client.py", line 238, in parse_headers
  File "email/parser.py", line 67, in parsestr
  File "email/parser.py", line 56, in parse
  File "email/feedparser.py", line 176, in feed
  File "email/feedparser.py", line 180, in _call_parse
  File "email/feedparser.py", line 256, in _parsegen
  File "email/message.py", line 578, in get_content_type
  File "email/message.py", line 471, in get
  File "email/_policybase.py", line 316, in header_fetch_parse
  File "email/_policybase.py", line 287, in _sanitize_header
  File "email/utils.py", line 57, in _has_surrogates
RecursionError: maximum recursion depth exceeded while calling a Python object

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "gogdl/dl/dl_utils.py", line 64, in get_secure_link
  File "requests/api.py", line 73, in get
  File "requests/api.py", line 59, in request
  File "requests/sessions.py", line 589, in request
  File "requests/sessions.py", line 703, in send
  File "requests/adapters.py", line 486, in send
  File "urllib3/connectionpool.py", line 793, in urlopen
  File "urllib3/connectionpool.py", line 537, in _make_request
  File "urllib3/connection.py", line 466, in getresponse
  File "http/client.py", line 1377, in getresponse
  File "http/client.py", line 339, in begin
  File "http/client.py", line 238, in parse_headers
  File "email/parser.py", line 67, in parsestr
  File "email/parser.py", line 56, in parse
  File "email/feedparser.py", line 176, in feed
  File "email/feedparser.py", line 180, in _call_parse
  File "email/feedparser.py", line 256, in _parsegen
  File "email/message.py", line 578, in get_content_type
  File "email/message.py", line 471, in get
  File "email/_policybase.py", line 316, in header_fetch_parse
  File "email/_policybase.py", line 284, in _sanitize_header
RecursionError: maximum recursion depth exceeded while calling a Python object

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "gogdl/dl/dl_utils.py", line 64, in get_secure_link
  File "requests/api.py", line 73, in get
  File "requests/api.py", line 59, in request
  File "requests/sessions.py", line 589, in request
  File "requests/sessions.py", line 703, in send
  File "requests/adapters.py", line 486, in send
  File "urllib3/connectionpool.py", line 793, in urlopen
  File "urllib3/connectionpool.py", line 537, in _make_request
  File "urllib3/connection.py", line 466, in getresponse
  File "http/client.py", line 1377, in getresponse
  File "http/client.py", line 339, in begin
  File "http/client.py", line 238, in parse_headers
  File "email/parser.py", line 67, in parsestr
  File "email/parser.py", line 56, in parse
  File "email/feedparser.py", line 176, in feed
  File "email/feedparser.py", line 180, in _call_parse
  File "email/feedparser.py", line 224, in _parsegen
  File "email/feedparser.py", line 129, in __next__
  File "email/feedparser.py", line 89, in readline
RecursionError: maximum recursion depth exceeded while calling a Python object

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "gogdl/dl/dl_utils.py", line 64, in get_secure_link
  File "requests/api.py", line 73, in get
  File "requests/api.py", line 59, in request
  File "requests/sessions.py", line 589, in request
  File "requests/sessions.py", line 703, in send
  File "requests/adapters.py", line 454, in send
  File "requests/adapters.py", line 356, in get_connection
  File "urllib3/poolmanager.py", line 371, in connection_from_url
  File "urllib3/poolmanager.py", line 304, in connection_from_host
  File "urllib3/poolmanager.py", line 329, in connection_from_context
  File "urllib3/poolmanager.py", line 352, in connection_from_pool_key
  File "urllib3/poolmanager.py", line 266, in _new_pool
  File "urllib3/connectionpool.py", line 1010, in __init__
  File "urllib3/connectionpool.py", line 192, in __init__
  File "urllib3/connectionpool.py", line 86, in __init__
  File "urllib3/connectionpool.py", line 1158, in _normalize_host
  File "urllib3/util/url.py", line 326, in _normalize_host
  File "urllib3/util/url.py", line 326, in <listcomp>
  File "urllib3/util/url.py", line 333, in _idna_encode
RecursionError: maximum recursion depth exceeded while calling a Python object

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "gogdl/dl/dl_utils.py", line 64, in get_secure_link
  File "requests/api.py", line 73, in get
  File "requests/api.py", line 59, in request
  File "requests/sessions.py", line 589, in request
  File "requests/sessions.py", line 703, in send
  File "requests/adapters.py", line 454, in send
  File "requests/adapters.py", line 356, in get_connection
  File "urllib3/poolmanager.py", line 371, in connection_from_url
  File "urllib3/poolmanager.py", line 304, in connection_from_host
  File "urllib3/poolmanager.py", line 329, in connection_from_context
  File "urllib3/poolmanager.py", line 352, in connection_from_pool_key
  File "urllib3/poolmanager.py", line 266, in _new_pool
  File "urllib3/connectionpool.py", line 1010, in __init__
  File "urllib3/connectionpool.py", line 192, in __init__
  File "urllib3/connectionpool.py", line 86, in __init__
  File "urllib3/connectionpool.py", line 1158, in _normalize_host
  File "urllib3/util/url.py", line 326, in _normalize_host
  File "urllib3/util/url.py", line 326, in <listcomp>
RecursionError: maximum recursion depth exceeded

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "gogdl/dl/dl_utils.py", line 64, in get_secure_link
  File "requests/api.py", line 73, in get
  File "requests/api.py", line 59, in request
  File "requests/sessions.py", line 589, in request
  File "requests/sessions.py", line 703, in send
  File "requests/adapters.py", line 454, in send
  File "requests/adapters.py", line 356, in get_connection
  File "urllib3/poolmanager.py", line 371, in connection_from_url
  File "urllib3/poolmanager.py", line 304, in connection_from_host
  File "urllib3/poolmanager.py", line 329, in connection_from_context
  File "urllib3/poolmanager.py", line 352, in connection_from_pool_key
  File "urllib3/poolmanager.py", line 266, in _new_pool
  File "urllib3/connectionpool.py", line 1010, in __init__
  File "urllib3/connectionpool.py", line 192, in __init__
  File "urllib3/connectionpool.py", line 86, in __init__
  File "urllib3/connectionpool.py", line 1158, in _normalize_host
  File "urllib3/util/url.py", line 305, in _normalize_host
RecursionError: maximum recursion depth exceeded in comparison

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "gogdl/dl/dl_utils.py", line 64, in get_secure_link
  File "requests/api.py", line 73, in get
  File "requests/api.py", line 59, in request
  File "requests/sessions.py", line 589, in request
  File "requests/sessions.py", line 703, in send
  File "requests/adapters.py", line 454, in send
  File "requests/adapters.py", line 356, in get_connection
  File "urllib3/poolmanager.py", line 371, in connection_from_url
  File "urllib3/poolmanager.py", line 304, in connection_from_host
  File "urllib3/poolmanager.py", line 329, in connection_from_context
  File "urllib3/poolmanager.py", line 352, in connection_from_pool_key
  File "urllib3/poolmanager.py", line 266, in _new_pool
  File "urllib3/connectionpool.py", line 1010, in __init__
  File "urllib3/connectionpool.py", line 192, in __init__
  File "urllib3/connectionpool.py", line 86, in __init__
  File "urllib3/connectionpool.py", line 1158, in _normalize_host
RecursionError: maximum recursion depth exceeded

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "gogdl/dl/dl_utils.py", line 64, in get_secure_link
  File "requests/api.py", line 73, in get
  File "requests/api.py", line 59, in request
  File "requests/sessions.py", line 589, in request
  File "requests/sessions.py", line 703, in send
  File "requests/adapters.py", line 454, in send
  File "requests/adapters.py", line 356, in get_connection
  File "urllib3/poolmanager.py", line 371, in connection_from_url
  File "urllib3/poolmanager.py", line 304, in connection_from_host
  File "urllib3/poolmanager.py", line 329, in connection_from_context
  File "urllib3/poolmanager.py", line 352, in connection_from_pool_key
  File "urllib3/poolmanager.py", line 266, in _new_pool
  File "urllib3/connectionpool.py", line 1010, in __init__
  File "urllib3/connectionpool.py", line 192, in __init__
  File "urllib3/connectionpool.py", line 86, in __init__
RecursionError: maximum recursion depth exceeded

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "gogdl/dl/dl_utils.py", line 64, in get_secure_link
  File "requests/api.py", line 73, in get
  File "requests/api.py", line 59, in request
  File "requests/sessions.py", line 575, in request
  File "requests/sessions.py", line 486, in prepare_request
  File "requests/models.py", line 369, in prepare
  File "requests/models.py", line 487, in prepare_headers
  File "requests/structures.py", line 44, in __init__
  File "_collections_abc.py", line 939, in update
  File "abc.py", line 119, in __instancecheck__
RecursionError: maximum recursion depth exceeded in comparison

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "gogdl/dl/dl_utils.py", line 64, in get_secure_link
  File "requests/api.py", line 73, in get
  File "requests/api.py", line 58, in request
  File "requests/sessions.py", line 396, in __init__
  File "requests/utils.py", line 902, in default_headers
  File "requests/structures.py", line 44, in __init__
  File "_collections_abc.py", line 939, in update
  File "abc.py", line 119, in __instancecheck__
RecursionError: maximum recursion depth exceeded in comparison

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "gogdl/dl/dl_utils.py", line 64, in get_secure_link
  File "requests/api.py", line 73, in get
  File "requests/api.py", line 58, in request
  File "requests/sessions.py", line 396, in __init__
  File "requests/utils.py", line 902, in default_headers
  File "requests/structures.py", line 44, in __init__
  File "_collections_abc.py", line 939, in update
  File "abc.py", line 119, in __instancecheck__
RecursionError: maximum recursion depth exceeded in comparison

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "gogdl/dl/dl_utils.py", line 64, in get_secure_link
  File "requests/api.py", line 73, in get
  File "requests/api.py", line 58, in request
  File "requests/sessions.py", line 396, in __init__
  File "requests/utils.py", line 902, in default_headers
  File "requests/structures.py", line 44, in __init__
  File "_collections_abc.py", line 939, in update
  File "abc.py", line 119, in __instancecheck__
RecursionError: maximum recursion depth exceeded while calling a Python object

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "gogdl/dl/dl_utils.py", line 64, in get_secure_link
  File "requests/api.py", line 73, in get
  File "requests/api.py", line 58, in request
  File "requests/sessions.py", line 396, in __init__
  File "requests/utils.py", line 902, in default_headers
  File "requests/structures.py", line 44, in __init__
  File "_collections_abc.py", line 939, in update
RecursionError: maximum recursion depth exceeded

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "gogdl/dl/dl_utils.py", line 64, in get_secure_link
  File "requests/api.py", line 73, in get
  File "requests/api.py", line 58, in request
  File "requests/sessions.py", line 396, in __init__
  File "requests/utils.py", line 902, in default_headers
  File "requests/structures.py", line 44, in __init__
  File "_collections_abc.py", line 939, in update
RecursionError: maximum recursion depth exceeded in __instancecheck__

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "gogdl/dl/dl_utils.py", line 64, in get_secure_link
  File "requests/api.py", line 73, in get
  File "requests/api.py", line 58, in request
  File "requests/sessions.py", line 396, in __init__
  File "requests/utils.py", line 902, in default_headers
  File "requests/structures.py", line 44, in __init__
  File "_collections_abc.py", line 939, in update
RecursionError: maximum recursion depth exceeded while calling a Python object

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "gogdl/dl/dl_utils.py", line 64, in get_secure_link
  File "requests/api.py", line 73, in get
  File "requests/api.py", line 58, in request
  File "requests/sessions.py", line 396, in __init__
  File "requests/utils.py", line 902, in default_headers
  File "requests/structures.py", line 41, in __init__
RecursionError: maximum recursion depth exceeded while calling a Python object

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "gogdl/dl/dl_utils.py", line 64, in get_secure_link
  File "requests/api.py", line 73, in get
  File "requests/api.py", line 58, in request
  File "requests/sessions.py", line 396, in __init__
  File "requests/utils.py", line 902, in default_headers
RecursionError: maximum recursion depth exceeded

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "gogdl/dl/dl_utils.py", line 64, in get_secure_link
  File "requests/api.py", line 73, in get
  File "requests/api.py", line 58, in request
  File "requests/sessions.py", line 396, in __init__
  File "requests/utils.py", line 904, in default_headers
RecursionError: maximum recursion depth exceeded

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "gogdl/dl/dl_utils.py", line 64, in get_secure_link
  File "requests/api.py", line 73, in get
  File "requests/api.py", line 58, in request
  File "requests/sessions.py", line 396, in __init__
RecursionError: maximum recursion depth exceeded

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "gogdl/dl/dl_utils.py", line 64, in get_secure_link
  File "requests/api.py", line 73, in get
  File "requests/api.py", line 58, in request
RecursionError: maximum recursion depth exceeded

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "gogdl/dl/dl_utils.py", line 64, in get_secure_link
  File "requests/api.py", line 73, in get
  File "requests/api.py", line 58, in request
RecursionError: maximum recursion depth exceeded while calling a Python object

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "gogdl/dl/dl_utils.py", line 64, in get_secure_link
  File "requests/api.py", line 73, in get
RecursionError: maximum recursion depth exceeded in comparison

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "gogdl/cli.py", line 67, in <module>
  File "gogdl/cli.py", line 62, in main
  File "gogdl/dl/managers/manager.py", line 67, in download
  File "gogdl/dl/managers/v2.py", line 167, in download
  File "gogdl/dl/dl_utils.py", line 75, in get_secure_link
  File "gogdl/dl/dl_utils.py", line 75, in get_secure_link
  File "gogdl/dl/dl_utils.py", line 75, in get_secure_link
  [Previous line repeated 969 more times]
  File "gogdl/dl/dl_utils.py", line 69, in get_secure_link
  File "gogdl/dl/dl_utils.py", line 69, in get_secure_link
  File "gogdl/dl/dl_utils.py", line 69, in get_secure_link
  [Previous line repeated 20 more times]
  File "gogdl/dl/dl_utils.py", line 56, in get_secure_link
RecursionError: maximum recursion depth exceeded in comparison
[25967] Failed to execute script 'cli' due to unhandled exception!
[2/23/2024, 10:10:04 PM] GOGDL_CONFIG_PATH="/Users/malstrond/Library/Application Support/heroic/gogdlConfig" /Applications/Heroic.app/Contents/Resources/app.asar.unpacked/build/bin/darwin/gogdl --auth-config-path "/Users/malstrond/Library/Application Support/heroic/gog_store/auth.json" auth
{"access_token":"<redacted>","expires_in":3600,"token_type":"bearer","scope":"","session_id":"<redacted>","refresh_token":"<redacted>","user_id":"<redacted>","loginTime":1708721811.598926}
[2/23/2024, 10:10:09 PM] GOGDL_CONFIG_PATH="/Users/malstrond/Library/Application Support/heroic/gogdlConfig" /Applications/Heroic.app/Contents/Resources/app.asar.unpacked/build/bin/darwin/gogdl --auth-config-path "/Users/malstrond/Library/Application Support/heroic/gog_store/auth.json" auth
{"access_token":"<redacted>","expires_in":3600,"token_type":"bearer","scope":"","session_id":"<redacted>","refresh_token":"<redacted>","user_id":"<redacted>","loginTime":1708721811.598926}

Warudo avatar Feb 23 '24 21:02 Warudo

I was able to install it recently but not sure what version of Heroic it was. I'll check it later and let you know

lapastillaroja avatar Feb 26 '24 00:02 lapastillaroja

2.13.0 flatpak - Downloading the latest Cyberpunk 2077 1.75GB update from GoG. The download got to 99.91% with 0 seconds left then froze there. Everything looked good just all processes stopped. Paused and resumed as above. The download reset to 0% and has frozen. No progress after several minutes.

There's 18 gogdl processes running totalling ~28GB of RAM in use even when Heroic is closed, all pointing to "gog_store/auth.js". Ended them all, ensured all other Heroic processes were closed and reopened it. Epic games was disconnected, the Cyberpunk update started again, but still stuck on 0%.

Closed Heroic again, there's 5 gogdl processes with a memory leak. Increasing by around 100MB/s.

(19:31:47) INFO:    [Gog]:              Progress for Cyberpunk 2077: 99.91%/1746.76MB/00:00:00 Down: 0MB/s / Disk: 0MB/s

(19:31:48) INFO:    [Gog]:              Progress for Cyberpunk 2077: 99.91%/1746.76MB/00:00:00 Down: 0MB/s / Disk: 0MB/s

(19:31:48) INFO:    [Gog]:              Abort command "GOGDL_CONFIG_PATH=/home/gamertech/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl --auth-config-path /home/gamertech/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json update 1423049311 --platform windows --path "/mnt/games/Heroic/Cyberpunk 2077" --support /home/gamertech/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig/heroic_gogdl/gog-support/1423049311 --with-dlcs --lang en-US --dlcs 1597316373 --max-workers 8"

(19:31:48) INFO:    [DownloadManager]:  Finished Update of 1423049311

(19:31:48) INFO:    [Gog]:              Progress for Cyberpunk 2077: 99.91%/1746.76MB/00:00:00 Down: 0MB/s / Disk: 0MB/s

(19:31:48) INFO:    [Frontend]:         Refreshing gog Library

(19:31:48) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/gamertech/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl --auth-config-path /home/gamertech/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json auth

(19:31:49) INFO:    [Gog]:              Getting GOG library

(19:31:49) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/gamertech/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl --auth-config-path /home/gamertech/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json auth

(19:31:50) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/gamertech/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl --auth-config-path /home/gamertech/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json auth

(19:31:50) INFO:    [Backend]:          Preventing machine to sleep

(19:31:50) INFO:    [Gog]:              Updating 1423049311: GOGDL_CONFIG_PATH=/home/gamertech/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl --auth-config-path /home/gamertech/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json update 1423049311 --platform windows --path "/mnt/games/Heroic/Cyberpunk 2077" --support /home/gamertech/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig/heroic_gogdl/gog-support/1423049311 --with-dlcs --lang en-US --dlcs 1597316373 --max-workers 8

Edit: Tried again today after cold start and several reboots. On load Heroic spawned the same gogdl processes, began the auto-update with 0 progress shown, but the processes still had their giant memory leak that ate up 32GB of RAM plus zram.

Disabling auto-updates and launching Heroic again did not create the gogdl processes and everything ran normally.

GamertechAU avatar Mar 01 '24 08:03 GamertechAU