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
Describe the bug
When /build/... is locked by external process, e.g. failed poothon.exe running buggy script, attempt to do Full Clean fails with message:
Running command: d:\idIoT.Users\KDV.espressif\python_env\idf5.4_py3.11_env\Scripts\python.exe E:\ESP32\ESP-IDF\esp-idf-v5.4\tools\idf.py -B E:!Projects\Embedded!Eclipse-WS\ESP32-BME280-Brd\build fullclean
Directory 'E:!Projects\Embedded!Eclipse-WS\ESP32-BME280-Brd\build' doesn't seem to be a CMake build directory. Refusing to automatically delete files in this directory. Delete the directory manually to 'clean' it.
Executing action: fullclean
The message is totally invalid since the '/build' REMAINS CMake build directory INDEPENDENTLY it is locked by any process or not.
Expected behavior
Correct error message like 'Cannot delete .../build to accomplish task - locked by external process' is reported to user. At least 'permission denied', as windozer usually reports on deleting locked file.
Operating System: windows 11
Java Runtime Version: 23.0.2+7-58
Eclipse Version: 4.34.0.v20241120-1800
Eclipse CDT Version: 11.6.1.202406241230
IDF Eclipse Plugin Version: 3.2.0.202501110717
ESP-IDF v5.4-dirty
Python set for IDF_PYTHON_ENV: Python 3.11.5
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
Windows: invalid error message when /build folder is locked by a process
Windows: invalid error message when /build folder is locked by a process (IEP-1437)
Feb 6, 2025
Describe the bug
When /build/... is locked by external process, e.g. failed poothon.exe running buggy script, attempt to do Full Clean fails with message:
The message is totally invalid since the '/build' REMAINS CMake build directory INDEPENDENTLY it is locked by any process or not.
Expected behavior
Correct error message like 'Cannot delete .../build to accomplish task - locked by external process' is reported to user. At least 'permission denied', as windozer usually reports on deleting locked file.
Executing python E:\ESP32\ESP-IDF\esp-idf-v5.4\tools\idf_tools.py list
CDT Build environment variables
USERDOMAIN_ROAMINGPROFILE: BLACKBOX
PATH: d:\idIoT.Users\KDV.espressif\tools\xtensa-esp-elf-gdb\14.2_20240403\xtensa-esp-elf-gdb\bin;d:\idIoT.Users\KDV.espressif\tools\riscv32-esp-elf-gdb\14.2_20240403\riscv32-esp-elf-gdb\bin;d:\idIoT.Users\KDV.espressif\tools\xtensa-esp-elf\esp-14.2.0_20241119\xtensa-esp-elf\bin;d:\idIoT.Users\KDV.espressif\tools\esp-clang\esp-18.1.2_20240912\esp-clang\bin;d:\idIoT.Users\KDV.espressif\tools\riscv32-esp-elf\esp-14.2.0_20241119\riscv32-esp-elf\bin;d:\idIoT.Users\KDV.espressif\tools\esp32ulp-elf\2.38_20240113\esp32ulp-elf\bin;d:\idIoT.Users\KDV.espressif\tools\cmake\3.30.2\bin;d:\idIoT.Users\KDV.espressif\tools\openocd-esp32\v0.12.0-esp32-20241016\openocd-esp32\bin;d:\idIoT.Users\KDV.espressif\tools\ninja\1.12.1;d:\idIoT.Users\KDV.espressif\tools\idf-exe\1.0.3;d:\idIoT.Users\KDV.espressif\tools\ccache\4.10.2\ccache-4.10.2-windows-x86_64;d:\idIoT.Users\KDV.espressif\tools\dfu-util\0.11\dfu-util-0.11-win64;d:\idIoT.Users\KDV.espressif\tools\qemu-xtensa\esp_develop_9.0.0_20240606\qemu\bin;d:\idIoT.Users\KDV.espressif\tools\qemu-riscv32\esp_develop_9.0.0_20240606\qemu\bin;d:\idIoT.Users\KDV.espressif\python_env\idf5.4_py3.11_env\Scripts;E:\ESP32\ESP-IDF\esp-idf-v5.4\tools;C:\Program Files\Common Files\Oracle\Java\javapath;c:\windows\system32;c:\windows;c:\windows\system32\wbem;c:\windows\system32\windowspowershell\v1.0;d:\idiot.shitware\dotminjet-core-uninstall;d:\common.programs\git\cmd;e:\jabba\jdk\bin;e:\tools\pcad2006 viewer;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;d:\idIoT.Users\KDV\AppData\Local\Microsoft\WindowsApps;d:\Common.Programs\Git\usr\bin;e:\PIC\XC8\bin;e:\MCS51\SDCC\bin;e:\Tools\GnuCoreUtils\bin;E:\AVR\WinAVR-20100110\bin;E:\AVR\WinAVR-20100110\utils\bin;D:\idIoT.Shitware\PhornixSuite\PhoenixSuit
PROCESSOR_LEVEL: 23
SESSIONNAME: Console
=M:: M:
ALLUSERSPROFILE: d:\idIoT.ProgramData
PROCESSOR_ARCHITECTURE: AMD64
ESP_IDF_VERSION: 5.4
PSModulePath: %ProgramFiles%\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules
SystemDrive: C:
OPENOCD_SCRIPTS: d:\idIoT.Users\KDV.espressif\tools\openocd-esp32\v0.12.0-esp32-20241016\openocd-esp32\share\openocd\scripts
=E:: e:!IDE\Eclipse-JEE-2024-12-R
COMMANDER_INI: D:\idIoT.Shitware\TotalCMD Extended\wincmd.ini
IDF_DEACTIVATE_FILE_PATH: d:\IDIOT
1.USE\KDV\AppData\Local\Temp\tmpm_ijpy91idf_155681.USE\KDV\AppData\Local\TempIDF_CCACHE_ENABLE: 1
USERNAME: KDV
=Z:: Z:
ProgramFiles(x86): C:\Program Files (x86)
PhoenixPath: D:\idIoT.Shitware\PhornixSuite\PhoenixSuit
FPS_BROWSER_USER_PROFILE_STRING: Default
PATHEXT: .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
DriverData: C:\Windows\System32\Drivers\DriverData
NIEXTCCOMPILERSUPP: C:\Program Files (x86)\National Instruments\Shared\ExternalCompilerSupport\C
ProgramData: d:\idIoT.ProgramData
IDF_COMPONENT_MANAGER: 1
=F:: F:
ProgramW6432: C:\Program Files
AVR32_HOME: E:\AVR\WinAVR-20100110
COMMANDER_PATH: D:\idIoT.Shitware\TotalCMD Extended
HOMEPATH: \idIoT.Users\KDV
PROCESSOR_IDENTIFIER: AMD64 Family 23 Model 113 Stepping 0, AuthenticAMD
PYTHON_EXE_PATH: E:!IDE\KiCad 8.0.7\bin\python.exe
ProgramFiles: C:\Program Files
PUBLIC: d:\idIoT.Users\Public
windir: C:\Windows
=::: ::
LOCALAPPDATA: d:\idIoT.Users\KDV\AppData\Local
=S:: S:
COMMANDER_EXE: D:\idIoT.Shitware\TotalCMD Extended\TotalCMD64.exe
COMMANDER_DRIVE: D:
OIT_DATA_PATH: D:\idIoT.Shitware\TotalCMD Extended\Plugins\wlx\ulister
USERDOMAIN: BLACKBOX
FPS_BROWSER_APP_PROFILE_STRING: Internet Explorer
LOGONSERVER: \BLACKBOX
JAVA_HOME: e:\Jabba\jdk
=G:: G:
IDF_TOOLS_PATH: d:\idIoT.Users\KDV.espressif
KICAD_DOCUMENTS_HOME: e:!IDE\UserHome
=C:: C:
APPDATA: d:\idIoT.Users\KDV\AppData\Roaming
VBOX_MSI_INSTALL_PATH: d:\idIoT.Shitware\VirtualBox
=X:: X:
CommonProgramFiles: C:\Program Files\Common Files
Path: C:\Program Files\Common Files\Oracle\Java\javapath;c:\windows\system32;c:\windows;c:\windows\system32\wbem;c:\windows\system32\windowspowershell\v1.0;d:\idiot.shitware\dotminjet-core-uninstall;d:\common.programs\git\cmd;e:\jabba\jdk\bin;e:\tools\pcad2006 viewer;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;d:\idIoT.Users\KDV\AppData\Local\Microsoft\WindowsApps;d:\Common.Programs\Git\usr\bin;e:\PIC\XC8\bin;e:\MCS51\SDCC\bin;e:\Tools\GnuCoreUtils\bin;E:\AVR\WinAVR-20100110\bin;E:\AVR\WinAVR-20100110\utils\bin;D:\idIoT.Shitware\PhornixSuite\PhoenixSuit
OS: Windows_NT
COMPUTERNAME: BLACKBOX
IDF_PATH: E:\ESP32\ESP-IDF\esp-idf-v5.4
KICAD_CONFIG_HOME: e:!IDE\UserHome\KiCad
COMMANDER_INSTANCE: 1
PROCESSOR_REVISION: 7100
CommonProgramW6432: C:\Program Files\Common Files
ComSpec: C:\Windows\system32\cmd.exe
STM32CubeMX_PATH: e:\STM32\STM32CubeMX
IDF_MAINTAINER: 1
=D:: D:
SystemRoot: C:\Windows
TEMP: d:\IDIOT
HOMEDRIVE: d:
USERPROFILE: d:\idIoT.Users\KDV
TMP: d:\IDIOT~1.USE\KDV\AppData\Local\Temp
CommonProgramFiles(x86): C:\Program Files (x86)\Common Files
NUMBER_OF_PROCESSORS: 32
IDF_PYTHON_ENV_PATH: d:\idIoT.Users\KDV.espressif\python_env\idf5.4_py3.11_env
=Y:: Y:
ESP_ROM_ELF_DIR: d:\idIoT.Users\KDV.espressif\tools\esp-rom-elfs\20241011\
Operating System: windows 11
Java Runtime Version: 23.0.2+7-58
Eclipse Version: 4.34.0.v20241120-1800
Eclipse CDT Version: 11.6.1.202406241230
IDF Eclipse Plugin Version: 3.2.0.202501110717
ESP-IDF v5.4-dirty
Python set for IDF_PYTHON_ENV: Python 3.11.5
The text was updated successfully, but these errors were encountered: