You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I have this crash when analysing a sysdiagnose either with ps_everywhere or with logarchive parser:
File "/home/etienne/tools/forensic/sysdiagnose/src/sysdiagnose/parsers/logarchive.py", line 76, in get_result
self.save_result()
~~~~~~~~~~~~~~~~^^
File "/home/etienne/tools/forensic/sysdiagnose/src/sysdiagnose/parsers/logarchive.py", line 99, in save_result
LogarchiveParser.parse_all_to_file(self.get_log_files(), self.output_file)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/etienne/tools/forensic/sysdiagnose/src/sysdiagnose/parsers/logarchive.py", line 167, in parse_all_to_file
LogarchiveParser.parse_folder_to_file(folders[0], output_file)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/etienne/tools/forensic/sysdiagnose/src/sysdiagnose/parsers/logarchive.py", line 200, in parse_folder_to_file
LogarchiveParser.__convert_using_unifiedlogparser(input_folder, output_file)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/etienne/tools/forensic/sysdiagnose/src/sysdiagnose/parsers/logarchive.py", line 251, in __convert_using_unifiedlogparser
entry_json = LogarchiveParser.convert_entry_to_unifiedlog_format(json.loads(line))
File "/home/etienne/tools/forensic/sysdiagnose/src/sysdiagnose/parsers/logarchive.py", line 346, in convert_entry_to_unifiedlog_format
for key, value in entry.items():
^^^^^^^^^^^
AttributeError: 'list' object has no attribute 'items'
I am using the latest version from git (5156d80) on python 3.13.0
The text was updated successfully, but these errors were encountered:
@Te-k I'm happy to support and solve the issue you have, but would need a tiny bit more info.
Disregard my previous question, considering the folder /home it is Linux.
Would you be able to run the code in a debugger and share the content of entry?
Hi, I have this crash when analysing a sysdiagnose either with
ps_everywhere
or withlogarchive
parser:I am using the latest version from git (5156d80) on python 3.13.0
The text was updated successfully, but these errors were encountered: