libyal / winevt-kb

Windows Event Log Knowledge Base
Apache License 2.0
16 stars 5 forks source link

AttributeError: 'module' object has no attribute 'MESSAGE_FILE_TYPE_EVENT' #13

Closed SkiTheSlicer closed 2 years ago

SkiTheSlicer commented 7 years ago

After installing dependencies, cloning and installing master, running export.py --db winevt-rc_new.db --string_format pep3101 dir_from_extract/ results in: AttributeError: 'module' object has no attribute 'MESSAGE_FILE_TYPE_EVENT'

Fixed with:

unzip /usr/local/lib/python2.7/dist-packages/winevtrc-20160418-py2.7.egg EGG-INFO/scripts/export.py
sed -i 's|database.MESSAGE_FILE_TYPE_EVENT|database.definitions.MESSAGE_FILE_TYPE_EVENT|' EGG-INFO/scripts/export.py
sudo zip -u /usr/local/lib/python2.7/dist-packages/winevtrc-20160418-py2.7.egg EGG-INFO/scripts/export.py
joachimmetz commented 7 years ago

Thx for the report. I'll have a look if I reproduce this when time permits. Currently I'm working on improving test coverage, for better plaso integration eventually.

joachimmetz commented 2 years ago

Looks like the issue has been addressed in the meantime