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

Error Downloading HIB home #2

Open
MarcosCC opened this issue Jul 9, 2016 · 8 comments
Open

Error Downloading HIB home #2

MarcosCC opened this issue Jul 9, 2016 · 8 comments

Comments

@MarcosCC
Copy link

MarcosCC commented Jul 9, 2016

~/HBundle$ ./grab-hib.rb -d whatever > doit
Downloading HIB home ...
Logging in ...
./grab-hib.rb:209:in download_home': undefined methodfield_with' for nil:NilClass (NoMethodError)
from ./grab-hib.rb:316:in `

'

@Oblomov
Copy link
Owner

Oblomov commented Jul 9, 2016

I'm afraid the Humble guys are making it harder and harder for automatic processing to work. I've pushed an update that might or might not work. Worst case scenario, you can still grab your gamekey list manually by visiting https://www.humblebundle.com/api/v1/user/order and saving the page to disk to feed to grab-hib (don't use the -d option, just pass the saved file as argument to the program). This is now documented in the README.

@MarcosCC
Copy link
Author

So now the error is different (I haven't tried the manual way yet)

~/HBundle$ ./grab-hib.rb -d whatever > doit
/usr/lib/ruby/vendor_ruby/mechanize/http/agent.rb:316:in fetch': 400 => Net::HTTPBadRequest for https://www.humblebundle.com/login -- unhandled response (Mechanize::ResponseCodeError) from /usr/lib/ruby/vendor_ruby/mechanize.rb:562:inrequest_with_entity'
from /usr/lib/ruby/vendor_ruby/mechanize.rb:511:in post' from ./grab-hib.rb:218:inhib_login'
from ./grab-hib.rb:344:in `

'

@MarcosCC
Copy link
Author

MarcosCC commented Jul 10, 2016

In Manual mode, all the torrent one show an error, while direct downloads work.

Here an extract showing several torrents failing and a direct download working:

[2016-07-10 09:21:55.088 AWST] transmission-remote: (http://localhost:9091/transmission/rpc/) Couldn't connect to server
getting '/home/marcos/HBundle/crusaderkings2/audio/crusaderkingsii_ost_mp3_1377745298.zip' from 'https://dl.humble.com/torrents/crusaderkingsii_ost_mp3_1377745298.zip.torrent?gamekey==1468200065&t=5a0f82c845e848a915706f2691ae2cc0'
[2016-07-10 09:21:55.104 AWST] transmission-remote: (http://localhost:9091/transmission/rpc/) Couldn't connect to server
getting '/home/marcos/HBundle/crusaderkings2/audio/crusaderkingsii_ost_flac_1377745300.zip' from 'https://dl.humble.com/torrents/crusaderkingsii_ost_flac_1377745300.zip.torrent?gamekey=&ttl=1468200065&t=64420b62aae139a3340f35ef23f71d9a'
[2016-07-10 09:21:55.120 AWST] transmission-remote: (http://localhost:9091/transmission/rpc/) Couldn't connect to server
magicka
[2016-07-10 09:21:55.132 AWST] transmission-remote: (http://localhost:9091/transmission/rpc/) Couldn't connect to server
getting '/home/marcos/HBundle/magicka/audio/magicka_ost_mp3_1377745298.zip' from 'https://dl.humble.com/torrents/magicka_ost_mp3_1377745298.zip.torrent?gamekey=&ttl=1468200065&t=bd6956a8fab0e21fac9242d5f6838af3'
[2016-07-10 09:21:55.144 AWST] transmission-remote: (http://localhost:9091/transmission/rpc/) Couldn't connect to server
getting '/home/marcos/HBundle/magicka/audio/magicka_ost_flac_1377745298.zip' from 'https://dl.humble.com/torrents/magicka_ost_flac_1377745298.zip.torrent?gamekey=&ttl=1468200065&t=22944a3ea209a5fa8cbada739f2b4d74'
[2016-07-10 09:21:55.160 AWST] transmission-remote: (http://localhost:9091/transmission/rpc/) Couldn't connect to server
Manual downloads
getting bridgeconstructor_linux_1390863101.zip from https://dl.humble.com/bridgeconstructor_linux_1390863101.zip?gamekey=&ttl=1468200053&t=8515f8878f4c3f454ee616fc70cc048b
--2016-07-10 09:21:55-- https://dl.humble.com/bridgeconstructor_linux_1390863101.zip?gamekey=&ttl=1468200053&t=8515f8878f4c3f454ee616fc70cc048b
Resolving dl.humble.com (dl.humble.com)... 205.185.208.62
Connecting to dl.humble.com (dl.humble.com)|205.185.208.62|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 48631396 (46M) [application/zip]
Saving to: ‘bridgeconstructor_linux_1390863101.zip’

@MarcosCC
Copy link
Author

I removed the gamekeys from the above post.

@Oblomov
Copy link
Owner

Oblomov commented Jul 10, 2016

The transmission error is a different issue altogether. For the future,please open a separate issue.
The script generated by grab-hib uses transmission-remote to control a transmission daemon. If one isn't running, it will fail (yes, I should probably document this better).

@MarcosCC
Copy link
Author

Sorry, was not sure if ti was related.

Thanks!

@Oblomov
Copy link
Owner

Oblomov commented Jul 10, 2016

No problem, have fun with your games now ;-)

@MarcosCC
Copy link
Author

I installed transmission-remote, but did not work (debian). So I tried transmission-daemon, and after setting it to no authentication, this time it all worked. Thanks!

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

2 participants