HeroicGamesLauncher icon indicating copy to clipboard operation
HeroicGamesLauncher copied to clipboard

Cannot get game info

Open FaresbenHassen1 opened this issue 6 months ago • 2 comments

Describe the bug

Heroic version: 2.17.1-beta.0 (latest) I cannot open any game from my library, each time i click on any game it would broken heart error with "Cannot get game info" along with refresh library button, clear Heroic cache button and reset heroic button. I've tried all 3 of them yet none of them actually does something the error remains nothing changes. This error started a day ago or so when it got updated to version 2.17.0, before that i could play any game from my library, now i cant even download it.

Add logs

(11:05:48) INFO:    [Legendary]:        Legendary location: /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/legendary

(11:05:48) INFO:    [Gog]:              GOGDL location: /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl

(11:05:48) INFO:    [Connection]:       Connectivity: check-online

(11:05:48) INFO:    [Connection]:       Pinging external endpoints

(11:05:48) INFO:    [Gog]:              Checking for existing gog manifests

(11:05:49) WARNING: [Backend]:          Protocol already registered.

(11:05:49) INFO:    [Legendary]:        Running command: LEGENDARY_CONFIG_PATH=/home/mohamed/.config/heroic/legendaryConfig/legendary /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/legendary --version

(11:05:49) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/mohamed/.config/heroic/gogdlConfig /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/mohamed/.config/heroic/gog_store/auth.json --version

(11:05:49) INFO:    [Nile]:             Running command: NILE_CONFIG_PATH=/home/mohamed/.config/heroic/nile_config /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/nile --version

(11:05:49) INFO:    [Connection]:       Connectivity: online

(11:05:49) ERROR:   [Gog]:              Unable to syncQueued playtime, userData not present

(11:05:49) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/mohamed/.config/heroic/gogdlConfig /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/mohamed/.config/heroic/gog_store/auth.json auth

(11:05:49) INFO:    [Backend]:          AreWeAntiCheatYet data downloaded

(11:05:49) INFO:    [Backend]:          

System Information:

CPU: 16x Intel(R) Core(TM) i7-10870H CPU @ 2.20GHz

Memory: 33.42 GB (used: 7.58 GB)

GPUs:

  GPU 0:

    Name: NVIDIA Corporation GA107M [GeForce RTX 3050 Mobile]

    IDs: D=25a2 V=10de SD=0a64 SV=1028

    Driver: nvidia

  GPU 1:

    Name: Intel Corporation CometLake-H GT2 [UHD Graphics]

    IDs: D=9bc4 V=8086 SD=0a64 SV=1028

    Driver: i915

OS: Ubuntu 20.04.6 LTS (Focal Fossa) (linux)

The current system is not a Steam Deck

We are not running inside a Flatpak container

Software Versions:

  Heroic: 2.17.1-beta.0 Caesar Clown

  Legendary: invalid

  gogdl: 1.1.2

  comet: 

  Nile: 1.1.2 Will A. Zeppeli

(11:05:49) INFO:    [Frontend]:         Refreshing undefined Library

(11:05:49) WARNING: [Backend]:          refresh not implemented on Sideload Library Manager

(11:05:49) INFO:    [Legendary]:        Refreshing library...

(11:05:49) INFO:    [Legendary]:        Refreshing Epic Games...

(11:05:49) INFO:    [Backend]:          Frontend Ready

(11:05:49) INFO:    [Backend]:          Checking for new Heroic Updates

(11:05:49) INFO:    [Legendary]:        Running command: LEGENDARY_CONFIG_PATH=/home/mohamed/.config/heroic/legendaryConfig/legendary /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/legendary list --third-party

(11:05:49) INFO:    [Backend]:          Checking for current version changelog

(11:05:49) INFO:    [Legendary]:        Game list updated, got 121 games & DLCs

(11:05:50) WARNING: [Backend]:          listUpdateableGames not implemented on Sideload Library Manager

(11:05:50) INFO:    [Legendary]:        Checking for game updates: LEGENDARY_CONFIG_PATH=/home/mohamed/.config/heroic/legendaryConfig/legendary /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/legendary list --third-party

(11:05:50) INFO:    [Legendary]:        Found 0 games to update

(11:05:51) INFO:    [Winetricks]:       Downloading Winetricks

(11:05:54) INFO:    [WineDownloader]:   Updating wine versions info

(11:05:54) INFO:    [WineDownloader]:   Fetching upstream information...

(11:05:54) INFO:    [Backend]:          Starting the Download Queue

(11:05:55) INFO:    [WineDownloader]:   wine versions updated

(11:06:07) INFO:    [ExtraGameInfo]:    Getting ExtraGameInfo data for Ghostrunner

(11:06:07) INFO:    [ExtraGameInfo]:    Getting PCGamingWiki data for Ghostrunner

(11:06:07) INFO:    [ExtraGameInfo]:    Getting HowLongToBeat data for Ghostrunner

(11:06:07) INFO:    [ExtraGameInfo]:    Getting GamesDB data for Ghostrunner

(11:06:08) INFO:    [ExtraGameInfo]:    Getting ExtraGameInfo data for Ghostrunner

(11:06:08) INFO:    [ExtraGameInfo]:    Getting PCGamingWiki data for Ghostrunner

(11:06:08) INFO:    [ExtraGameInfo]:    Getting HowLongToBeat data for Ghostrunner

(11:06:08) INFO:    [ExtraGameInfo]:    Getting GamesDB data for Ghostrunner

(11:06:08) INFO:    [Legendary]:        Getting more details with 'legendary info'

(11:06:08) INFO:    [Legendary]:        Getting more details with 'legendary info'

(11:06:08) INFO:    [Legendary]:        Running command: LEGENDARY_CONFIG_PATH=/home/mohamed/.config/heroic/legendaryConfig/legendary /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/legendary info ea8df71f923649a193ab1c1fded7e1b3 --json --platform Windows

(11:06:08) INFO:    [Legendary]:        Running command: LEGENDARY_CONFIG_PATH=/home/mohamed/.config/heroic/legendaryConfig/legendary /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/legendary info ea8df71f923649a193ab1c1fded7e1b3 --json --platform Windows

(11:06:08) ERROR:   [Legendary]:        Error: Failed to parse install info for ea8df71f923649a193ab1c1fded7e1b3 with: SyntaxError: Unexpected end of JSON input

    at Module.Sn (/opt/Heroic/resources/app.asar/build/main/main.js:133:3103)

    at /opt/Heroic/resources/app.asar/build/main/main.js:197:3418

    at Session.<anonymous> (node:electron/js2c/browser_init:2:106823)

(11:06:08) ERROR:   [Legendary]:        Error: Failed to parse install info for ea8df71f923649a193ab1c1fded7e1b3 with: SyntaxError: Unexpected end of JSON input

    at Module.Sn (/opt/Heroic/resources/app.asar/build/main/main.js:133:3103)

    at /opt/Heroic/resources/app.asar/build/main/main.js:197:3418

    at Session.<anonymous> (node:electron/js2c/browser_init:2:106823)

(11:06:08) ERROR:   [Frontend]:         Cannot get game info

(11:06:08) ERROR:   [Frontend]:         Cannot get game info

(11:06:08) ERROR:   [Frontend]:         Cannot get game info

(11:06:08) INFO:    [Legendary]:        Getting Info from Epic API

(11:06:08) ERROR:   [Frontend]:         Cannot get game info

(11:06:09) DEBUG:   [Backend]:          ProtonDB data for 1139900 {"bestReportedTier":"platinum","confidence":"strong","score":0.81,"tier":"platinum","total":202,"trendingTier":"gold"}

(11:06:09) DEBUG:   [Backend]:          ProtonDB data for 1139900 {"bestReportedTier":"platinum","confidence":"strong","score":0.81,"tier":"platinum","total":202,"trendingTier":"gold"}

(11:06:09) DEBUG:   [Backend]:          SteamDeck data for 1139900 {"success":1,"results":{"appid":1139900,"resolved_category":2,"resolved_items":[{"display_type":3,"loc_token":"#SteamDeckVerified_TestResult_InterfaceTextIsNotLegible"},{"display_type":4,"loc_token":"#SteamDeckVerified_TestResult_DefaultControllerConfigFullyFunctional"},{"display_type":4,"loc_token":"#SteamDeckVerified_TestResult_ControllerGlyphsMatchDeckDevice"},{"display_type":4,"loc_token":"#SteamDeckVerified_TestResult_DefaultConfigurationIsPerformant"}],"steam_deck_blog_url":"","search_id":null,"steamos_resolved_category":2,"steamos_resolved_items":[{"display_type":3,"loc_token":"#SteamOS_TestResult_GameStartupFunctional"}]}}

(11:06:10) DEBUG:   [Backend]:          SteamDeck data for 1139900 {"success":1,"results":{"appid":1139900,"resolved_category":2,"resolved_items":[{"display_type":3,"loc_token":"#SteamDeckVerified_TestResult_InterfaceTextIsNotLegible"},{"display_type":4,"loc_token":"#SteamDeckVerified_TestResult_DefaultControllerConfigFullyFunctional"},{"display_type":4,"loc_token":"#SteamDeckVerified_TestResult_ControllerGlyphsMatchDeckDevice"},{"display_type":4,"loc_token":"#SteamDeckVerified_TestResult_DefaultConfigurationIsPerformant"}],"steam_deck_blog_url":"","search_id":null,"steamos_resolved_category":2,"steamos_resolved_items":[{"display_type":3,"loc_token":"#SteamOS_TestResult_GameStartupFunctional"}]}}

(11:06:10) ERROR:   [Frontend]:         Cannot get game info

(11:06:10) INFO:    [Frontend]:         Refreshing undefined Library

(11:06:10) WARNING: [Backend]:          refresh not implemented on Sideload Library Manager

(11:06:10) INFO:    [Legendary]:        Refreshing library...

(11:06:10) INFO:    [Legendary]:        Refreshing Epic Games...

(11:06:10) ERROR:   [Frontend]:         Cannot get game info

(11:06:10) INFO:    [Legendary]:        Running command: LEGENDARY_CONFIG_PATH=/home/mohamed/.config/heroic/legendaryConfig/legendary /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/legendary list --third-party

(11:06:11) INFO:    [Legendary]:        Game list updated, got 121 games & DLCs

(11:06:11) WARNING: [Backend]:          listUpdateableGames not implemented on Sideload Library Manager

(11:06:11) INFO:    [Legendary]:        Checking for game updates: LEGENDARY_CONFIG_PATH=/home/mohamed/.config/heroic/legendaryConfig/legendary /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/legendary list --third-party

(11:06:11) INFO:    [Legendary]:        Found 0 games to update

(11:06:11) ERROR:   [Frontend]:         Cannot get game info

(11:06:11) INFO:    [Legendary]:        Getting more details with 'legendary info'

(11:06:11) ERROR:   [Frontend]:         Cannot get game info

(11:06:11) ERROR:   [Frontend]:         Cannot get game info

(11:06:11) INFO:    [Legendary]:        Getting more details with 'legendary info'

(11:06:11) ERROR:   [Frontend]:         Cannot get game info

(11:06:11) ERROR:   [Frontend]:         Cannot get game info

(11:06:11) ERROR:   [Frontend]:         Cannot get game info

(11:06:11) ERROR:   [Frontend]:         Cannot get game info

(11:06:11) INFO:    [Legendary]:        Running command: LEGENDARY_CONFIG_PATH=/home/mohamed/.config/heroic/legendaryConfig/legendary /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/legendary info ea8df71f923649a193ab1c1fded7e1b3 --json --platform Windows

(11:06:11) INFO:    [Legendary]:        Running command: LEGENDARY_CONFIG_PATH=/home/mohamed/.config/heroic/legendaryConfig/legendary /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/legendary info ea8df71f923649a193ab1c1fded7e1b3 --json --platform Windows

(11:06:11) ERROR:   [Legendary]:        Error: Failed to parse install info for ea8df71f923649a193ab1c1fded7e1b3 with: SyntaxError: Unexpected end of JSON input

    at Module.Sn (/opt/Heroic/resources/app.asar/build/main/main.js:133:3103)

    at /opt/Heroic/resources/app.asar/build/main/main.js:197:3418

    at Session.<anonymous> (node:electron/js2c/browser_init:2:106823)

(11:06:11) ERROR:   [Legendary]:        Error: Failed to parse install info for ea8df71f923649a193ab1c1fded7e1b3 with: SyntaxError: Unexpected end of JSON input

    at Module.Sn (/opt/Heroic/resources/app.asar/build/main/main.js:133:3103)

    at /opt/Heroic/resources/app.asar/build/main/main.js:197:3418

    at Session.<anonymous> (node:electron/js2c/browser_init:2:106823)

(11:06:11) ERROR:   [Frontend]:         Cannot get game info

(11:06:11) ERROR:   [Frontend]:         Cannot get game info

(11:06:11) ERROR:   [Frontend]:         Cannot get game info

(11:07:17) ERROR:   [Frontend]:         Cannot get game info

(11:07:48) INFO:    [ExtraGameInfo]:    Getting ExtraGameInfo data for ABZU

(11:07:48) INFO:    [ExtraGameInfo]:    Getting PCGamingWiki data for ABZU

(11:07:48) INFO:    [ExtraGameInfo]:    Getting HowLongToBeat data for ABZU

(11:07:48) INFO:    [ExtraGameInfo]:    Getting GamesDB data for ABZU

(11:07:48) INFO:    [ExtraGameInfo]:    Getting ExtraGameInfo data for ABZU

(11:07:48) INFO:    [ExtraGameInfo]:    Getting PCGamingWiki data for ABZU

(11:07:48) INFO:    [ExtraGameInfo]:    Getting HowLongToBeat data for ABZU

(11:07:48) INFO:    [ExtraGameInfo]:    Getting GamesDB data for ABZU

(11:07:48) INFO:    [Legendary]:        Getting more details with 'legendary info'

(11:07:48) INFO:    [Legendary]:        Getting more details with 'legendary info'

(11:07:48) INFO:    [Legendary]:        Running command: LEGENDARY_CONFIG_PATH=/home/mohamed/.config/heroic/legendaryConfig/legendary /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/legendary info Curry --json --platform Windows

(11:07:48) INFO:    [Legendary]:        Running command: LEGENDARY_CONFIG_PATH=/home/mohamed/.config/heroic/legendaryConfig/legendary /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/legendary info Curry --json --platform Windows

(11:07:48) ERROR:   [Legendary]:        Error: Failed to parse install info for Curry with: SyntaxError: Unexpected end of JSON input

    at Module.Sn (/opt/Heroic/resources/app.asar/build/main/main.js:133:3103)

    at /opt/Heroic/resources/app.asar/build/main/main.js:197:3418

    at Session.<anonymous> (node:electron/js2c/browser_init:2:106823)

(11:07:48) ERROR:   [Legendary]:        Error: Failed to parse install info for Curry with: SyntaxError: Unexpected end of JSON input

    at Module.Sn (/opt/Heroic/resources/app.asar/build/main/main.js:133:3103)

    at /opt/Heroic/resources/app.asar/build/main/main.js:197:3418

    at Session.<anonymous> (node:electron/js2c/browser_init:2:106823)

(11:07:48) ERROR:   [Frontend]:         Cannot get game info

(11:07:48) ERROR:   [Frontend]:         Cannot get game info

(11:07:48) ERROR:   [Frontend]:         Cannot get game info

(11:07:49) INFO:    [Legendary]:        Getting Info from Epic API

(11:07:49) ERROR:   [Frontend]:         Cannot get game info

(11:07:50) DEBUG:   [Backend]:          SteamDeck data for 384190 {"success":1,"results":{"appid":384190,"resolved_category":3,"resolved_items":[{"display_type":4,"loc_token":"#SteamDeckVerified_TestResult_DefaultControllerConfigFullyFunctional"},{"display_type":4,"loc_token":"#SteamDeckVerified_TestResult_ControllerGlyphsMatchDeckDevice"},{"display_type":4,"loc_token":"#SteamDeckVerified_TestResult_InterfaceTextIsLegible"},{"display_type":4,"loc_token":"#SteamDeckVerified_TestResult_DefaultConfigurationIsPerformant"},{"display_type":1,"loc_token":"#SteamDeckVerified_TestResult_ExternalControllersNotSupportedPrimaryPlayer"}],"steam_deck_blog_url":"","search_id":null,"steamos_resolved_category":2,"steamos_resolved_items":[{"display_type":3,"loc_token":"#SteamOS_TestResult_GameStartupFunctional"},{"display_type":1,"loc_token":"#SteamOS_TestResult_ExternalControllersNotSupportedPrimaryPlayer"}]}}

(11:07:50) DEBUG:   [Backend]:          ProtonDB data for 384190 {"bestReportedTier":"platinum","confidence":"strong","score":0.66,"tier":"gold","total":118,"trendingTier":"platinum"}

(11:07:50) DEBUG:   [Backend]:          SteamDeck data for 384190 {"success":1,"results":{"appid":384190,"resolved_category":3,"resolved_items":[{"display_type":4,"loc_token":"#SteamDeckVerified_TestResult_DefaultControllerConfigFullyFunctional"},{"display_type":4,"loc_token":"#SteamDeckVerified_TestResult_ControllerGlyphsMatchDeckDevice"},{"display_type":4,"loc_token":"#SteamDeckVerified_TestResult_InterfaceTextIsLegible"},{"display_type":4,"loc_token":"#SteamDeckVerified_TestResult_DefaultConfigurationIsPerformant"},{"display_type":1,"loc_token":"#SteamDeckVerified_TestResult_ExternalControllersNotSupportedPrimaryPlayer"}],"steam_deck_blog_url":"","search_id":null,"steamos_resolved_category":2,"steamos_resolved_items":[{"display_type":3,"loc_token":"#SteamOS_TestResult_GameStartupFunctional"},{"display_type":1,"loc_token":"#SteamOS_TestResult_ExternalControllersNotSupportedPrimaryPlayer"}]}}

(11:07:50) ERROR:   [Frontend]:         Cannot get game info

(11:07:50) DEBUG:   [Backend]:          ProtonDB data for 384190 {"bestReportedTier":"platinum","confidence":"strong","score":0.66,"tier":"gold","total":118,"trendingTier":"platinum"}

Steps to reproduce

  1. Go to '...'
  2. Click on '...'
  3. Scroll down to '...'
  4. See error

Expected behavior

Should show game details along with all of the available options such as download/install, launch ....

Screenshots

Image

Heroic Version

Latest Stable

System Information

  • OS [ "Ubuntu"]: 20.04

Additional information

No response

FaresbenHassen1 avatar May 28 '25 10:05 FaresbenHassen1

Not related but Ubuntu 20.04 is not supported anymore since its a bit old. Heroic might stop working at some point on these older distros.

Try navigating to: ~/.config/heroic/legendaryConfig/legendary/metadata and delete Curry.json, then restart heroic and try again.

flavioislima avatar May 28 '25 20:05 flavioislima

also check in Settings > Logs > Epic/Legendary to see if there's more information about the error

arielj avatar Jun 01 '25 18:06 arielj

Do you have firewall enabled by any chance? I also was having this issue for some time (would sometimes go away for some time). I finally figured out that it was caused by my firewall. What is interesting that my firewall was set to allow outgoing connections yet it still fails. I had to add explicit outgoing allows for ports 80 and 443 and that fixed the issue.

You can run this if you're using UFW:

sudo ufw allow out 80/tcp
sudo ufw allow out 443/tcp

algirdasN avatar Jul 04 '25 18:07 algirdasN