You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I'm running the minimal example on Mac with the latest protoc 3.15.3 and the minimal example for the demo parser.
When I execute the d.parse(), I get the following errors using HLTV & Faceit demos:
Exception ignored in: 'demoparser.demofile.DemoFile.handle_data_table'
Traceback (most recent call last):
File "demoparser/demofile.pyx", line 584, in demoparser.demofile.DemoFile.parse_instance_baseline
File "demoparser/util.pyx", line 76, in demoparser.util.parse_entity_update
File "demoparser/props.pyx", line 40, in demoparser.props.Decoder.decode
File "demoparser/props.pyx", line 152, in demoparser.props.Decoder.decode_string
File "demoparser/bitbuffer.pyx", line 219, in demoparser.bitbuffer.Bitbuffer.read_string
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
---------------------------------------------------------------------------
CommandError Traceback (most recent call last)
<ipython-input-3-e323c47ae68f> in <module>
---> 14 d.parse()
~/opt/anaconda3/envs/hltvNades/lib/python3.8/site-packages/demoparser/demofile.pyx in demoparser.demofile.DemoFile.parse()
~/opt/anaconda3/envs/hltvNades/lib/python3.8/site-packages/demoparser/demofile.pyx in demoparser.demofile.DemoFile.parse()
CommandError: Unrecognized command
My Code:
import sys
from demoparser.demofile import DemoFile
def grenade_thrown(event, msg):
print(event)
print(msg)
data = open('./e2a43690-d2ac-4140-b468-322f9a03b3da.dem', "rb").read()
d = DemoFile(data)
d.add_callback('grenade_thrown', grenade_thrown)
d.parse()
Any ideas what could be wrong?
The text was updated successfully, but these errors were encountered:
Hi! I'm running the minimal example on Mac with the latest protoc 3.15.3 and the minimal example for the demo parser.
When I execute the d.parse(), I get the following errors using HLTV & Faceit demos:
My Code:
Any ideas what could be wrong?
The text was updated successfully, but these errors were encountered: