platformio / platformio-home

PlatformIO Home
https://docs.platformio.org/page/home/index.html
Apache License 2.0
111 stars 65 forks source link

Could not initialize project #8939

Open jaggomes opened 2 weeks ago

jaggomes commented 2 weeks ago

PIO Core Call Error: "The following files/directories have been created in E:\Documents\PlatformIO\Projects\d1_mqtt\r\ninclude - Put project header files here\r\nlib - Put project specific (private) libraries here\r\nsrc - Put project source files here\r\nplatformio.ini - Project Configuration File\r\nResolving d1_mini dependencies...\r\nAlready up-to-date.\r\nUpdating metadata for the vscode IDE...\r\n\n\nUserSideException: Processing d1_mini (platform: espressif8266; board: d1_mini; framework: arduino)\r\n--------------------------------------------------------------------------------\r\nVerbose mode can be enabled via -v, --verbose option\r\nCONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/d1_mini.html\r\nPLATFORM: Espressif 8266 (4.2.1) > WeMos D1 R2 and mini\r\nHARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash\r\nPACKAGES: \r\n - framework-arduinoespressif8266 @ 3.30102.0 (3.1.2) \r\n - tool-esptool @ 1.413.0 (4.13) \r\n - tool-esptoolpy @ 1.30000.201119 (3.0.0) \r\n - toolchain-xtensa @ 2.100300.220621 (10.3.0)\r\nLDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf\r\nLDF Modes: Finder ~ chain, Compatibility ~ soft\r\nFound 0 compatible libraries\r\nScanning dependencies...\r\nNo dependencies\r\nBuilding in release mode\r\nAttributeError: 'SConsEnvironment' object has no attribute 'ElfToBin':\r\n File \"C:\Users\jose.gomes\.platformio\penv\Lib\site-packages\platformio\builder\main.py\", line 173:\r\n env.SConscript(\"$BUILD_SCRIPT\")\r\n File \"C:\Users\jose.gomes\.platformio\packages\tool-scons\scons-local-4.8.1\SCons\Script\SConscript.py\", line 620:\r\n return _SConscript(self.fs, *files, **subst_kw)\r\n File \"C:\Users\jose.gomes\.platformio\packages\tool-scons\scons-local-4.8.1\SCons\Script\SConscript.py\", line 280:\r\n exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)\r\n File \"C:\Users\jose.gomes\.platformio\platforms\espressif8266\builder\main.py\", line 247:\r\n target_firm = env.ElfToBin(\r\n========================== [FAILED] Took 0.89 seconds =========================="