Closed AntonMalygin closed 3 years ago
Please remove a broken package that does not contain a manifest file.
How can we build with a specific version of a framework, such as:
platform = https://github.com/esp8266/Arduino/archive/78e63280ba2f736c1803bab6e82ad5a30492fc70.zip
Where that doesn't contain platform.json
file?
@HamzaHajeir you need to use https://docs.platformio.org/en/latest/projectconf/section_env_platform.html#platform-packages
Thanks for help for me..
Вторник, 22 июня 2021, 20:16 +03:00 от Ivan Kravets @.***>: @HamzaHajeir you need to use https://docs.platformio.org/en/latest/projectconf/section_env_platform.html#platform-packages — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub , or unsubscribe .
С Уважением Малыгин Антон!
I think I ended up with a partially downloaded microcontroller platform somehow and had to delete it from the .platformio folder to fix.
I'm not sure what the fix for this is, but I'm having the exact same issue. @neilmendoza what did you do to fix this? I'm very new to VSCode, Marlin and compiling. I have Auto Build Marlin and PlatformIO extensions installed in VSCode and neither seem to be able to get past this error message. Please help.
@DevlshOne I uninstalled Platformio, deleted the whole YOUR_HOME_FOLDER/.platformio folder and reinstalled in the end. Probably didn't need to go that far and just deleting the YOUR_HOME_FOLDER/.platformio/platforms/MICROCONTOLLER_YOUR_HAVING_ISSUES_WITH folder will probably work. YOUR_HOME_FOLDER/.platformio will probably be hidden, so on Mac you have to select go to folder from the Finder menu and Windows you have to show hidden folder.
I just unsintalled platform io from vscode and deleted .platformio folder from C://User/username/, then reinstalled platformio on vscode and it worked
this worked, just exiting vscode, deleting .platformio, running vscode again, and letting it install platformio again by itself.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.5 LTS
Release: 20.04
Codename: focal
PLATFORM: Espressif 32 (5.2.0) > SparkFun ESP32 MicroMod
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (cmsis-dap) 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-espidf @ 3.40402.0 (4.4.2)
- tool-cmake @ 3.16.4
- tool-esptoolpy @ 1.40201.0 (4.2.1)
- tool-ninja @ 1.7.1
- toolchain-esp32ulp @ 1.22851.191205 (2.28.51)
- toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch3
this worked, just exiting vscode, deleting .platformio, running vscode again, and letting it install platformio again by itself.
Worked for me as well. Thanks!
esphome
docker container and let them be downloaded againI stepped upon the same issue recently inside Home Assistant environment and I just figured out the solution for that one.
No possibility to install/build/compile from any configuration that uses arduino
framework.
Example of failing configuration:
esp32:
board: esp-wrover-kit
framework:
type: arduino
Loss of network on HA environment caused incomplete download of package during the build.
Steps to take:
Make sure you have terminal access to your HA instance. (I used https://github.com/hassio-addons/addon-ssh - Advanced SSH & Web Terminal)
If using above mentioned addon - make sure to disable "Safe Mode" under addon's setting. (HA Settings -> Addons -> Advanced SSH & Web Terminal -> Secure/Safe Mode -> Disable
Open terminal
List docker containers running on HA instance docker ps
The output should look more less like this:
Copy name of esphome
container
Enter shell of esphome
container
docker exec -it <container_name or container id> /bin/bash
Navigate to following path
cd /data/cache/platformio/packages
If you list the files under that directory you should see some packages
***
framework-arduinoespressif32/
framework-arduinoespressif8266/
***
Remove any arduino related directories there
rm -r framework_arduino*
Try installing / building / compiling your configuration YAML file again.
The following solution worked for me and redownloaded the corrupted arduino build tool packages. I hope this helps someone with similiar issue 😄
Solution
Please remove a broken package that does not contain a manifest file.
PIO Core Call Error: "Error: Could not find one of 'package.json' manifest files in the package"