Metriche repository
- Star
- (7329 star)
- Metriche merge PR
- (Merge medio 109g 16h) (5 PR mergiate in 30 g)
Descrizione
I'm logged into Windows 11 Pro 22H2 (22621.3447) as a regular user (not a member of local Administrators group) and using PlatformIO Core 6.1.14·Home 3.4.4 for VS Code 1.88.0, specifically:
I'm working on wolfSSL for PlatformIO as described in https://github.com/platformio/platformio-registry/issues/85
The install of the wolfSSL library works well, but the removal (or update) from VS Code fails with this error:
Here's the full error:
WARNING: This command is deprecated and will be removed in the next releases.
Please use `pio pkg uninstall` instead.
Resolving esp32dev dependencies...
Removing wolfSSL @ 5.6.6-test7
wolfSSL@5.6.6-test7 has been removed!
[WinError 5] Access is denied: 'C:\\Users\\gojimmypi\\Documents\\PlatformIO\\Projects\\ESP_IDF_Hello_World\\.pio\\libdeps\\esp32dev\\wolfSSL\\src\\src'
Please manually remove the file `C:\Users\gojimmypi\Documents\PlatformIO\Projects\ESP_IDF_Hello_World\.pio\libdeps\esp32dev\wolfSSL\src\src`
[WinError 5] Access is denied: 'C:\\Users\\gojimmypi\\Documents\\PlatformIO\\Projects\\ESP_IDF_Hello_World\\.pio\\libdeps\\esp32dev\\wolfSSL\\src\\wolfcrypt\\src\\port\\Espressif'
Please manually remove the file `C:\Users\gojimmypi\Documents\PlatformIO\Projects\ESP_IDF_Hello_World\.pio\libdeps\esp32dev\wolfSSL\src\wolfcrypt\src\port\Espressif`
[WinError 5] Access is denied: 'C:\\Users\\gojimmypi\\Documents\\PlatformIO\\Projects\\ESP_IDF_Hello_World\\.pio\\libdeps\\esp32dev\\wolfSSL\\src\\wolfcrypt\\src\\port'
Please manually remove the file `C:\Users\gojimmypi\Documents\PlatformIO\Projects\ESP_IDF_Hello_World\.pio\libdeps\esp32dev\wolfSSL\src\wolfcrypt\src\port`
[WinError 5] Access is denied: 'C:\\Users\\gojimmypi\\Documents\\PlatformIO\\Projects\\ESP_IDF_Hello_World\\.pio\\libdeps\\esp32dev\\wolfSSL\\src\\wolfcrypt\\src'
Please manually remove the file `C:\Users\gojimmypi\Documents\PlatformIO\Projects\ESP_IDF_Hello_World\.pio\libdeps\esp32dev\wolfSSL\src\wolfcrypt\src`
[WinError 5] Access is denied: 'C:\\Users\\gojimmypi\\Documents\\PlatformIO\\Projects\\ESP_IDF_Hello_World\\.pio\\libdeps\\esp32dev\\wolfSSL\\src\\wolfcrypt'
Please manually remove the file `C:\Users\gojimmypi\Documents\PlatformIO\Projects\ESP_IDF_Hello_World\.pio\libdeps\esp32dev\wolfSSL\src\wolfcrypt`
[WinError 5] Access is denied: 'C:\\Users\\gojimmypi\\Documents\\PlatformIO\\Projects\\ESP_IDF_Hello_World\\.pio\\libdeps\\esp32dev\\wolfSSL\\src\\wolfssl\\openssl'
Please manually remove the file `C:\Users\gojimmypi\Documents\PlatformIO\Projects\ESP_IDF_Hello_World\.pio\libdeps\esp32dev\wolfSSL\src\wolfssl\openssl`
[WinError 5] Access is denied: 'C:\\Users\\gojimmypi\\Documents\\PlatformIO\\Projects\\ESP_IDF_Hello_World\\.pio\\libdeps\\esp32dev\\wolfSSL\\src\\wolfssl\\wolfcrypt'
Please manually remove the file `C:\Users\gojimmypi\Documents\PlatformIO\Projects\ESP_IDF_Hello_World\.pio\libdeps\esp32dev\wolfSSL\src\wolfssl\wolfcrypt`
[WinError 5] Access is denied: 'C:\\Users\\gojimmypi\\Documents\\PlatformIO\\Projects\\ESP_IDF_Hello_World\\.pio\\libdeps\\esp32dev\\wolfSSL\\src\\wolfssl'
Please manually remove the file `C:\Users\gojimmypi\Documents\PlatformIO\Projects\ESP_IDF_Hello_World\.pio\libdeps\esp32dev\wolfSSL\src\wolfssl`
[WinError 5] Access is denied: 'C:\\Users\\gojimmypi\\Documents\\PlatformIO\\Projects\\ESP_IDF_Hello_World\\.pio\\libdeps\\esp32dev\\wolfSSL\\src'
Please manually remove the file `C:\Users\gojimmypi\Documents\PlatformIO\Projects\ESP_IDF_Hello_World\.pio\libdeps\esp32dev\wolfSSL\src`
[WinError 5] Access is denied: 'C:\\Users\\gojimmypi\\Documents\\PlatformIO\\Projects\\ESP_IDF_Hello_World\\.pio\\libdeps\\esp32dev\\wolfSSL'
Please manually remove the file `C:\Users\gojimmypi\Documents\PlatformIO\Projects\ESP_IDF_Hello_World\.pio\libdeps\esp32dev\wolfSSL`
I'm able to otherwise manually delete the library as noted in the error message, but that is of course not ideal.
See example staging versions: https://registry.platformio.org/libraries/wolfssl-staging/wolfSSL/versions
The example above was with 5.6.6-test6 installed, attempting to remove and upgrade.
The error seems related to permissions and/or antivirus (not the library itself), as I also see this error:
Does PlatformIO modify attributes at registry library install time?
This is not limited to my wolfSSL library, as I also see the error for this Adafruit library:
Thanks for taking a look at this.