platformio / platformio-home

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

Could not initialize project #4685

Closed shardul10 closed 2 years ago

shardul10 commented 2 years ago

PIO Core Call Error: "The current working directory /Users/Shardul/Documents/PlatformIO/Projects/WebSocketTest will be used for the project.\n\nThe next files/directories have been created in /Users/Shardul/Documents/PlatformIO/Projects/WebSocketTest\ninclude - Put project header files here\nlib - Put here project specific (private) libraries\nsrc - Put project source files here\nplatformio.ini - Project Configuration File\nResolving esp32dev dependencies...\nAlready up-to-date.\nUpdating metadata for the vscode IDE...\n\n\nError: Processing esp32dev (platform: espressif32; board: esp32dev; framework: arduino)\n--------------------------------------------------------------------------------\nVerbose mode can be enabled via -v, --verbose option\nCONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32dev.html\nPLATFORM: Espressif 32 (5.0.0) > Espressif ESP32 Dev Module\nHARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash\nDEBUG: 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)\nPACKAGES: \n - framework-arduinoespressif32 @ 3.20003.220626 (2.0.3) \n - tool-esptoolpy @ 1.30300.0 (3.3.0) \n - toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch3\nKeyError: 'IDE_EXTRA_DATA':\n File \"/Users/Shardul/.platformio/penv/lib/python3.9/site-packages/platformio/builder/main.py\", line 188:\n env.SConscript(\"$BUILD_SCRIPT\")\n File \"/Users/Shardul/.platformio/packages/tool-scons/scons-local-4.4.0/SCons/Script/SConscript.py\", line 597:\n return _SConscript(self.fs, *files, subst_kw)\n File \"/Users/Shardul/.platformio/packages/tool-scons/scons-local-4.4.0/SCons/Script/SConscript.py\", line 285:\n exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)\n File \"/Users/Shardul/.platformio/platforms/espressif32/builder/main.py\", line 283:\n target_elf = env.BuildProgram()\n File \"/Users/Shardul/.platformio/packages/tool-scons/scons-local-4.4.0/SCons/Util.py\", line 737:\n return self.method(*nargs, *kwargs)\n File \"/Users/Shardul/.platformio/penv/lib/python3.9/site-packages/platformio/builder/tools/piobuild.py\", line 60:\n env.ProcessProgramDeps()\n File \"/Users/Shardul/.platformio/packages/tool-scons/scons-local-4.4.0/SCons/Util.py\", line 737:\n return self.method(nargs, kwargs)\n File \"/Users/Shardul/.platformio/penv/lib/python3.9/site-packages/platformio/builder/tools/piobuild.py\", line 120:\n env.BuildFrameworks(env.get(\"PIOFRAMEWORK\"))\n File \"/Users/Shardul/.platformio/packages/tool-scons/scons-local-4.4.0/SCons/Util.py\", line 737:\n return self.method(*nargs, kwargs)\n File \"/Users/Shardul/.platformio/penv/lib/python3.9/site-packages/platformio/builder/tools/piobuild.py\", line 326:\n SConscript(env.GetFrameworkScript(name), exports=\"env\")\n File \"/Users/Shardul/.platformio/packages/tool-scons/scons-local-4.4.0/SCons/Script/SConscript.py\", line 660:\n return method(*args, *kw)\n File \"/Users/Shardul/.platformio/packages/tool-scons/scons-local-4.4.0/SCons/Script/SConscript.py\", line 597:\n return _SConscript(self.fs, files, subst_kw)\n File \"/Users/Shardul/.platformio/packages/tool-scons/scons-local-4.4.0/SCons/Script/SConscript.py\", line 285:\n exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)\n File \"/Users/Shardul/.platformio/platforms/espressif32/builder/frameworks/arduino.py\", line 44:\n env[\"IDE_EXTRA_DATA\"].update({\"application_offset\": env.subst(\"$ESP32_APP_OFFSET\")})\n File \"/Users/Shardul/.platformio/packages/tool-scons/scons-local-4.4.0/SCons/Environment.py\", line 387:\n return self._dict[key]\n========================== [FAILED] Took 0.19 seconds =========================="

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. Please provide more details or it will be closed if no further activity occurs. Thank you for your contributions.