RetroGOG icon indicating copy to clipboard operation
RetroGOG copied to clipboard

After closing and restarting the client, games are no longer "Installed" until disconnecting and reconnecting the integrations

Open instinctualjealousy opened this issue 5 years ago • 14 comments

And of course, trying to "install" them isn't something you can do, so it just shows as "Not Compatible". Latest GOG Galaxy 2.0 as of writing. Using most built-in integrations alongside. However GOG is querying the presence of a game isn't working for restarts, just clean connections. Considering how damning it is, vs. how it's never been reported EVER, I'm curious if it's a very recent bug or if I did some sort of user error dumb. :( I'm not having this issue with other integrations.

instinctualjealousy avatar Nov 26 '20 18:11 instinctualjealousy

hey bro i was about to repor the same issue i thnk it's a problem with the new update image not sure what but to temporary fix this i have to reconnect integrations but when i start gog galaxy again still broken this is the only thing i found :c for now

Pab10Suarez avatar Nov 26 '20 19:11 Pab10Suarez

Here's what's weird, I left my GOG stay open for a bit (had Thanksgiving dinner actually) and games now are showing "Play". Is it just taking a good while?

instinctualjealousy avatar Nov 26 '20 20:11 instinctualjealousy

Here's what's weird, I left my GOG stay open for a bit (had Thanksgiving dinner actually) and games now are showing "Play". Is it just taking a good while?

lol same for me i'm going to restart gog galaxy to see if now it's solved or it's like you said already restarted gog galaxy and yeah now take a while, strange, probably this changed something important image

Pab10Suarez avatar Nov 26 '20 21:11 Pab10Suarez

I've had the exact same problem. For the longest time I refused to add SNES and Genesis to GOG with this plugin just due to the large amount of games and how it always crashed GOG when it was added or launching GOG with it added.

I added PS1, N64 ect maybe 6-7 months ago and all of them show "Play" in games but only the last few weeks I attempted to add Genesis and SNES and they pull the game library from RetroArch but don't have "Play" just "Install"....

DemiMelfice avatar Nov 29 '20 23:11 DemiMelfice

Ok follow up on this, it looks like I now have the problem across all integrations, they all show "Install" instead of "Play".

DemiMelfice avatar Nov 30 '20 15:11 DemiMelfice

Is this beautiful plugin not being worked on anymore? The issue is still around and game time is also not being tracked even if you do get the games to launch.

wolfeng-db avatar Jan 19 '21 15:01 wolfeng-db

@jshackles any insight into this issue? I know it's a side project but I'm wondering if you are aware if it's a GOG api issue or something that just requires dev time?

chuckzee avatar Jan 28 '21 01:01 chuckzee

@chuckzee I believe this happens when the local Galaxy games database gets out of sync with what GOG has recorded on their servers. The more games you have integrated, the higher the probability is of this happening. I'll have to look at some other plugins to see if and how they might be handling this situation. Unfortunately the only known fix at this time is to disconnect and reconnect the integrations.

jshackles avatar Jan 28 '21 16:01 jshackles

@jshackles I'll take a peek at some error logs in gog galaxy if I can. Maybe something helpful.

chuckzee avatar Jan 28 '21 19:01 chuckzee

@jshackles

2021-01-26 19:54:46,501 - root - DEBUG - Task manager plugin internal: creating task 1 (shutdown)
2021-01-26 19:54:46,501 - root - ERROR - Task manager plugin internal: exception raised in task 1 (shutdown)
Traceback (most recent call last):
  File "C:\Users\chuck\AppData\Local\GOG.com\Galaxy\plugins\installed\segag_e3ac94e7-945e-459d-bc1e-676cff8173f9\galaxy\task_manager.py", line 17, in task_wrapper
    result = await coro
TypeError: object NoneType can't be used in 'await' expression

TypeError coming from the plugin itself looks like.

chuckzee avatar Jan 28 '21 19:01 chuckzee

Seeing a lot of this too:


2021-01-26 19:51:06,081 - root - INFO - Sending notification: method=game_time_import_success, params={'game_time': GameTime(game_id='Ys III', time_played=0, last_played_time=None)}
2021-01-26 19:51:06,081 - root - DEBUG - Sending 123 byte of data
2021-01-26 19:51:06,081 - root - DEBUG - Task manager notification client: creating task 751 (drain)
2021-01-26 19:51:06,081 - root - DEBUG - Task manager jsonrpc server: finished task 24 (drain)
2021-01-26 19:51:06,081 - root - DEBUG - Sending data: {"jsonrpc": "2.0", "id": "13", "error": {"code": 600, "message": "Import already in progress"}}

chuckzee avatar Jan 28 '21 20:01 chuckzee

@chuckzee I believe this happens when the local Galaxy games database gets out of sync with what GOG has recorded on their servers. The more games you have integrated, the higher the probability is of this happening. I'll have to look at some other plugins to see if and how they might be handling this situation. Unfortunately the only known fix at this time is to disconnect and reconnect the integrations.

i've found more information in ps2 plug in ( https://github.com/AHCoder/galaxy-integration-ps2/issues/27#issuecomment-772276700 ) also i've tested and it takes like one hour to games to appear as installed, this happens with more emulator plug ins but this solution could help?

Pab10Suarez avatar Jun 19 '21 01:06 Pab10Suarez

update about what i think is causing it gogcom/galaxy-integrations-python-api#180 (comment)

Pab10Suarez avatar Jun 21 '21 18:06 Pab10Suarez

At least for me, this bug is fixed

Pab10Suarez avatar Aug 13 '21 16:08 Pab10Suarez