Hello Community,
I’ve had a problem since reinstalling Linux Mint 22.1 and VSCode. The project configuration in VSCode and PlatformIO aborts with the message: “fatal: No Git repository (or any of the parent directories):.git” The.git directory exists, Git status also works without errors. I am absolutely at a loss and hope for help from the community. Thank you in advance for the support. I attach the log file of the project configuration.
Mfg Helmut
Resolving esp32s3 dependencies...
Platform Manager: Installing https://github.com/pioarduino/platform-espressif32/releases/download/54.03.20/platform-espressif32.zip
Downloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Unpacking 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Platform Manager: espressif32@54.3.20 has been installed!
Tool Manager: Installing https://github.com/espressif/arduino-esp32/releases/download/3.2.0/esp32-3.2.0.zip
Downloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Unpacking 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Tool Manager: framework-arduinoespressif32@3.2.0 has been installed!
Tool Manager: Installing https://github.com/espressif/esp32-arduino-lib-builder/releases/download/idf-release_v5.4/esp32-arduino-libs-idf-release_v5.4-2f7dcd86-v1.zip
Downloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Unpacking 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Tool Manager: framework-arduinoespressif32-libs@5.4.0+sha.2f7dcd862a has been installed!
Tool Manager: Installing https://github.com/pioarduino/esp-idf/releases/download/v5.4.1/esp-idf-v5.4.1.zip
Downloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Unpacking 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Tool Manager: framework-espidf@3.50401.0 has been installed!
Tool Manager: Installing platformio/toolchain-xtensa-esp-elf @ 14.2.0+20241119
Downloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Unpacking 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Tool Manager: toolchain-xtensa-esp-elf@14.2.0+20241119 has been installed!
Tool Manager: Installing platformio/toolchain-riscv32-esp @ 14.2.0+20241119
Downloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Unpacking 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Tool Manager: toolchain-riscv32-esp@14.2.0+20241119 has been installed!
Tool Manager: Installing platformio/toolchain-esp32ulp @ ~1.23800.0
Downloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Unpacking 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Tool Manager: toolchain-esp32ulp@1.23800.240113 has been installed!
Tool Manager: Installing platformio/tool-xtensa-esp-elf-gdb @ 14.2.0+20240403
Downloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Unpacking 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Tool Manager: tool-xtensa-esp-elf-gdb@14.2.0+20240403 has been installed!
Tool Manager: Installing platformio/tool-riscv32-esp-elf-gdb @ 14.2.0+20240403
Downloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Unpacking 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Tool Manager: tool-riscv32-esp-elf-gdb@14.2.0+20240403 has been installed!
Tool Manager: Installing https://github.com/pioarduino/esptool/releases/download/v4.8.9/esptool.zip
Downloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Unpacking 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Tool Manager: tool-esptoolpy@4.8.9 has been installed!
Tool Manager: Installing tasmota/tool-mklittlefs @ ^3.2.0
Downloading 0% 10% 20% 30% 40% 50% 60% 70%
Unpacking 0% 10% 20%
Tool Manager: tool-mklittlefs@3.2.0 has been installed!
Tool Manager: Installing platformio/tool-cmake @ ~3.30.2
Downloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Unpacking 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Tool Manager: tool-cmake@3.30.2 has been installed!
Tool Manager: Installing platformio/tool-ninja @ ^1.7.0
Downloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Unpacking 0% 10% 20%
Tool Manager: tool-ninja@1.7.1 has been installed!
Tool Manager: Installing platformio/tool-scons @ ~4.40801.0
Downloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Unpacking 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Tool Manager: tool-scons@4.40801.0 has been installed!
Updating metadata for the vscode IDE...
UserSideException: Processing esp32s3 (board: ESP32-S3-DevKitC-1-N16R8; platform: https://github.com/pioarduino/platform-espressif32/releases/download/54.03.20/platform-espressif32.zip; framework: arduino, espidf)
--------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/ESP32-S3-DevKitC-1-N16R8.html
PLATFORM: Espressif 32 (54.3.20) > Espressif ESP32-S3-DevKitC-1-N16R8V (16 MB QD, 8MB PSRAM)
HARDWARE: ESP32S3 240MHz, 320KB RAM, 16MB Flash
DEBUG: Current (esp-builtin) On-board (esp-builtin) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
- framework-arduinoespressif32 @ 3.2.0
- framework-arduinoespressif32-libs @ 5.4.0+sha.2f7dcd862a
- framework-espidf @ 3.50401.0 (5.4.1)
- tool-cmake @ 3.30.2
- tool-esptoolpy @ 4.8.9
- tool-mklittlefs @ 3.2.0
- tool-ninja @ 1.7.1
- tool-riscv32-esp-elf-gdb @ 14.2.0+20240403
- tool-xtensa-esp-elf-gdb @ 14.2.0+20240403
- toolchain-esp32ulp @ 1.23800.240113 (2.38.0)
- toolchain-riscv32-esp @ 14.2.0+20241119
- toolchain-xtensa-esp-elf @ 14.2.0+20241119
Installing Arduino Python dependencies
Collecting wheel>=0.35.1
Using cached wheel-0.45.1-py3-none-any.whl.metadata (2.3 kB)
Collecting rich-click>=1.8.6
Using cached rich_click-1.8.9-py3-none-any.whl.metadata (7.9 kB)
Collecting PyYAML>=6.0.2
Using cached PyYAML-6.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB)
Collecting intelhex>=2.3.0
Using cached intelhex-2.3.0-py2.py3-none-any.whl.metadata (2.7 kB)
Requirement already satisfied: click>=7 in /home/hwh/.platformio/penv/lib/python3.12/site-packages (from rich-click>=1.8.6) (8.1.7)
Collecting rich>=10.7 (from rich-click>=1.8.6)
Using cached rich-14.0.0-py3-none-any.whl.metadata (18 kB)
Requirement already satisfied: typing_extensions>=4 in /home/hwh/.platformio/penv/lib/python3.12/site-packages (from rich-click>=1.8.6) (4.13.2)
Collecting markdown-it-py>=2.2.0 (from rich>=10.7->rich-click>=1.8.6)
Using cached markdown_it_py-3.0.0-py3-none-any.whl.metadata (6.9 kB)
Collecting pygments<3.0.0,>=2.13.0 (from rich>=10.7->rich-click>=1.8.6)
Using cached pygments-2.19.1-py3-none-any.whl.metadata (2.5 kB)
Collecting mdurl~=0.1 (from markdown-it-py>=2.2.0->rich>=10.7->rich-click>=1.8.6)
Using cached mdurl-0.1.2-py3-none-any.whl.metadata (1.6 kB)
Using cached wheel-0.45.1-py3-none-any.whl (72 kB)
Using cached rich_click-1.8.9-py3-none-any.whl (36 kB)
Using cached PyYAML-6.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (767 kB)
Using cached intelhex-2.3.0-py2.py3-none-any.whl (50 kB)
Using cached rich-14.0.0-py3-none-any.whl (243 kB)
Using cached pygments-2.19.1-py3-none-any.whl (1.2 MB)
Using cached markdown_it_py-3.0.0-py3-none-any.whl (87 kB)
Using cached mdurl-0.1.2-py3-none-any.whl (10.0 kB)
Installing collected packages: intelhex, wheel, PyYAML, pygments, mdurl, markdown-it-py, rich, rich-click
Successfully installed PyYAML-6.0.2 intelhex-2.3.0 markdown-it-py-3.0.0 mdurl-0.1.2 pygments-2.19.1 rich-14.0.0 rich-click-1.8.9 wheel-0.45.1
*** "custom_component" is used to select managed idf components ***
*** Removing component: espressif/esp_hosted
*** Removing component: espressif/esp_wifi_remote
*** Removing component: espressif/esp-dsp
*** Removing component: espressif/libsodium
*** Removing component: espressif/esp-modbus
*** Removing component: espressif/qrcode
*** Removing component: espressif/esp_insights
*** Removing component: espressif/esp_diag_data_store
*** Removing component: espressif/esp_diagnostics
*** Removing component: espressif/esp_rainmaker
*** Removing component: espressif/rmaker_common
Creating a new virtual environment for IDF Python dependencies
Installing ESP-IDF's Python dependencies
Collecting wheel>=0.35.1
Using cached wheel-0.45.1-py3-none-any.whl.metadata (2.3 kB)
Collecting urllib3<2
Using cached urllib3-1.26.20-py2.py3-none-any.whl.metadata (50 kB)
Collecting cryptography~=41.0.1
Using cached cryptography-41.0.7-cp37-abi3-manylinux_2_28_x86_64.whl.metadata (5.2 kB)
Collecting future>=0.18.3
Using cached future-1.0.0-py3-none-any.whl.metadata (4.0 kB)
Collecting pyparsing<4,>=3.1.0
Using cached pyparsing-3.2.3-py3-none-any.whl.metadata (5.0 kB)
Collecting idf-component-manager~=2.0.1
Using cached idf_component_manager-2.0.4-py3-none-any.whl.metadata (11 kB)
Collecting esp-idf-kconfig>=2.5.0
Using cached esp_idf_kconfig-3.0.0-py3-none-any.whl.metadata (15 kB)
Collecting cffi>=1.12 (from cryptography~=41.0.1)
Using cached cffi-1.17.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (1.5 kB)
Collecting click (from idf-component-manager~=2.0.1)
Using cached click-8.2.1-py3-none-any.whl.metadata (2.5 kB)
Collecting colorama (from idf-component-manager~=2.0.1)
Using cached colorama-0.4.6-py2.py3-none-any.whl.metadata (17 kB)
Collecting pyyaml (from idf-component-manager~=2.0.1)
Using cached PyYAML-6.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB)
Collecting requests (from idf-component-manager~=2.0.1)
Using cached requests-2.32.3-py3-none-any.whl.metadata (4.6 kB)
Collecting requests-file (from idf-component-manager~=2.0.1)
Using cached requests_file-2.1.0-py2.py3-none-any.whl.metadata (1.7 kB)
Collecting requests-toolbelt (from idf-component-manager~=2.0.1)
Using cached requests_toolbelt-1.0.0-py2.py3-none-any.whl.metadata (14 kB)
Collecting tqdm (from idf-component-manager~=2.0.1)
Using cached tqdm-4.67.1-py3-none-any.whl.metadata (57 kB)
Collecting jsonref (from idf-component-manager~=2.0.1)
Using cached jsonref-1.1.0-py3-none-any.whl.metadata (2.7 kB)
Collecting pydantic (from idf-component-manager~=2.0.1)
Using cached pydantic-2.11.5-py3-none-any.whl.metadata (67 kB)
Collecting pydantic-core (from idf-component-manager~=2.0.1)
Using cached pydantic_core-2.34.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.8 kB)
Collecting pydantic-settings (from idf-component-manager~=2.0.1)
Using cached pydantic_settings-2.9.1-py3-none-any.whl.metadata (3.8 kB)
Collecting pycparser (from cffi>=1.12->cryptography~=41.0.1)
Using cached pycparser-2.22-py3-none-any.whl.metadata (943 bytes)
Collecting annotated-types>=0.6.0 (from pydantic->idf-component-manager~=2.0.1)
Using cached annotated_types-0.7.0-py3-none-any.whl.metadata (15 kB)
Collecting pydantic-core (from idf-component-manager~=2.0.1)
Using cached pydantic_core-2.33.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.8 kB)
Collecting typing-extensions>=4.12.2 (from pydantic->idf-component-manager~=2.0.1)
Using cached typing_extensions-4.13.2-py3-none-any.whl.metadata (3.0 kB)
Collecting typing-inspection>=0.4.0 (from pydantic->idf-component-manager~=2.0.1)
Using cached typing_inspection-0.4.1-py3-none-any.whl.metadata (2.6 kB)
Collecting python-dotenv>=0.21.0 (from pydantic-settings->idf-component-manager~=2.0.1)
Using cached python_dotenv-1.1.0-py3-none-any.whl.metadata (24 kB)
Collecting charset-normalizer<4,>=2 (from requests->idf-component-manager~=2.0.1)
Using cached charset_normalizer-3.4.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (35 kB)
Collecting idna<4,>=2.5 (from requests->idf-component-manager~=2.0.1)
Using cached idna-3.10-py3-none-any.whl.metadata (10 kB)
Collecting certifi>=2017.4.17 (from requests->idf-component-manager~=2.0.1)
Using cached certifi-2025.4.26-py3-none-any.whl.metadata (2.5 kB)
Using cached wheel-0.45.1-py3-none-any.whl (72 kB)
Using cached urllib3-1.26.20-py2.py3-none-any.whl (144 kB)
Using cached cryptography-41.0.7-cp37-abi3-manylinux_2_28_x86_64.whl (4.4 MB)
Using cached future-1.0.0-py3-none-any.whl (491 kB)
Using cached pyparsing-3.2.3-py3-none-any.whl (111 kB)
Using cached idf_component_manager-2.0.4-py3-none-any.whl (151 kB)
Using cached esp_idf_kconfig-3.0.0-py3-none-any.whl (153 kB)
Using cached cffi-1.17.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (479 kB)
Using cached click-8.2.1-py3-none-any.whl (102 kB)
Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Using cached jsonref-1.1.0-py3-none-any.whl (9.4 kB)
Using cached pydantic-2.11.5-py3-none-any.whl (444 kB)
Using cached pydantic_core-2.33.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.0 MB)
Using cached pydantic_settings-2.9.1-py3-none-any.whl (44 kB)
Using cached PyYAML-6.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (767 kB)
Using cached requests-2.32.3-py3-none-any.whl (64 kB)
Using cached requests_file-2.1.0-py2.py3-none-any.whl (4.2 kB)
Using cached requests_toolbelt-1.0.0-py2.py3-none-any.whl (54 kB)
Using cached tqdm-4.67.1-py3-none-any.whl (78 kB)
Using cached annotated_types-0.7.0-py3-none-any.whl (13 kB)
Using cached certifi-2025.4.26-py3-none-any.whl (159 kB)
Using cached charset_normalizer-3.4.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (148 kB)
Using cached idna-3.10-py3-none-any.whl (70 kB)
Using cached python_dotenv-1.1.0-py3-none-any.whl (20 kB)
Using cached typing_extensions-4.13.2-py3-none-any.whl (45 kB)
Using cached typing_inspection-0.4.1-py3-none-any.whl (14 kB)
Using cached pycparser-2.22-py3-none-any.whl (117 kB)
Installing collected packages: wheel, urllib3, typing-extensions, tqdm, pyyaml, python-dotenv, pyparsing, pycparser, jsonref, idna, future, esp-idf-kconfig, colorama, click, charset-normalizer, certifi, annotated-types, typing-inspection, requests, pydantic-core, cffi, requests-toolbelt, requests-file, pydantic, cryptography, pydantic-settings, idf-component-manager
Successfully installed annotated-types-0.7.0 certifi-2025.4.26 cffi-1.17.1 charset-normalizer-3.4.2 click-8.2.1 colorama-0.4.6 cryptography-41.0.7 esp-idf-kconfig-3.0.0 future-1.0.0 idf-component-manager-2.0.4 idna-3.10 jsonref-1.1.0 pycparser-2.22 pydantic-2.11.5 pydantic-core-2.33.2 pydantic-settings-2.9.1 pyparsing-3.2.3 python-dotenv-1.1.0 pyyaml-6.0.2 requests-2.32.3 requests-file-2.1.0 requests-toolbelt-1.0.0 tqdm-4.67.1 typing-extensions-4.13.2 typing-inspection-0.4.1 urllib3-1.26.20 wheel-0.45.1
Warning! Arduino framework as an ESP-IDF component doesn't handle the `variant` field! The default `esp32` variant will be used.
Reading CMake configuration...
-- git rev-parse returned 'fatal: Kein Git-Repository (oder irgendeines der Elternverzeichnisse): .git'
-- Building ESP-IDF components for target esp32s3
Processing 11 dependencies:
[1/11] chmorgan/esp-libhelix-mp3 (1.0.3)
[2/11] espressif/cbor (0.6.0~1)
[3/11] espressif/esp-dsp (1.4.12)
[4/11] espressif/esp-sr (1.9.5)
[5/11] espressif/esp-zboss-lib (1.6.3)
[6/11] espressif/esp-zigbee-lib (1.6.3)
[7/11] espressif/esp_modem (1.4.0)
[8/11] espressif/mdns (1.8.2)
[9/11] espressif/network_provisioning (1.0.2)
[10/11] joltwallet/littlefs (1.20.0)
[11/11] idf (5.4.1)
-- Project sdkconfig file /home/hwh/Projects/Radio/ESP32-MiniWebRadio/sdkconfig.esp32s3
-- Configuring incomplete, errors occurred!
fatal: Kein Git-Repository (oder irgendeines der Elternverzeichnisse): .git
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/home/hwh/.platformio/penv/.espidf-5.4.1/lib/python3.12/site-packages/kconfgen/__main__.py", line 5, in <module>
from .core import main
File "/home/hwh/.platformio/penv/.espidf-5.4.1/lib/python3.12/site-packages/kconfgen/core.py", line 29, in <module>
import esp_idf_kconfig.gen_kconfig_doc as gen_kconfig_doc
File "/home/hwh/.platformio/penv/.espidf-5.4.1/lib/python3.12/site-packages/esp_idf_kconfig/gen_kconfig_doc.py", line 14, in <module>
import kconfiglib.core as kconfiglib
File "/home/hwh/.platformio/penv/.espidf-5.4.1/lib/python3.12/site-packages/kconfiglib/__init__.py", line 3, in <module>
from .core import Kconfig # noqa F401
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hwh/.platformio/penv/.espidf-5.4.1/lib/python3.12/site-packages/kconfiglib/core.py", line 27, in <module>
from kconfiglib.report import PRAGMA_PREFIX
File "/home/hwh/.platformio/penv/.espidf-5.4.1/lib/python3.12/site-packages/kconfiglib/report.py", line 29, in <module>
from rich import print as rprint
ModuleNotFoundError: No module named 'rich'
CMake Error at /home/hwh/.platformio/packages/framework-espidf/tools/cmake/kconfig.cmake:209 (message):
Failed to run kconfgen
(/home/hwh/.platformio/penv/.espidf-5.4.1/bin/python;-m;kconfgen;--list-separator=semicolon;--kconfig;/home/hwh/.platformio/packages/framework-espidf/Kconfig;--sdkconfig-rename;/home/hwh/.platformio/packages/framework-espidf/sdkconfig.rename;--config;/home/hwh/Projects/Radio/ESP32-MiniWebRadio/sdkconfig.esp32s3;--env-file;/home/hwh/Projects/Radio/ESP32-MiniWebRadio/.pio/build/esp32s3/config.env).
Error 1
Call Stack (most recent call first):
/home/hwh/.platformio/packages/framework-espidf/tools/cmake/build.cmake:681 (__kconfig_generate_config)
/home/hwh/.platformio/packages/framework-espidf/tools/cmake/project.cmake:717 (idf_build_process)
CMakeLists.txt:3 (project)
========================= [FAILED] Took 20.11 seconds =========================
Environment Status Duration
------------- -------- ------------
esp32s3 FAILED 00:00:20.109
==================== 1 failed, 0 succeeded in 00:00:20.109 ====================type or paste code here