Please let me know if there's any more information I can provide to assist with debugging this:
Failed to execute 'python3 /usr/share/cppcheck/addons/runaddon.py /usr/share/cppcheck/addons/misra.py --cli --suppress-rules 15.5 --file-list cppcheck/cppcheck-addon-ctu-file-list'. Traceback (most recent call last):
File "/usr/share/cppcheck/addons/runaddon.py", line 8, in <module>
runpy.run_path(addon, run_name='main')
File "/usr/lib/python3.10/runpy.py", line 269, in run_path
return _run_module_code(code, init_globals, run_name,
File "/usr/lib/python3.10/runpy.py", line 96, in _run_module_code
_run_code(code, mod_globals, init_globals,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/usr/share/cppcheck/addons/misra.py", line 4704, in <module>
main()
File "/usr/share/cppcheck/addons/misra.py", line 4661, in main
checker.analyse_ctu_info(ctu_info_files)
File "/usr/share/cppcheck/addons/misra.py", line 4420, in analyse_ctu_info
for line in open(filename, 'rt'):
FileNotFoundError: [Errno 2] No such file or directory: 'cppcheck/CRC.c.analyzerinfo.ctu-info'</module></module>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Please let me know if there's any more information I can provide to assist with debugging this:
Failed to execute 'python3 /usr/share/cppcheck/addons/runaddon.py /usr/share/cppcheck/addons/misra.py --cli --suppress-rules 15.5 --file-list cppcheck/cppcheck-addon-ctu-file-list'. Traceback (most recent call last):
File "/usr/share/cppcheck/addons/runaddon.py", line 8, in <module>
runpy.run_path(addon, run_name='main')
File "/usr/lib/python3.10/runpy.py", line 269, in run_path
return _run_module_code(code, init_globals, run_name,
File "/usr/lib/python3.10/runpy.py", line 96, in _run_module_code
_run_code(code, mod_globals, init_globals,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/usr/share/cppcheck/addons/misra.py", line 4704, in <module>
main()
File "/usr/share/cppcheck/addons/misra.py", line 4661, in main
checker.analyse_ctu_info(ctu_info_files)
File "/usr/share/cppcheck/addons/misra.py", line 4420, in analyse_ctu_info
for line in open(filename, 'rt'):
FileNotFoundError: [Errno 2] No such file or directory: 'cppcheck/CRC.c.analyzerinfo.ctu-info'</module></module>
how do you execute cppcheck? do you use --addon or --dump?