2024-07-02 16:53:59 - INFO - start create EVTX.
2024-07-02 16:53:59 - INFO - read C:\temp\eventlogDGN.xml
2024-07-02 16:53:59 - INFO - finised chank 0.
Traceback (most recent call last):
File "C:\...\xml2evtx\xml2evtx.py", line 816, in <module>
main()
File "C:\...\xml2evtx\xml2evtx.py", line 792, in main
total_event_count, total_chunk_count, evtx_chunk = process_xml_file(args.xml)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\...\xml2evtx\xml2evtx.py", line 756, in process_xml_file
evtx_chunk += create_chunk(binxml, total_event_count, total_chunk_count)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\...\xml2evtx\xml2evtx.py", line 645, in create_chunk
offset = pack("I", result.start())
^^^^^^
UnboundLocalError: cannot access local variable 'result' where it is not associated with a value
The pip installed worked.
Thank you.
When I try to run the script on an XML I get:
The pip installed worked.
Thank you.