devgc / EventMonkey

A Windows Event Processing Utility
Apache License 2.0
46 stars 3 forks source link

Traceback Error #16

Closed mbrgpt closed 7 years ago

mbrgpt commented 7 years ago

Trying this out for the first time and kept getting the following error:

Traceback (most recent call last): File "H:\Downloads\EventMonkey-master\EventMonkey.py", line 43, in import libem.WindowsEventManager as WindowsEventManager File "H:\Downloads\EventMonkey-master\libem\WindowsEventManager.py", line 121 print u'File needs .evt or .evtx extention. {}'.format(DEBUG_FILE)

devgc commented 7 years ago

Are you using the compiled version?

devgc commented 7 years ago

Can you give the command you used?

mbrgpt commented 7 years ago

EventMonkey.py process -n NAME -p PATHTOLOGS -o OUTPUT

devgc commented 7 years ago

I cannot seem reproduce. That error is coming from a function that gets called if you are running WindowsEventManger.py as the main script. I'm not sure why it is executing when you are running EventMonkey.py as the main script. I went ahead and removed it though. Try installing (setup.py install) from the main branch now and see if it is fixed. I have only ever ran with python 27 in Windows, not sure if that makes a difference or not either.

mbrgpt commented 7 years ago

I will try the suggestions. I am running 3.5.1; I will also try 2.7.