platformio / platformio-home

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

Could not initialize project #8306

Open JungHanji opened 2 months ago

JungHanji commented 2 months ago

PIO Core Call Error: "The following files/directories have been created in /home/david/projects/arduesp/ESPMirror/Mirror\ninclude - Put project header files here\nlib - Put project specific (private) libraries here\nsrc - Put project source files here\nplatformio.ini - Project Configuration File\nResolving upesy_wroom dependencies...\nPlatform Manager: Installing espressif32\nDownloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%\nUnpacking 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%\nPlatform Manager: espressif32@6.7.0 has been installed!\nTool Manager: Installing espressif/toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5\nDownloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%\nUnpacking 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%\nTool Manager: toolchain-xtensa-esp32@8.4.0+2021r2-patch5 has been installed!\nTool Manager: Installing platformio/framework-arduinoespressif32 @ ~3.20016.0\nDownloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%\nUnpacking 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%\nTool Manager: framework-arduinoespressif32@3.20016.0 has been installed!\nTool Manager: Installing platformio/tool-esptoolpy @ ~1.40501.0\nDownloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%\nUnpacking 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%\nTool Manager: tool-esptoolpy@1.40501.0 has been installed!\nTool Manager: Installing platformio/tool-scons @ ~4.40700.0\nDownloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%\nUnpacking 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%\nTool Manager: tool-scons@4.40700.0 has been installed!\n\n\nFileNotFoundError: Traceback (most recent call last):\n File \"/home/david/.platformio/penv/lib/python3.12/site-packages/platformio/project/commands/init.py\", line 106, in project_init_cmd\n install_project_dependencies(\n File \"/home/david/.platformio/penv/lib/python3.12/site-packages/platformio/package/commands/install.py\", line 99, in install_project_dependencies\n with fs.cd(options[\"project_dir\"]):\n File \"/home/david/.platformio/penv/lib/python3.12/site-packages/platformio/fs.py\", line 40, in exit\n os.chdir(self.prev_path)\nFileNotFoundError: [Errno 2] No such file or directory: '/home/david/projects/arduesp/ESPMirror/Mirror'\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/david/.platformio/penv/lib/python3.12/site-packages/platformio/main.py\", line 103, in main\n cli() # pylint: disable=no-value-for-parameter\n ^^^^^\n File \"/home/david/.platformio/penv/lib/python3.12/site-packages/click/core.py\", line 1157, in call\n return self.main(args, kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/david/.platformio/penv/lib/python3.12/site-packages/click/core.py\", line 1078, in main\n rv = self.invoke(ctx)\n ^^^^^^^^^^^^^^^^\n File \"/home/david/.platformio/penv/lib/python3.12/site-packages/platformio/cli.py\", line 85, in invoke\n return super().invoke(ctx)\n ^^^^^^^^^^^^^^^^^^^\n File \"/home/david/.platformio/penv/lib/python3.12/site-packages/click/core.py\", line 1688, in invoke\n return _process_result(sub_ctx.command.invoke(sub_ctx))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/david/.platformio/penv/lib/python3.12/site-packages/click/core.py\", line 1434, in invoke\n return ctx.invoke(self.callback, ctx.params)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/david/.platformio/penv/lib/python3.12/site-packages/click/core.py\", line 783, in invoke\n return __callback(args, *kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/david/.platformio/penv/lib/python3.12/site-packages/platformio/project/commands/init.py\", line 89, in project_init_cmd\n with fs.cd(project_dir):\n File \"/home/david/.platformio/penv/lib/python3.12/site-packages/platformio/fs.py\", line 40, in exit\n os.chdir(self.prev_path)\nFileNotFoundError: [Errno 2] No such file or directory: '/home/david/projects/arduesp/ESPMirror/Mirror'\n\n============================================================\n\nAn unexpected error occurred. Further steps:\n\n Verify that you have the latest version of PlatformIO using\n python -m pip install -U platformio command\n\n Try to find answer in FAQ Troubleshooting section\n https://docs.platformio.org/page/faq/index.html\n\n Report this problem to the developers\n https://github.com/platformio/platformio-core/issues\n\n============================================================"

JungHanji commented 2 months ago

Running in cursor, appimage