Solved: GOG List does not load. (Also, --subit-issue implementation oddity)

Hello.

I installed Myst Riven through the lutris script offered here, played the game for a bit, closed the game, closed Lutris and started Lutris again.

Now GOG game list does not load.

So I tried:

lutris --submit-issue

This brought the expected window up, asking me to fill something in. I did not expect this to be the result after doing that:

2022-01-12 21:58:40,796: Magic not available. Unable to automatically find game executables. Please install python-magic

These two things seem to be out-of-order.

Installing the supposedly missing package only fixes the warning above. It does not help the main issue,

Running lutris -d gave the following:

2022-01-12 22:08:06,554: Starting Lutris 0.5.9.1
2022-01-12 22:08:06,572: No cores found
2022-01-12 22:08:07,962: Startup complete
INFO 2022-01-12 22:08:07,963 [startup.check_driver:53]:Using NVIDIA drivers 495.44 for x86_64
INFO 2022-01-12 22:08:07,963 [startup.check_driver:57]:GPU: Unknown
INFO 2022-01-12 22:08:07,963 [startup.check_driver:73]:GPU: 10DE:1B80 10DE:119E (nvidia drivers)
DEBUG 2022-01-12 22:08:08,298 [lutriswindow.update_store:451]:Showing 0 games
DEBUG 2022-01-12 22:08:12,650 [http.get:81]:GET htt ps:// embed. gog. com/userData.json
DEBUG 2022-01-12 22:08:12,834 [base.wipe_game_cache:265]:Deleting gog cache /home/dragonfox/.cache/lutris/gog-library.json
DEBUG 2022-01-12 22:08:12,835 [base.wipe_game_cache:113]:Deleting games from service-games for gog
DEBUG 2022-01-12 22:08:12,836 [http.get:81]:GET htt ps:// embed.gog .com/userData.json
DEBUG 2022-01-12 22:08:12,973 [http.get:81]:GET http s:// embed.gog .com/account/getFilteredProducts?mediaType=1&page=1
WARNING 2022-01-12 22:08:13,659 [http.get:100]:Failed to read content length on response from htt ps:// embed. gog. com/account/getFilteredProducts?mediaType=1&page=1
ERROR 2022-01-12 22:08:13,725 [jobs.target:36]:Error while completing task <bound method BaseService.reload of <gog.GOGService object at 0x7f88767f9dc0 (lutris+services+gog+GOGService at 0x558211d20080)>>: <class ‘ValueError’> JSON response from htt ps:// embed.gog. com/account/getFilteredProducts?mediaType=1&page=1 could not be decoded: ‘<html class="
embed-mode prices-in-sek lang–en curr-’
File “/usr/lib/python3.10/site-packages/lutris/util/jobs.py”, line 34, in target
result = self.function(*args, **kwargs)
File “/usr/lib/python3.10/site-packages/lutris/services/base.py”, line 83, in reload
self.load()
File “/usr/lib/python3.10/site-packages/lutris/services/gog.py”, line 143, in load
games = [GOGGame.new_from_gog_game(game) for game in self.get_library()]
File “/usr/lib/python3.10/site-packages/lutris/services/gog.py”, line 256, in get_library
products_response = self.get_products_page(page=page)
File “/usr/lib/python3.10/site-packages/lutris/services/gog.py”, line 277, in get_products_page
return self.make_request(url)
File “/usr/lib/python3.10/site-packages/lutris/services/gog.py”, line 211, in make_request
return request.json
File “/usr/lib/python3.10/site-packages/lutris/util/http.py”, line 148, in json
raise ValueError(“JSON response from %s could not be decoded: ‘%s’” % (self.url, _raw_json[:80]))

(lutris:291340): Gtk-WARNING **: 22:08:13.727: Failed to set text ‘JSON response from https:// embed.gog. com/account/getFilteredProducts?mediaType=1&page=1 could not be decoded: ‘<html class="
embed-mode prices-in-sek lang–en curr-’’ from markup due to error parsing markup: Error on line 1: Entity did not end with a semicolon; most likely you used an ampersand character without intending to start an entity — escape ampersand as &

(lutris:291340): Gtk-WARNING **: 22:08:13.731: Failed to set text ‘JSON response from https://embed.gog. com/account/getFilteredProducts?mediaType=1&page=1 could not be decoded: ‘<html class="
embed-mode prices-in-sek lang–en curr-’’ from markup due to error parsing markup: Error on line 1: Entity did not end with a semicolon; most likely you used an ampersand character without intending to start an entity — escape ampersand as &

I’m not sure why this behavior started or what can be done to solve it.

I’m running Manjaro XFCE 21.2.1 and kernel 5.10.89-1

2 Likes

I have the same issue, did you manage to solve it? If so how? Otherwise this is a bump to get some more attention on this issue.

It’s still an issue for me, but:

The error message from the terminal has changed slightly from
embed-mode prices-in-sek lang–en curr-’'

To
embed-mode prices-in-sek lang--en-us cu''

Did GOG change their “API” once again?

Same here, still can’t refresh gog, but I¨m still getting your first error message.

I saw some people remark that 0.5.10 solves this, can anyone confirm? It is not solved for me on Manjaro at the moment.

If I just have to be patient for the update in the packagemanager that is one thing, but I’d like to know if I should be looking for alternative methods.

It appears to be working of you disconnect Lutris from GOG and then connect them again.
(restarting Lutris might be required)