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

DemoParser.Exception: EntityNotFound #303

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

DemoParser.Exception: EntityNotFound #303

TomQWERTY opened this issue Oct 31, 2023 · 3 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 some of them, I was getting error message saying:
"Traceback (most recent call last):
File "f:...\awpy2test.py", line 3, in
parsed = parse_demo(file=r"file_name.dem") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\username\AppData\Local\Programs\Python\Python311\Lib\site-packages\awpy\parser\demoparser.py", line 374, in parse_demo
parsed_round_events = parser.parse_events(
^^^^^^^^^^^^^^^^^^^^
DemoParser.Exception: EntityNotFound"

My code:
from awpy import parse_demo
parsed = parse_demo(file=r"file_name.dem")
print(parsed["header"])

I got few different demos that are throwing this error, some newer, some older, so here is one of them: https://drive.google.com/file/d/1RqA2JcV_GoPBc7kk3AzifacPUq0eWb99/view?usp=drive_link

This demo 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

Is this a POV demo?

@TomQWERTY
Copy link
Author

Is this a POV demo?

If POV demo is a demo recorded with typing "record fileName" in console, then yes

@JanEricNitschke
Copy link
Collaborator

Yes, those are POV demos.

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

3 participants