EventMonkey icon indicating copy to clipboard operation
EventMonkey copied to clipboard

WindowsEventManager.py error

Open ormojo23 opened this issue 9 years ago • 1 comments

encountered a situation where jrec was None, which caused the sql_insert() at line 703 to throw an unhandled exception. I know enough Python to have inserted

if jrec is None: return

before line 693, which fixed the issue I was having. Unfortunately I can't share the event log that caused the problem.

thanks for a very useful tool!

ormojo23 avatar Oct 02 '16 21:10 ormojo23

Can you post the exact error message? The problem with returning if jrec is None is that it can be common to have jrec as None for recovered event logs because the record is corrupted, But you could still have a partial record recovered and thus still have something to insert into the database.

devgc avatar Oct 07 '16 13:10 devgc