-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installed games don't show as "installed" #10
Comments
I disconnected the plugin, installed the game through amazon games client, then re-connected the plugin and it recognized the game I installed. |
@doughsay Would you mind uploading your plugin log files for further analysis? They should be located at |
Here's today's log. I just booted up and the two games I have installed in Amazon Games no longer show as installed in GoG Galaxy. plugin-amazon-c2cd2e29-8b02-35a9-86fc-3faf90255857.log I have "Cultist Simulator" and "Along the Edge" installed, and they were showing as installed yesterday, but they now no longer are. Here are the only other two logs I have: plugin-amazon-c2cd2e29-8b02-35a9-86fc-3faf90255857-1.log |
As I thought. This is an issue I already observed happening over the week. For some unknown reason Galaxy is not calling the necessary functions for importing local games (also updating the owned games) after plugin start until much later (I observed a minimum of an hour). I don´t know why this is happening, as there is no indication of an error in any of the Galaxy logs. It will resume functionality on some specific edge cases (for example restarting the plugin). |
I have the same issue, I just Installed the plugin, it fetched my owned games correctly but it doesn't show the installed ones. This is the only log I got for this plugin: My currently installed games are "Ape Out" and "Enter the Gungeon" |
I have the same issue, but I think the problem is that the plugin doesn't sync with Amazon app after the first sync. I believe this because it has also not synced the new February free games that I purchased today. Edit: After one day, the plugin shows the new games |
GOG dev here. Issue confirmed and passed to investigation. As a workaround I can propose sending |
I have released a new version ( |
Hi @Rall3n, the problem does not occur already. Could you confirm? |
@mbanczerowski Unfortunately I can not confirm. Latest log still shows no call of tasks |
Thanks for checking. Looks like only some plugins are affected, I'm passing that back to Galaxy issue. |
Hi @Rall3n, the Galaxy version 2.0.37 has included some fixes for that matter. Could you confirm if it works this time? |
@mbanczerowski I saw the changelog of the latest beta version. I could observe that Only thing not working now is |
@Rall3n Reproduced and passed to Galaxy team. Is far as I know both Traceback (most recent call last):
File "C:\Users\<username>\AppData\Local\GOG.com\Galaxy\plugins\installed\amazon_c2cd2e29-8b02-35a9-86fc-3faf90255857\plugin.py", line 80, in _get_local_games
for row in self._local_games_db.select('DbSet', rows=['Id', 'Installed']) if row['Installed'] is this log error related to asking for local games before authentication? If so, consider raising I is up to you to leave the current issue or resolve it and create another one. In the second case please leave a link so we can follow up. Thanks! |
Yes. That is the error that is being thrown when trying to access the database before authentication has finished.
As you may know, this plugin requires the Amazon Games app to be installed and authenticated in order to access relevant game data as the plugin does not use API endpoints in its current state. This includes both owned games and local games, both of which have their own SQLite database file. The authentication process ensures that the app is installed and that both databases are present. If the application is removed between quitting and starting Galaxy, I could hardcode the paths to both databases to ensure task completion without the need for authentication using
I will consider throwing an exception with this class.
I will keep this issue open for now, but will create another issue regarding the same problem with |
@Rall3n thanks for explanation.
I've just checked your code and looks like no externally-dependent logic is performed on def tick(self):
self._client.update_install_location()
if self._client.is_installed:
if not self._owned_games_db:
self._owned_games_db = ...
if not self._local_games_db:
self._local_games_db = ...
# ... Then returning empty list from |
Additionally, clicking the "install" button from inside GoG Galaxy just launches the game. So, it does "work", it just doesn't mark the game as installed.
The text was updated successfully, but these errors were encountered: