Skip to content
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

Install option is grayed out on some GOG games. #296

Closed
burdebc opened this issue Aug 19, 2019 · 3 comments
Closed

Install option is grayed out on some GOG games. #296

burdebc opened this issue Aug 19, 2019 · 3 comments

Comments

@burdebc
Copy link

burdebc commented Aug 19, 2019

Expected behavior

The install button below the title of the game to not be grayed out and to react when moused over.

Actual behavior

The install button is grayed out and not clickable. I have built both versions of gamehub in the AUR and used the appimage as well. No matter what version I use I seem to have the same problem with the same games. I ended up launching GameHub from a terminal to get some idea what was happening and keep getting the following error messages:

[FATAL] [Json] json_object_get_object_member: assertion 'node != NULL' failed
[FATAL] [Json] json_object_get_string_member: assertion 'object != NULL' failed

The first error message appears immediately when I click on one of the affected games and the second occasionally shows several seconds after clicking on a game. I have also checked some of the affected games on other systems and they seem to have no issues.

I have tried to find where GameHub saves my login credentials and user preferences so I could delete that and cause the program to recreate those files the next time I launch the program. If you can tell me where that file is I will delete it and see if that fixes the issue.

gamehub_screenshot

Steps to reproduce

The problem happens every time I launch the program and requires no other action to cause.

Version and environment

[INFO] - GameHub
[INFO] Version: 0.14.2-4bb1b7f-master
[INFO] Branch: master
[INFO] Commit: 4bb1b7f
[INFO] - Environment
[INFO] Distro: Manjaro Linux
[INFO] DE: KDE
[INFO] GTK: 3.24.10
[INFO] Themes: Arc-Darker | Flat-Remix-Blue-Dark

PASTE VERSION INFO HERE
@tkashkin
Copy link
Owner

It looks similar to #294. Does it happen with games that have icon?

If this is same issue, it should be fixed in dfab162. Update to latest dev version.

You'll need to remove affected games from database.
Select all affected games in list and use Refresh action or remove the entire database (~/.cache/com.github.tkashkin.gamehub/gamehub.db).

@burdebc
Copy link
Author

burdebc commented Aug 19, 2019

It only happened to games that didn't have an icon, but a few games that didn't have an icon next to them still acted normally otherwise. After looking at issue #294 it may very well be the same or a similar issue happening.

I was able to build the latest dev version and refresh the games that were affected to fix the issue as you suggested. Thanks for the quick response.

@nickcorona
Copy link

This issue isn't fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants