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

cannot parse replays in ubuntu build #9

Open
giltsuker opened this issue Feb 2, 2018 · 1 comment
Open

cannot parse replays in ubuntu build #9

giltsuker opened this issue Feb 2, 2018 · 1 comment

Comments

@giltsuker
Copy link

Hi,
I have compiled the project on Ubuntu successfully but the parser does not seem to work.

I tried parsing several replay files:
./wotreplay-parser --parse --root ./ --type json --input file.wotreplay --output test.json

And I always get this error:

wotreplay-parser: <repository_path>/wotreplay-parser/src/packet.h:148: const U& wotreplay::get_field(T, T, size_t) [with U = short unsigned int; T = __gnu_cxx::__normal_iterator<unsigned char*, std::vector >; size_t = long unsigned int]: Assertion `(offset + sizeof(U)) <= std::distance(begin, end)' failed.
Aborted (core dumped)

can you help?

@pashok3d
Copy link

You can comment out assertion macro, at your own risk.

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