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
Download fails 'std::invalid_argument' what(): stoi #101
Comments
|
Does this also happen with Backtrace from debug build would be helpful. |
|
Yes, it also happens with --list and --repair. That's all I have tried so far. The text output is rather long and I have yet to sanitize it. Is there a specific part that you are looking for? |
The last json output from it might be useful. Run the debug build with gdb after the downloader crashes type Output from that backtrace command would be helpful |
|
Hi, here is the requested output. terminate called after throwing an instance of 'std::invalid_argument' Thread 1 "lgogdownloader" received signal SIGABRT, Aborted. Thread 1 (Thread 0x7ffff7fadd80 (LWP 2117)): |
|
Try Hopefully it won't crash with this patch. |
|
Well, it no longer crashes. I don't think you need the entire list of games, so here is the beginning: $ lgogdownloader --list Worth mentioning is that I have the the_witcher_3_wild_hunt dlc, but not the basegame. |
|
Apparently the crash was caused by null value for updates in json. The value was probably null because of not owning the base game. |
|
Thanks, it works now. |
|
having this problem with ubuntu 18.04 ppa v 3.3 |
|
@felisucoibi does this happen with latest git version? Build a debug build and then run the debug build with gdb |
$ lgogdownloader --download
terminate called after throwing an instance of 'std::invalid_argument'
what(): stoi
Aborted (core dumped)
Happens with latest git and 3.1.
I also created fresh config, no difference.
Since both versions are affected I assume this is due to a change on gog.com.
The text was updated successfully, but these errors were encountered: