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

Support download and install games from the Humble Monthly Trove #32

Open
neuromancer opened this issue Aug 18, 2018 · 47 comments
Open
Labels
enhancement New feature or request GS: Humble Bundle Game source: Humble Bundle needs testing

Comments

@neuromancer
Copy link
Contributor

https://www.humblebundle.com/monthly/trove

@neuromancer neuromancer changed the title Support download and installing games from the Humble Monthly Trove Support download and install games from the Humble Monthly Trove Aug 18, 2018
@tkashkin
Copy link
Owner

It should be possible if they have some API to access Trove. But probably they have no such API. In this case it probably can be implemented with HTML parsing.

Btw I can't try to implement it now as I don't have active Monthly subscription and this month's games don't look interesting enough to subscribe.

@tkashkin tkashkin added the enhancement New feature or request label Aug 18, 2018
@neuromancer
Copy link
Contributor Author

Yes, they don't have an API, but fortunately, there is an Python implementation that shows how to parse the HTML and extracts the links here.

@tkashkin
Copy link
Owner

tkashkin commented Aug 18, 2018

Does Trove have any good games? How many of them are working on Linux? Is it even worth implementing?

@neuromancer
Copy link
Contributor Author

I counted from my trove and half of the games have Linux support. Some others are Windows only, but they could work in Linux (e.g. Indiana Jones® and the Fate of Atlantis™).

@tkashkin tkashkin added the GS: Humble Bundle Game source: Humble Bundle label Aug 26, 2018
tkashkin added a commit that referenced this issue Sep 15, 2018
@tkashkin
Copy link
Owner

@neuromancer Test 9e3dc15.

@neuromancer
Copy link
Contributor Author

It works as expected with the free games (my subscription is not active this month, thanks to a Paypal issue), but I will test with full set of games in the near future.
Great work! 🎉

@neuromancer
Copy link
Contributor Author

Btw, after tomorrow, the free games are not going to be available for downloading, but we will have them already installed. Do you this change will be handled correctly?

@tkashkin
Copy link
Owner

I'm not sure, but we'll see.
I think nothing will break, as games and signed download urls are cached.

If signed urls will continue to work, you should be able to download games even after they will disappear from Trove. Links seem to have some TTL.
If urls will return any error (probably 403), you won't be able to download games, but error should be handled correctly.

@tkashkin
Copy link
Owner

They have redesigned Trove page. It seems now it's impossible to extract full game info and download links from this page, as game info is now shown in a popup created by js. js probably makes some ajax calls so it's possible that these calls may be captured. I'll take a look in a few days.

@tkashkin tkashkin reopened this Dec 14, 2018
@neuromancer
Copy link
Contributor Author

I think Humble Trove should not be a priority, in case you think it won't be easy to maintain, feel free to remove it.

tkashkin added a commit that referenced this issue Dec 21, 2018
@tkashkin
Copy link
Owner

@neuromancer Humble Trove should work again, but I currently don't have monthly subscription to actually test downloading.

@neuromancer
Copy link
Contributor Author

I re-tested and I can see the new icons (they look great, as good as steam/gog ones), but I don't have subscription either. I guess they shoudn't show in the list if your subscription is not active..

@Sanaki
Copy link

Sanaki commented Jan 20, 2019

The titles that I only have via trove can't install. --debug shows nothing when attempting. No install window loads.

@tkashkin
Copy link
Owner

@Sanaki do you actually have an active Humble Monthly subscription?

@Sanaki
Copy link

Sanaki commented Jan 21, 2019

I do. And just for kicks, I verified I can manually download titles from the trove page.

@tkashkin
Copy link
Owner

@Sanaki it may be related to #57 (comment).

Try to open game's details, wait for some time, then reopen details and try to install it again. Or try previous release before update phase was disabled: 0.13.0-6-dev.

@Sanaki
Copy link

Sanaki commented Jan 22, 2019

Neither helped. This is true of both windows and linux native games.

tkashkin added a commit that referenced this issue Jan 23, 2019
More verbose logging for Humble Trove with `--verbose` option (#32)
@tkashkin
Copy link
Owner

@Sanaki more verbose logging for Trove was added in 3c67adf. It should help to identify your problem.

Update to 3c67adf and run com.github.tkashkin.gamehub --gdb --verbose in terminal.

You should see lines like these (can't sign URL):

[DEBUG]  [Trove.sign_url] 'theendisnigh_game_windows':'Windows_theendisnigh_updated.zip' -> '(null)'
[DEBUG]  [Trove.sign_url] 'theendisnigh_game_mac':'Mac_october5_519.zip' -> '(null)'
[DEBUG]  [Trove.sign_url] 'theendisnigh_game_linux':'TheEndIsNigh-linux-nosteam.zip' -> '(null)'

or like these (URL signed successfully):

[DEBUG]  [Trove.sign_url] 'drawkanoid_windows':'Drawkanoid_1520275111.zip' -> 'https://dl.humble.com/Drawkanoid_1520275111.zip?key=${KEY}&ttl=${TTL}&t=${T}'
[DEBUG]  [Trove.sign_url] 'drawkanoid_mac':'Drawkanoid_1520275102.app.zip' -> 'https://dl.humble.com/Drawkanoid_1520275102.app.zip?key=${KEY}&ttl=${TTL}&t=${T}'

You should be able to download Trove games if you have a subscription and it's possible to successfully get signed download URL.

@Sanaki
Copy link

Sanaki commented Jan 23, 2019

Opening properties will cause two instances of (com.github.tkashkin.gamehub:4759): Gtk-WARNING **: 18:39:50.557: Failed to measure available space: HTTP Error: Could not connect: No route to host

Opening details only causes (com.github.tkashkin.gamehub:4759): Gtk-WARNING **: 18:41:35.439: gtk_window_set_titlebar() called on a realized window

Clicking install within details or clicking the tile in the main window produces no messages whatsoever.

The only other noteworthy errors were a pile of cached icon failures, such as: [WARN] Error caching `http://media.steampowered.com/steamcommunity/public/images/apps/550210/.jpg` in `/home/ccrowley/.cache/com.github.tkashkin.gamehub/images/icon_7c494aee2c3b8f0d17c43a4f802a14ad.jpg`: Not Found

@tkashkin
Copy link
Owner

tkashkin commented Jan 23, 2019

gtk_window_set_titlebar() warning is not related.

[WARN] Error caching warnings are also not related. They will show for Steam games without store page, because their grid images do not exist.

Failed to measure available space: HTTP Error: Could not connect: No route to host warning is weird. I have no idea what this can be.

Run com.github.tkashkin.gamehub --gdb --g-fatal-warnings and post log after it crashes. Don't open any dialogs like settings or game details dialog as it will trigger gtk_window_set_titlebar() warning.

@tkashkin
Copy link
Owner

I assume there's no chance the code is also getting escaped backslashes and treating them as explicit characters, yeah? So far that's the only thing that's made any sense to me.

That might be the problem. You can try to escape/unescape slashes manually using dconf-editor and see if it changes anything.

@tkashkin
Copy link
Owner

@Sanaki does your Humble token contain \075? It is escaped =. First part of token is actually a base64-encoded JSON object. I will try to do something with this later.

@Sanaki
Copy link

Sanaki commented Jan 23, 2019

Well, current value shows double backslashes, custom value shows singles. Presumably it's just a display error, but seeing it disparately in the same window is a bit... odd. Unless you know a different editor with more consistent behavior, not sure I can give you a straight answer on that point at the moment. I'm not sure how easy or efficient it would be to add a line to locate and strip any double backslashes from the token before attempting to use it, but that would be the easy answer from my perspective.

As for the _simpleauth_sess route, no change. My cookie did have quotes surrounding it which I stripped out, but I did verify I was fully logged in.

Both tokens do contain \075. That's where the double backslashes are coming into play. I tried manually replacing \075\075 with == in the token and got no change in behavior, but I realize that may be to be expected.

@tkashkin
Copy link
Owner

tkashkin commented Jan 23, 2019

@Sanaki try latest version.

Run com.github.tkashkin.gamehub --gdb --verbose --log-auth.
Relogin to Humble.

Watch log lines like:

[DEBUG]  [WebAuth/Humble Bundle] [Cookie] `_simpleauth_sess`=`...`

[DEBUG]  [WebAuth/Humble Bundle] Finished with result `eyJ...Dh9|1...1|e...8`
[DEBUG]  [Auth] Humble access token: eyJ...Dh9|1...1|e...8

[DEBUG]  [Humble.escaped_cookie] Unescaped: eyJ...Dh9|1...1|e...8
[DEBUG]  [Humble.escaped_cookie] Escaped:   _simpleauth_sess="eyJ...Dh9|1...1|e...8";

It's a bit hard to test for me as my tokens never contain \075.

@Sanaki
Copy link

Sanaki commented Jan 23, 2019

[DEBUG] [WebAuth/Humble Bundle] [Cookie] _simpleauth_sess="<unescaped token>"
[DEBUG] [WebAuth/Humble Bundle] Finished with result "<unescaped token>"
[DEBUG] [Auth] Humble access token: <token with /075 converted to =>

Immediately followed by crash
[DEBUG]  [Manette] ManetteMappingManager: Can’t add mappings from file:///home/ccrowley/.config/libmanette/gamecontrollerdb: Error opening file /home/ccrowley/.config/libmanette/gamecontrollerdb: No such file or directory
double free or corruption (!prev)

Thread 19 "pool" received signal SIGABRT, Aborted.
[Switching to Thread 0x7fff63fff700 (LWP 7388)]
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51	../sysdeps/unix/sysv/linux/raise.c: No such file or directory.

Thread 27 (Thread 0x7fff477fe700 (LWP 7402)):
#0  0x00007ffff1b55839 in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff5ed929a in g_cond_wait_until () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff5e664f1 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff5ebbaa4 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ffff5ebb105 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fffef3a06db in start_thread (arg=0x7fff477fe700) at pthread_create.c:463
#6  0x00007ffff1b5b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 26 (Thread 0x7fff47fff700 (LWP 7401)):
#0  0x00007ffff1b55839 in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff5ed929a in g_cond_wait_until () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff5e664f1 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff5ebbaa4 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ffff5ebb105 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fffef3a06db in start_thread (arg=0x7fff47fff700) at pthread_create.c:463
#6  0x00007ffff1b5b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 25 (Thread 0x7fff60831700 (LWP 7400)):
#0  0x00007ffff1b55839 in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff5ed929a in g_cond_wait_until () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff5e664f1 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff5ebbaa4 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ffff5ebb105 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fffef3a06db in start_thread (arg=0x7fff60831700) at pthread_create.c:463
#6  0x00007ffff1b5b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 24 (Thread 0x7fff61032700 (LWP 7399)):
#0  0x00007ffff1b55839 in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff5ed929a in g_cond_wait_until () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff5e664f1 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff5ebbaa4 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ffff5ebb105 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fffef3a06db in start_thread (arg=0x7fff61032700) at pthread_create.c:463
#6  0x00007ffff1b5b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 23 (Thread 0x7fff61833700 (LWP 7393)):
#0  0x00007ffff1b55839 in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff5ed929a in g_cond_wait_until () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff5e664f1 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff5ebbaa4 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ffff5ebb105 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fffef3a06db in start_thread (arg=0x7fff61833700) at pthread_create.c:463
#6  0x00007ffff1b5b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 22 (Thread 0x7fff62034700 (LWP 7392)):
#0  0x00007ffff1b55839 in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff5ed929a in g_cond_wait_until () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff5e664f1 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff5ebbaa4 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ffff5ebb105 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fffef3a06db in start_thread (arg=0x7fff62034700) at pthread_create.c:463
#6  0x00007ffff1b5b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 21 (Thread 0x7fff62ffd700 (LWP 7390)):
#0  0x00007ffff1b1e9d0 in __GI___nanosleep (requested_time=0x7fff62ffc9e0, remaining=0x7fff62ffc9f0) at ../sysdeps/unix/sysv/linux/nanosleep.c:28
#1  0x00007ffff5ebc7df in g_usleep () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x0000555555623f52 in ___lambda171_ (self=0x5555561dc5a0) at ../../src/ui/views/GamesView/GamesView.vala:495
#3  0x0000555555623f85 in ____lambda171__game_hub_utils_future (self=0x5555561dc5a0) at ../../src/ui/views/GamesView/GamesView.vala:480
#4  0x0000555555663f1f in game_hub_utils_worker_run (self=Python Exception <class 'ValueError'> Variable 'static_fundamental_type_nodes' not found.: 
) at ../../src/utils/Utils.vala:45
#5  0x000055555566734c in ____lambda13_ (w=Python Exception <class 'ValueError'> Variable 'static_fundamental_type_nodes' not found.: 
) at ../../src/utils/Utils.vala:200
#6  0x0000555555667385 in _____lambda13__gfunc (data=0x5555565d39c0, self=0x0) at ../../src/utils/Utils.vala:200
#7  0x00007ffff5ebbad0 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007ffff5ebb105 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007fffef3a06db in start_thread (arg=0x7fff62ffd700) at pthread_create.c:463
#10 0x00007ffff1b5b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 20 (Thread 0x7fff637fe700 (LWP 7389)):
#0  0x00007ffff1b55839 in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff5ed917f in g_cond_wait () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff757ca3b in g_task_run_in_thread_sync () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#3  0x00007ffff757f99e in  () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007ffff756645c in g_resolver_lookup_by_name () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#5  0x00007ffff30dac06 in  () at /usr/lib/x86_64-linux-gnu/libsoup-2.4.so.1
#6  0x00007ffff30dbf0b in  () at /usr/lib/x86_64-linux-gnu/libsoup-2.4.so.1
#7  0x00007ffff7564c3f in  () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#8  0x00007ffff7573983 in g_socket_client_connect () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#9  0x00007ffff3113b77 in  () at /usr/lib/x86_64-linux-gnu/libsoup-2.4.so.1
#10 0x00007ffff30eb64a in  () at /usr/lib/x86_64-linux-gnu/libsoup-2.4.so.1
#11 0x00007ffff310f6d2 in  () at /usr/lib/x86_64-linux-gnu/libsoup-2.4.so.1
#12 0x00007ffff310fe0e in  () at /usr/lib/x86_64-linux-gnu/libsoup-2.4.so.1
#13 0x000055555567997a in game_hub_utils_parser_load_remote_file (url=0x555555699cf0 "https://embed.gog.com/userData.json", method=0x555555699b3d "GET", auth=0x55555623ab40 "aeFlO_JH7q28Fhfzz1Qm_j7q5EAMBK7CSktz74XDSZKNgunHk49ElJ-PWSV8vSOr6G4w4E_4JjNw8PDDwkVBrMwXAVck6lNH1qdDAprY8vkSeuk0F5OvDM8G3brVPcKLTlJzjBWQtWwn7Qi1fxhTonBS3J3vzAoAjl5fvn6-rwY", headers=0x0, data=0x0) at ../../src/utils/Parser.vala:87
#14 0x000055555567a76c in game_hub_utils_parser_parse_remote_json_file (url=0x555555699cf0 "https://embed.gog.com/userData.json", method=0x555555699b3d "GET", auth=0x55555623ab40 "aeFlO_JH7q28Fhfzz1Qm_j7q5EAMBK7CSktz74XDSZKNgunHk49ElJ-PWSV8vSOr6G4w4E_4JjNw8PDDwkVBrMwXAVck6lNH1qdDAprY8vkSeuk0F5OvDM8G3brVPcKLTlJzjBWQtWwn7Qi1fxhTonBS3J3vzAoAjl5fvn6-rwY", headers=0x0, data=0x0) at ../../src/utils/Parser.vala:138
#15 0x00005555555a3b46 in game_hub_data_sources_gog_gog_load_player_stats (self=0x555555a013d0) at ../../src/data/sources/gog/GOG.vala:205
#16 0x00005555555a4c34 in __lambda25_ (_data15_=0x55555657c2c0) at ../../src/data/sources/gog/GOG.vala:262
#17 0x00005555555a6245 in ___lambda25__game_hub_utils_future (self=0x55555657c2c0) at ../../src/data/sources/gog/GOG.vala:259
#18 0x0000555555663f1f in game_hub_utils_worker_run (self=Python Exception <class 'ValueError'> Variable 'static_fundamental_type_nodes' not found.: 
) at ../../src/utils/Utils.vala:45
#19 0x000055555566734c in ____lambda13_ (w=Python Exception <class 'ValueError'> Variable 'static_fundamental_type_nodes' not found.: 
) at ../../src/utils/Utils.vala:200
#20 0x0000555555667385 in _____lambda13__gfunc (data=0x55555657c300, self=0x0) at ../../src/utils/Utils.vala:200
#21 0x00007ffff5ebbad0 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007ffff5ebb105 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007fffef3a06db in start_thread (arg=0x7fff637fe700) at pthread_create.c:463
#24 0x00007ffff1b5b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 19 (Thread 0x7fff63fff700 (LWP 7388)):
#0  0x00007ffff1a78e97 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x00007ffff1a7a801 in __GI_abort () at abort.c:79
#2  0x00007ffff1ac3897 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7ffff1bf0b9a "%s\n") at ../sysdeps/posix/libc_fatal.c:181
#3  0x00007ffff1aca90a in malloc_printerr (str=str@entry=0x7ffff1bf2890 "double free or corruption (!prev)") at malloc.c:5350
#4  0x00007ffff1ad1e84 in _int_free (have_lock=0, p=0x7fff5c349ff0, av=0x7fff5c000020) at malloc.c:4281
#5  0x00007ffff1ad1e84 in __GI___libc_free (mem=0x7fff5c34a000) at malloc.c:3124
#6  0x00007ffff78cd623 in  () at /usr/lib/x86_64-linux-gnu/libgee-0.8.so.2
#7  0x00005555555d2ead in game_hub_data_db_tables_games_get_all (src=0x555555b031b0) at ../../src/data/db/tables/Games.vala:359
#8  0x0000555555596007 in __lambda28_ (_data13_=0x55555657c240) at ../../src/data/sources/steam/Steam.vala:194
#9  0x000055555559667e in ___lambda28__game_hub_utils_future (self=0x55555657c240) at ../../src/data/sources/steam/Steam.vala:191
#10 0x0000555555663f1f in game_hub_utils_worker_run (self=Python Exception <class 'ValueError'> Variable 'static_fundamental_type_nodes' not found.: 
) at ../../src/utils/Utils.vala:45
#11 0x000055555566734c in ____lambda13_ (w=Python Exception <class 'ValueError'> Variable 'static_fundamental_type_nodes' not found.: 
) at ../../src/utils/Utils.vala:200
#12 0x0000555555667385 in _____lambda13__gfunc (data=0x55555657c280, self=0x0) at ../../src/utils/Utils.vala:200
#13 0x00007ffff5ebbad0 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00007ffff5ebb105 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007fffef3a06db in start_thread (arg=0x7fff63fff700) at pthread_create.c:463
#16 0x00007ffff1b5b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 18 (Thread 0x7fff78be0700 (LWP 7387)):
#0  0x00007ffff1ace6c2 in _int_malloc (av=av@entry=0x7fff58000020, bytes=bytes@entry=7) at malloc.c:3593
#1  0x00007ffff1ad40b1 in __libc_calloc (n=<optimized out>, elem_size=<optimized out>) at malloc.c:3436
#2  0x00007ffff5e98a81 in g_malloc0 () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x000055555566a6d3 in g_unichar_to_string (self=8221) at glib-2.0.vapi:1019
#4  0x000055555566ab8c in game_hub_utils_strip_name (name=0x7fff5838d3c0 "Travel_Pack,_Version_4", keep=0x55555569363c "_.,", move_the=0) at ../../src/utils/Utils.vala:373
#5  0x0000555555573a0d in game_hub_data_runnable_set_name (self=0x7fff5c69ba30, value=0x7fff58397fe0 "Travel Pack, Version 4") at ../../src/data/Runnable.vala:44
#6  0x00005555555be663 in game_hub_data_sources_humble_humble_game_construct_from_db (object_type=140734669788256, src=0x555555cb0110, s=0x7fff58002d58) at ../../src/data/sources/humble/HumbleGame.vala:102
#7  0x00005555555bf645 in game_hub_data_sources_humble_humble_game_new_from_db (src=0x555555cb0110, s=0x7fff58002d58) at ../../src/data/sources/humble/HumbleGame.vala:98
#8  0x00005555555d2c38 in game_hub_data_db_tables_games_get_all (src=0x555555cb0110) at ../../src/data/db/tables/Games.vala:346
#9  0x00005555555bbb17 in __lambda65_ (_data20_=0x55555657c340) at ../../src/data/sources/humble/Humble.vala:141
#10 0x00005555555bd008 in ___lambda65__game_hub_utils_future (self=0x55555657c340) at ../../src/data/sources/humble/Humble.vala:138
#11 0x0000555555663f1f in game_hub_utils_worker_run (self=Python Exception <class 'ValueError'> Variable 'static_fundamental_type_nodes' not found.: 
) at ../../src/utils/Utils.vala:45
#12 0x000055555566734c in ____lambda13_ (w=Python Exception <class 'ValueError'> Variable 'static_fundamental_type_nodes' not found.: 
) at ../../src/utils/Utils.vala:200
#13 0x0000555555667385 in _____lambda13__gfunc (data=0x55555657c380, self=0x0) at ../../src/utils/Utils.vala:200
#14 0x00007ffff5ebbad0 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007ffff5ebb105 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007fffef3a06db in start_thread (arg=0x7fff78be0700) at pthread_create.c:463
#17 0x00007ffff1b5b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 17 (Thread 0x7fff793e1700 (LWP 7386)):
#0  0x00007ffff1b4ebf9 in __GI___poll (fds=fds@entry=0x7fff793decb8, nfds=nfds@entry=1, timeout=4994, timeout@entry=<error reading variable: That operation is not available on integers of more than 8 bytes.>) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff0bf4bf8 in send_dg (ansp2_malloced=0x7fff793e0268, resplen2=0x7fff793e0264, anssizp2=0x7fff793e0260, ansp2=0x7fff793e0278, anscp=0x7fff793e0270, gotsomewhere=<synthetic pointer>, v_circuit=<synthetic pointer>, ns=0, terrno=0x7fff793dec98, anssizp=0x7fff793dedd0, ansp=0x7fff793dec88, buflen2=31, buf2=0x7fff793dee20 "\016\251\001", buflen=31, buf=0x7fff793dee00 "\342\241\001", statp=<optimized out>) at res_send.c:1110
#2  0x00007ffff0bf4bf8 in __res_context_send (ctx=ctx@entry=0x7fff68004ac0, buf=buf@entry=0x7fff793dee00 "\342\241\001", buflen=buflen@entry=31, buf2=buf2@entry=0x7fff793dee20 "\016\251\001", buflen2=buflen2@entry=31, ans=<optimized out>, ans@entry=0x7fff793dfa20 "\016\251\201\200", anssiz=<optimized out>, ansp=<optimized out>, ansp2=<optimized out>, nansp2=<optimized out>, resplen2=<optimized out>, ansp2_malloced=<optimized out>) at res_send.c:517
#3  0x00007ffff0bf24d1 in __GI___res_context_query (ctx=ctx@entry=0x7fff68004ac0, name=name@entry=0x7fff540083f0 "embed.gog.com", class=class@entry=1, type=type@entry=439963904, answer=answer@entry=0x7fff793dfa20 "\016\251\201\200", anslen=anslen@entry=2048, answerp=0x7fff793e0270, answerp2=0x7fff793e0278, nanswerp2=0x7fff793e0260, resplen2=0x7fff793e0264, answerp2_malloced=0x7fff793e0268) at res_query.c:216
#4  0x00007ffff0bf328d in __res_context_querydomain (domain=0x0, answerp2_malloced=0x7fff793e0268, resplen2=0x7fff793e0264, nanswerp2=0x7fff793e0260, answerp2=0x7fff793e0278, answerp=0x7fff793e0270, anslen=2048, answer=0x7fff793dfa20 "\016\251\201\200", type=439963904, class=1, name=0x7fff540083f0 "embed.gog.com", ctx=0x7fff68004ac0) at res_query.c:601
#5  0x00007ffff0bf328d in __GI___res_context_search (ctx=ctx@entry=0x7fff68004ac0, name=name@entry=0x7fff540083f0 "embed.gog.com", class=class@entry=1, type=type@entry=439963904, answer=answer@entry=0x7fff793dfa20 "\016\251\201\200", anslen=anslen@entry=2048, answerp=0x7fff793e0270, answerp2=0x7fff793e0278, nanswerp2=0x7fff793e0260, resplen2=0x7fff793e0264, answerp2_malloced=0x7fff793e0268) at res_query.c:370
#6  0x00007fffcdd5eb56 in _nss_dns_gethostbyname4_r (name=name@entry=0x7fff540083f0 "embed.gog.com", pat=pat@entry=0x7fff793e03f8, buffer=0x7fff793e0680 "\177", buflen=1024, errnop=errnop@entry=0x7fff793e1680, herrnop=herrnop@entry=0x7fff793e16e4, ttlp=0x0) at nss_dns/dns-host.c:351
#7  0x00007ffff1b3fd55 in gaih_inet (name=name@entry=0x7fff540083f0 "embed.gog.com", service=<optimized out>, req=req@entry=0x7ffff788c080, pai=pai@entry=0x7fff793e0608, naddrs=naddrs@entry=0x7fff793e0604, tmpbuf=tmpbuf@entry=0x7fff793e0670) at ../sysdeps/posix/getaddrinfo.c:786
#8  0x00007ffff1b41ce4 in __GI_getaddrinfo (name=<optimized out>, service=<optimized out>, hints=0x7ffff788c080, pai=0x7fff793e0ad0) at ../sysdeps/posix/getaddrinfo.c:2300
#9  0x00007ffff757fc70 in  () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#10 0x00007ffff757ccf6 in  () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#11 0x00007ffff5ebbad0 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007ffff5ebb105 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007fffef3a06db in start_thread (arg=0x7fff793e1700) at pthread_create.c:463
#14 0x00007ffff1b5b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 16 (Thread 0x7fffde74f700 (LWP 7385)):
#0  0x00007ffff1b55839 in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff5ed929a in g_cond_wait_until () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff5e664f1 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff5ebbaa4 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ffff5ebb105 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fffef3a06db in start_thread (arg=0x7fffde74f700) at pthread_create.c:463
#6  0x00007ffff1b5b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 15 (Thread 0x7fff7bffd700 (LWP 7384)):
#0  0x00007ffff1b55839 in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff5ed929a in g_cond_wait_until () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff5e664f1 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff5ebbaa4 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ffff5ebb105 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fffef3a06db in start_thread (arg=0x7fff7bffd700) at pthread_create.c:463
#6  0x00007ffff1b5b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 14 (Thread 0x7fff79dff700 (LWP 7105)):
#0  0x00007ffff1b4ebf9 in __GI___poll (fds=0x7fff70001590, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff5e93539 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff5e938d2 in g_main_loop_run () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffebd4c3e0 in WTF::RunLoop::run() () at /usr/lib/x86_64-linux-gnu/libjavascriptcoregtk-4.0.so.18
#4  0x00007fffebd2433b in WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) () at /usr/lib/x86_64-linux-gnu/libjavascriptcoregtk-4.0.so.18
#5  0x00007fffebd4a629 in  () at /usr/lib/x86_64-linux-gnu/libjavascriptcoregtk-4.0.so.18
#6  0x00007fffef3a06db in start_thread (arg=0x7fff79dff700) at pthread_create.c:463
#7  0x00007ffff1b5b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 13 (Thread 0x7fff7b7fc700 (LWP 7031)):
#0  0x00007ffff1b4ebf9 in __GI___poll (fds=0x7fff6c002650, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff5e93539 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff5e938d2 in g_main_loop_run () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffebd4c3e0 in WTF::RunLoop::run() () at /usr/lib/x86_64-linux-gnu/libjavascriptcoregtk-4.0.so.18
#4  0x00007fffebd2433b in WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) () at /usr/lib/x86_64-linux-gnu/libjavascriptcoregtk-4.0.so.18
#5  0x00007fffebd4a629 in  () at /usr/lib/x86_64-linux-gnu/libjavascriptcoregtk-4.0.so.18
#6  0x00007fffef3a06db in start_thread (arg=0x7fff7b7fc700) at pthread_create.c:463
#7  0x00007ffff1b5b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7fffcd1fe700 (LWP 7025)):
#0  0x00007ffff1b4ebf9 in __GI___poll (fds=0x7fffc0001590, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff5e93539 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff5e938d2 in g_main_loop_run () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffebd4c3e0 in WTF::RunLoop::run() () at /usr/lib/x86_64-linux-gnu/libjavascriptcoregtk-4.0.so.18
#4  0x00007fffebd2433b in WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) () at /usr/lib/x86_64-linux-gnu/libjavascriptcoregtk-4.0.so.18
#5  0x00007fffebd4a629 in  () at /usr/lib/x86_64-linux-gnu/libjavascriptcoregtk-4.0.so.18
#6  0x00007fffef3a06db in start_thread (arg=0x7fffcd1fe700) at pthread_create.c:463
#7  0x00007ffff1b5b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7fffcd9ff700 (LWP 7024)):
#0  0x00007ffff1b4ebf9 in __GI___poll (fds=0x7fffc40023b0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff5e93539 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff5e938d2 in g_main_loop_run () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffebd4c3e0 in WTF::RunLoop::run() () at /usr/lib/x86_64-linux-gnu/libjavascriptcoregtk-4.0.so.18
#4  0x00007fffebd2433b in WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) () at /usr/lib/x86_64-linux-gnu/libjavascriptcoregtk-4.0.so.18
#5  0x00007fffebd4a629 in  () at /usr/lib/x86_64-linux-gnu/libjavascriptcoregtk-4.0.so.18
#6  0x00007fffef3a06db in start_thread (arg=0x7fffcd9ff700) at pthread_create.c:463
#7  0x00007ffff1b5b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7fffcf379700 (LWP 7023)):
#0  0x00007fffef3a6f85 in futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7fffcf378810, expected=0, futex_word=0x7fffcdce9060) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  0x00007fffef3a6f85 in __pthread_cond_wait_common (abstime=0x7fffcf378810, mutex=0x7fffcdce9010, cond=0x7fffcdce9038) at pthread_cond_wait.c:539
#2  0x00007fffef3a6f85 in __pthread_cond_timedwait (cond=0x7fffcdce9038, mutex=0x7fffcdce9010, abstime=0x7fffcf378810) at pthread_cond_wait.c:667
#3  0x00007fffebd4af8a in WTF::ThreadCondition::timedWait(WTF::Mutex&, WTF::WallTime) () at /usr/lib/x86_64-linux-gnu/libjavascriptcoregtk-4.0.so.18
#4  0x00007fffebd205d3 in WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) () at /usr/lib/x86_64-linux-gnu/libjavascriptcoregtk-4.0.so.18
#5  0x00007fffebd2383a in WTF::sleep(WTF::Seconds) () at /usr/lib/x86_64-linux-gnu/libjavascriptcoregtk-4.0.so.18
#6  0x00007ffff3c2a425 in  () at /usr/lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37
#7  0x00007fffebd2433b in WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) () at /usr/lib/x86_64-linux-gnu/libjavascriptcoregtk-4.0.so.18
#8  0x00007fffebd4a629 in  () at /usr/lib/x86_64-linux-gnu/libjavascriptcoregtk-4.0.so.18
#9  0x00007fffef3a06db in start_thread (arg=0x7fffcf379700) at pthread_create.c:463
#10 0x00007ffff1b5b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7fffce966700 (LWP 7022)):
#0  0x00007fffef3a6f85 in futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7fffce965af0, expected=0, futex_word=0x7fffdd115a38) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  0x00007fffef3a6f85 in __pthread_cond_wait_common (abstime=0x7fffce965af0, mutex=0x55555637eaf0, cond=0x7fffdd115a10) at pthread_cond_wait.c:539
#2  0x00007fffef3a6f85 in __pthread_cond_timedwait (cond=0x7fffdd115a10, mutex=0x55555637eaf0, abstime=0x7fffce965af0) at pthread_cond_wait.c:667
#3  0x00007fffebd5bb48 in bmalloc::Scavenger::threadRunLoop() () at /usr/lib/x86_64-linux-gnu/libjavascriptcoregtk-4.0.so.18
#4  0x00007fffebd5bdb9 in  () at /usr/lib/x86_64-linux-gnu/libjavascriptcoregtk-4.0.so.18
#5  0x00007fffe70c657f in  () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6  0x00007fffef3a06db in start_thread (arg=0x7fffce966700) at pthread_create.c:463
#7  0x00007ffff1b5b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fffdef50700 (LWP 6999)):
#0  0x00007ffff1b4ebf9 in __GI___poll (fds=0x555555a3f840, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff5e93539 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff5e9364c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffdef5836d in  () at /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#4  0x00007ffff5ebb105 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fffef3a06db in start_thread (arg=0x7fffdef50700) at pthread_create.c:463
#6  0x00007ffff1b5b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fffdfdcf700 (LWP 6998)):
#0  0x00007ffff1b4ebf9 in __GI___poll (fds=0x7fffd001ba00, nfds=12, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff5e93539 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff5e938d2 in g_main_loop_run () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff75be026 in  () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007ffff5ebb105 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fffef3a06db in start_thread (arg=0x7fffdfdcf700) at pthread_create.c:463
#6  0x00007ffff1b5b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fffe05d0700 (LWP 6997)):
#0  0x00007ffff1b4ebf9 in __GI___poll (fds=0x5555559331f0, nfds=2, timeout=2667) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff5e93539 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff5e9364c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff5e93691 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ffff5ebb105 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fffef3a06db in start_thread (arg=0x7fffe05d0700) at pthread_create.c:463
#6  0x00007ffff1b5b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7ffff7f7ef80 (LWP 6993)):
#0  0x00007ffff1b4ebf9 in __GI___poll (fds=0x7fffc40050d0, nfds=4, timeout=14) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff5e93539 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff5e9364c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff7591e3d in g_application_run () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x000055555556c21f in game_hub_application_main (args=0x7fffffffded8, args_length1=4) at ../../src/app.vala:209
#5  0x000055555556c276 in main (argc=4, argv=0x7fffffffded8) at ../../src/app.vala:194

Loads fine on reopen, still no luck actually attempting to install a trove game.

Just in case this detail has been lost in the noise, humble bundle titles work fine. Just not humble trove.

@tkashkin
Copy link
Owner

@Sanaki

Just in case this detail has been lost in the noise, humble bundle titles work fine. Just not humble trove.

That's weird. I don't know how can it be fixed and what is even wrong then.

As I said, I'm not able to test it with my own account. It would help if you had temporarily gave me credentials of a problematic account to test (with removed sensitive information, disabled 2FA and changed email/password of course). Send them to my email if you want to do this.

tkashkin added a commit that referenced this issue Jun 22, 2019
Update Humble Trove parsing (#32)
@kadogo
Copy link

kadogo commented Sep 16, 2019

Hello @tkashkin I did a test with the latest dev version (0.14.2-29-dev-2a7ac4c) appimage.

I'm not sure if the detection are ok, it show only a few games but when I try to filter on some title I find them back in my HB Library so maybe GameHub did a merge to just show me the Trove games I not have in my HB Library.

The download/install fail, it say to check if my subscription is active.
I not know well GameHub but if there is a link about how to debug and what you need I will be happy to help you.

Have a nice day.

@tkashkin
Copy link
Owner

@kadogo try #32 (comment) to see if GameHub is able to get signed download URLs.

@kadogo
Copy link

kadogo commented Sep 21, 2019

@tkashkin sorry for my answer time.

I just download the dev version but I see nothing related to URL in my terminal

$ com.github.tkashkin.gamehub --gdb --verbose
[INFO]   Restarting with GDB
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[DEBUG]  [Database.migrate] Latest db version: 8, current: 8
[Detaching after fork from child process 29808]
[Detaching after fork from child process 29809]
[Detaching after fork from child process 29810]
[Detaching after fork from child process 29811]
[INFO]   - GameHub
[INFO]       Version: 0.14.2-2a7ac4c-dev
[INFO]       Branch:  dev
[INFO]       Commit:  2a7ac4c78089d705f9ae4e2571d2d01c9d4cc3a5
[INFO]   - Environment
[Detaching after fork from child process 29812]
[INFO]       Distro:  Debian GNU/Linux 10 (buster)
[INFO]       DE:      XFCE
[INFO]       GTK:     3.24.5
[INFO]       Themes:  Xfce | Tango
[Detaching after fork from child process 29835]
[Detaching after fork from child process 29836]

I just see a notification when I click on install saying

NAME GAME: no installer available
cannot get trove downoa url
make sure your hb subscription monthly is active (something like that)

@tkashkin
Copy link
Owner

@kadogo add --debug option as well and try again

@kadogo
Copy link

kadogo commented Sep 21, 2019

@tkashkin

I tried with debug option, I have few more things in begin but nothing new when I try to install a humble trove game

$ com.github.tkashkin.gamehub --gdb --verbose --debug
[INFO]   Restarting with GDB
[DEBUG]  [Utils.run] {'gdb' '-q' '--batch' '-ex' 'set args --debug' '-ex' 'unset env G_DEBUG' '-ex' 'set pagination off' '-ex' 'handle SIGHUP nostop pass' '-ex' 'handle SIGQUIT nostop pass' '-ex' 'handle SIGPIPE nostop pass' '-ex' 'handle SIGALRM nostop pass' '-ex' 'handle SIGTERM nostop pass' '-ex' 'handle SIGUSR1 nostop pass' '-ex' 'handle SIGUSR2 nostop pass' '-ex' 'handle SIGCHLD nostop pass' '-ex' 'set print thread-events off' '-ex' 'run' '-ex' 'thread apply all bt' 'com.github.tkashkin.gamehub'}; dir: '/home/user'
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[DEBUG]  [Database.migrate] Latest db version: 8, current: 8
[Detaching after fork from child process 31397]
[Detaching after fork from child process 31398]
[Detaching after fork from child process 31399]
[Detaching after fork from child process 31400]
[INFO]   - GameHub
[INFO]       Version: 0.14.2-2a7ac4c-dev
[INFO]       Branch:  dev
[INFO]       Commit:  2a7ac4c78089d705f9ae4e2571d2d01c9d4cc3a5
[INFO]   - Environment
[Detaching after fork from child process 31401]
[INFO]       Distro:  Debian GNU/Linux 10 (buster)
[INFO]       DE:      XFCE
[INFO]       GTK:     3.24.5
[INFO]       Themes:  Xfce | Tango
[Detaching after fork from child process 31426]
[Detaching after fork from child process 31427]

@tkashkin
Copy link
Owner

@kadogo looks like --gdb option doesn't pass all parameters correctly.
Debugger shouldn't be useful here anyway, so try just --debug --verbose.

@kadogo
Copy link

kadogo commented Sep 21, 2019

@tkashkin

True, now I see "old url" and "new url"
I can use the new url in my browser for download but it look like all the old url contain "humble-trove-unsigned://" so maybe it's not the right paid trove games ?

@tkashkin
Copy link
Owner

@kadogo so signed url is correct, but GameHub still doesn't download the game? Is there anything else in log?

@kadogo
Copy link

kadogo commented Sep 21, 2019

@tkashkin

Exactlly, I see in the terminal

[DEBUG]  [Trove.sign_url] 'brokensword2_linux':'BrokenSword2_Linux_1395095896.zip' -> 'https://dl.humble.com/BrokenSword2_Linux_1395095896.zip?key=XXX'

And if I open in in my browser it work, but GameHub don't download it

tkashkin added a commit that referenced this issue Jan 4, 2020
Fix Proton prefix initialization
@forteller
Copy link

Hey. This is really cool for those with access to the Trove. But I don't, and the games from there still shows up. That's confusing and unnecessary. Could this be fixed?

I'm logged in to my Humble account, but I don't have Trove.

  • GameHub
    Version: 0.15.0-210ccf0-dev
    Branch: dev
    Commit: 210ccf0
  • Environment
    Distro: Ubuntu 19.10
    DE: ubuntu:GNOME
    GTK: 3.24.12
    Themes: Cahuella | Paper

@tkashkin
Copy link
Owner

tkashkin commented Feb 2, 2020

@forteller disable "Load games from Humble Trove" option in Settings > Humble Bundle.

@forteller
Copy link

Thanks! Is there no way of detecting this and only turn it on if you actually have access to it?

Lucki pushed a commit to Lucki/GameHub that referenced this issue Oct 30, 2021
Lucki pushed a commit to Lucki/GameHub that referenced this issue Oct 30, 2021
Lucki pushed a commit to Lucki/GameHub that referenced this issue Oct 30, 2021
Lucki pushed a commit to Lucki/GameHub that referenced this issue Oct 30, 2021
More verbose logging for Humble Trove with `--verbose` option (tkashkin#32)


Former-commit-id: 3c67adf
Lucki pushed a commit to Lucki/GameHub that referenced this issue Oct 30, 2021
Lucki pushed a commit to Lucki/GameHub that referenced this issue Oct 30, 2021
Update Humble Trove parsing (tkashkin#32)


Former-commit-id: 480c20f
Lucki pushed a commit to Lucki/GameHub that referenced this issue Oct 30, 2021
Fix Proton prefix initialization


Former-commit-id: 6057e0f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request GS: Humble Bundle Game source: Humble Bundle needs testing
Projects
None yet
Development

No branches or pull requests

5 participants