Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.

ErrUnexpectedEndOfDemo raised on some demos #46

Closed
ityshchenko opened this issue Jul 4, 2020 · 2 comments
Closed

ErrUnexpectedEndOfDemo raised on some demos #46

ityshchenko opened this issue Jul 4, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@ityshchenko
Copy link

Describe the bug
Pick-up any archive from list and extract then and run csminify < $file > `$file`.json for any file.

To Reproduce
Download links:

Expected behavior
Get ticks dumps for further processing.

Library version

  • cs-demo-minifier v0.4.3
  • demoinfocs-golang v2.2.0

Additional context
Usually, RMR-events conducted with pinned CS: GO server version.

@markus-wa markus-wa transferred this issue from markus-wa/demoinfocs-golang Jul 4, 2020
@markus-wa
Copy link
Owner

Hi @TihonV, thanks for the report

I've transferred this issue to the minifier repo.
The parser is correct in reporting this error, but the minifier should still generate a minified replay despite the error.

This happens if the demo is improperly recorded, which some happens in some tournaments.
It means that we expected more data but the stream got terminated. Usually the data we have is enough and recording was forcefully terminated after the match completed.

Working on a fix now.

@markus-wa
Copy link
Owner

fixed in v0.4.4

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants