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
There should be a normal hard error in this case, not a crash
CodeChecker checkers
WARNING 2024-10-21 16:37] - 'diagtool' can not be found next to the clang binary (/usr/bin/ccache)!
Traceback (most recent call last):
File "/local/workspace/codechecker/build/CodeChecker/lib/python3/codechecker_common/cli.py", line 208, in main
sys.exit(args.func(args))
File "/local/workspace/codechecker/build/CodeChecker/lib/python3/codechecker_analyzer/cmd/checkers.py", line 607, in main
__print_checkers(args, cl)
File "/local/workspace/codechecker/build/CodeChecker/lib/python3/codechecker_analyzer/cmd/checkers.py", line 475, in __print_checkers
checker_info = __get_detailed_checker_info(args, cl)
File "/local/workspace/codechecker/build/CodeChecker/lib/python3/codechecker_analyzer/cmd/checkers.py", line 228, in __get_detailed_checker_info
analyzer_config_map = analyzer_types.build_config_handlers(
File "/local/workspace/codechecker/build/CodeChecker/lib/python3/codechecker_analyzer/analyzers/analyzer_types.py", line 258, in build_config_handlers
config_handler = supported_analyzers[ea].construct_config_handler(args)
File "/local/workspace/codechecker/build/CodeChecker/lib/python3/codechecker_analyzer/analyzers/clangtidy/analyzer.py", line 691, in construct_config_handler
checkers = ClangTidy.get_analyzer_checkers()
File "/local/workspace/codechecker/build/CodeChecker/lib/python3/codechecker_analyzer/analyzers/clangtidy/analyzer.py", line 289, in get_analyzer_checkers
for warning in get_warnings())
File "/local/workspace/codechecker/build/CodeChecker/lib/python3/codechecker_analyzer/analyzers/clangtidy/analyzer.py", line 151, in get_warnings
environment = analyzer_context.get_context().get_env_for_bin(diagtool_bin)
File "/local/workspace/codechecker/build/CodeChecker/lib/python3/codechecker_analyzer/analyzer_context.py", line 207, in get_env_for_bin
bin_path = Path(binary).resolve()
File "/usr/lib/python3.8/pathlib.py", line 1042, in __new__
self = cls._from_parts(args, init=False)
File "/usr/lib/python3.8/pathlib.py", line 683, in _from_parts
drv, root, parts = self._parse_args(args)
File "/usr/lib/python3.8/pathlib.py", line 667, in _parse_args
a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType
The text was updated successfully, but these errors were encountered:
There should be a normal hard error in this case, not a crash
The text was updated successfully, but these errors were encountered: