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

Crash in boost regex when trying to download Metro Exodus (Gold Edition) #266

Open
gurrsoft opened this issue Apr 17, 2024 · 2 comments
Open

Comments

@gurrsoft
Copy link

Command used to initiate download (with config file containing some other default values such as location and language; downloader work for several other games):
lgogdownloader --download --game "metro_exodus"

Crash message:
terminate called after throwing an instance of 'boost::wrapexcept<boost::regex_error>' what(): Unmatched [ or [^ in character class declaration. The error occurred while parsing the regular expression fragment: 'exodus>>>HERE>>>'.

Not sure if there is anything else I could try, but if any has any idea or more information is needed, please let me know. Metro series is at a deep discount ATM, the other two older instalment I also own, those downloaded just fine, only Metro Exodus is giving me a crash. I purchased it as 'Gold Edition' that includes 2 DLCs (not sure if it has any bearings on the crashes, but maybe worth mentioning).

@gurrsoft
Copy link
Author

Today I purchased another game; after the purchase I made an attempt to download it's installer files with lgogdownloader, just to get surprised by the above error message. My surprise only grew when the - after reporting the error for the new game - it just continued and downloaded the above listed, prior failing game, metro_exodus!

As I eyeballed the GoG website 'My collection' with a numb brain, I have spotted that my 'new game' is now first in the listing, as it's name starts with the letter 'B'... Interesting... What are my chances that if I buy another game, that is even further ahead in the alphabet, that will fail to download and suddenly the newly purchased game get 'fixed'? Time for an experiment, I guess; let's see what's the cheapest game I can grab from the head of the (alphabetical) list?

The winner turned out to be: '8-Bit Adventures 2: Demo'; it costs exactly nothing (as it is for Free). I am now getting an error trying to download this game, but both Metro Exodus and the other newly purchased game are now successfully downloading.

Looks like lgogdownloader currently is having some beef with how the list of owned games start, breaking the regex in the aforementioned place.

@gurrsoft
Copy link
Author

Another game purchase another issue another theory... Looks like the issue might be caused by the 'new' label shown over the game purchased. First download wasn't working with the above error, but after clicking the game on the GoG 'shelf' (and reloading the page that confirmed the 'new' label gone) the download started working!

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

1 participant