Static code analysis user interface shows no results

I have added the line:
check_tool = clangtidy in platformio.ini
and want to run static code analysis using the graphic user interface here


When I press the Inspect button I just ends up with a progressbar at 100% after some time. See here:

Why dont I see a list of defects as described here:
https://docs.platformio.org/en/latest/advanced/static-code-analysis/ui.html#
…I dont believe it is because there are none :slight_smile:

Thanks
br. Allan

What is the output of

pio check

on the PlatformIO Core CLI?

Checking v3 > clangtidy (board: yb_esp32s3_amp_v3; platform: https://github.com/pioarduino/platform-espressif32/releases/download/stable/platform-espressif32.zip; framework: arduino)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FileNotFoundError: Traceback (most recent call last):
  File "C:\Users\AllanKroghJensen\.platformio\penv\Lib\site-packages\platformio\__main__.py", line 103, in main
    cli()  # pylint: disable=no-value-for-parameter
    ^^^^^
  File "C:\Users\AllanKroghJensen\.platformio\penv\Lib\site-packages\click\core.py", line 1161, in __call__
    return self.main(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\AllanKroghJensen\.platformio\penv\Lib\site-packages\click\core.py", line 1082, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "C:\Users\AllanKroghJensen\.platformio\penv\Lib\site-packages\platformio\cli.py", line 85, in invoke
    return super().invoke(ctx)
           ^^^^^^^^^^^^^^^^^^^
  File "C:\Users\AllanKroghJensen\.platformio\penv\Lib\site-packages\click\core.py", line 1697, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\AllanKroghJensen\.platformio\penv\Lib\site-packages\click\core.py", line 1443, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\AllanKroghJensen\.platformio\penv\Lib\site-packages\click\core.py", line 788, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\AllanKroghJensen\.platformio\penv\Lib\site-packages\platformio\check\cli.py", line 156, in cli
    rc = ct.check(
         ^^^^^^^^^
  File "C:\Users\AllanKroghJensen\.platformio\penv\Lib\site-packages\platformio\check\tools\base.py", line 239, in check
    self.execute_check_cmd(cmd)
  File "C:\Users\AllanKroghJensen\.platformio\penv\Lib\site-packages\platformio\check\tools\base.py", line 192, in execute_check_cmd
    result = proc.exec_command(
             ^^^^^^^^^^^^^^^^^^
  File "C:\Users\AllanKroghJensen\.platformio\penv\Lib\site-packages\platformio\proc.py", line 114, in exec_command
    with subprocess.Popen(*args, **kwargs) as p:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\AllanKroghJensen\.platformio\python3\Lib\subprocess.py", line 1026, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Users\AllanKroghJensen\.platformio\python3\Lib\subprocess.py", line 1538, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 206] Filnavnet eller filtypenavnet er for langt

============================================================

An unexpected error occurred. Further steps:

* Verify that you have the latest version of PlatformIO using
  `python -m pip install -U platformio` command

* Try to find answer in FAQ Troubleshooting section
  https://docs.platformio.org/page/faq/index.html

* Report this problem to the developers
  https://github.com/platformio/platformio-core/issues

============================================================

…and the version of PlatformIO should be the latest one: