From https://github.com/ydkhatri/UnifiedLogReader/blob/master/UnifiedLog/Lib.py#L300
elif item_id == 0x6102: # uuid
self.system_boot_uuid = UUID(bytes=buffer[pos:pos+16])
self.boot_uuid_ts_list = GetBootUuidTimeSyncList(self.ts_list, self.system_boot_uuid)
if not self.boot_uuid_ts_list:
raise ValueError('Could not get Timesync for boot uuid! Cannot parse file..')
If self.boot_uuid_ts_list is an empty list the tracev3 file fails to parse.
I've change this to if self.boot_uuid_ts_list is None:, since GetBootUuidTimeSyncList returns None if it cannot find a Timesync corresponding with the boot identifier.
Let me know if this matched the intended behavior
From https://github.com/ydkhatri/UnifiedLogReader/blob/master/UnifiedLog/Lib.py#L300
If
self.boot_uuid_ts_listis an empty list the tracev3 file fails to parse.I've change this to
if self.boot_uuid_ts_list is None:, sinceGetBootUuidTimeSyncListreturns None if it cannot find a Timesync corresponding with the boot identifier.Let me know if this matched the intended behavior