Heroic-Games-Launcher / HeroicGamesLauncher

A games launcher for GOG, Amazon and Epic Games for Linux, Windows and macOS.
https://heroicgameslauncher.com
GNU General Public License v3.0
8.29k stars 438 forks source link

The Legend of Heroes: Trails to Azure GOG Unknown Error #4078

Open 3vilg3nius opened 1 month ago

3vilg3nius commented 1 month ago

Describe the bug

when selecting the GOG version of The Legend of Heroes: Trails to Azure the game will I am getting an unknown error screen. Screenshot_20241026_163029

Add logs

(16:34:01) INFO:    [ExtraGameInfo]:    Using cached ExtraGameInfo data for The Legend of Heroes Trails to Azure
(16:34:01) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/john/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/john/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json auth
(16:34:01) INFO:    [ExtraGameInfo]:    Using cached ExtraGameInfo data for The Legend of Heroes Trails to Azure
(16:34:01) INFO:    [Gog]:              Got install info from cache for 1469465227 on windows platform
(16:34:01) ERROR:   [Backend]:          Config file is corrupted, please check /home/john/.var/app/com.heroicgameslauncher.hgl/config/heroic/GamesConfig/1469465227.json
Error occurred in handler for 'requestSettings': SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at yo.upgrade (/app/bin/heroic/resources/app.asar/build/main/main.js:2:4529)
    at Function.reload (/app/bin/heroic/resources/app.asar/build/main/main.js:2:4031)
    at Function.get (/app/bin/heroic/resources/app.asar/build/main/main.js:2:3778)
    at /app/bin/heroic/resources/app.asar/build/main/main.js:184:5577
    at WebContents.<anonymous> (node:electron/js2c/browser_init:2:83553)
    at WebContents.emit (node:events:519:28)
(node:13) UnhandledPromiseRejectionWarning: SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at yo.getSettings (/app/bin/heroic/resources/app.asar/build/main/main.js:2:5605)
    at yo.load (/app/bin/heroic/resources/app.asar/build/main/main.js:2:4374)
    at new yo (/app/bin/heroic/resources/app.asar/build/main/main.js:2:4475)
    at Function.reload (/app/bin/heroic/resources/app.asar/build/main/main.js:2:3865)
    at Function.get (/app/bin/heroic/resources/app.asar/build/main/main.js:2:3778)
    at /app/bin/heroic/resources/app.asar/build/main/main.js:184:5577
    at WebContents.<anonymous> (node:electron/js2c/browser_init:2:83553)
    at WebContents.emit (node:events:519:28)
(Use `heroic --trace-warnings ...` to show where the warning was created)
(node:13) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 7)
(16:34:01) INFO:    [Gog]:              Got install info from cache for 1469465227 on windows platform
(16:34:01) ERROR:   [Backend]:          Config file is corrupted, please check /home/john/.var/app/com.heroicgameslauncher.hgl/config/heroic/GamesConfig/1469465227.json
Error occurred in handler for 'requestSettings': SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at yo.getSettings (/app/bin/heroic/resources/app.asar/build/main/main.js:2:5605)
    at /app/bin/heroic/resources/app.asar/build/main/main.js:184:5584
    at WebContents.<anonymous> (node:electron/js2c/browser_init:2:83553)
    at WebContents.emit (node:events:519:28)
(16:34:01) ERROR:   [Frontend]:         Error: Error invoking remote method 'requestSettings': SyntaxError: Unexpected end of JSON input
(16:34:01) ERROR:   [Frontend]:         Error: Error invoking remote method 'requestSettings': SyntaxError: Unexpected end of JSON input
[50:1026/163405.048852:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!

Steps to reproduce

select The Legend of Heroes: Trails to Azure from library.

Expected behavior

there be a page for the game.

Screenshots

No response

Heroic Version

Latest Stable

System Information

Additional information

No response