williballenthin/python-evtx

r.root() error

Opened this issue · 1 comments

In evtx_record_template.py
Runtime error:

print(e_views.evtx_template_readable_view(r.root()))
AttributeError: 'NoneType' object has no attribute 'root'

How do I solve this?

this happens because the given record is not found. i'll update the script to print a better error message.