Open ormojo23 opened 7 years ago
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.
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!