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

thread '<unnamed>' panicked #302

Open
TomQWERTY opened this issue Oct 31, 2023 · 2 comments
Open

thread '<unnamed>' panicked #302

TomQWERTY opened this issue Oct 31, 2023 · 2 comments

Comments

@TomQWERTY
Copy link

I was trying to test awpy 2.0 dev version with some of my premier and matchmaking demos. While trying to parse one of them, I've got error message saying "thread '' panicked at D:\a\demoparser\demoparser\src\parser\src\sendtables.rs:513:20:
index out of bounds: the len is 1 but the index is 4
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace"
I don't see any reason why this happened to this very demo.
Code was just something like
from awpy import parse_demo
parsed = parse_demo(file=r"file_name.dem")
print(parsed["header"])

Here is the demo: https://drive.google.com/file/d/1r2HrcC-EcNkG3s9hpjVAizy8TroO04D3/view?usp=drive_link

It was recorded today (10/31/2023). Also maybe worth mentioning, that I have another demo that was recorded today too, and it doesn't give such an error, it is parsed fine.

@pnxenopoulos
Copy link
Owner

I think there is limited support for parsing MM-related demos currently. Guessing this was recorded as a POV demo?

@TomQWERTY
Copy link
Author

I think there is limited support for parsing MM-related demos currently. Guessing this was recorded as a POV demo?

I'm not sure what does POV demo mean, but this one was recorded by typing "record fileName" in console at the beginning of the match

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