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 #8942

Open TristanCORNILY opened 2 weeks ago

TristanCORNILY commented 2 weeks ago

PIO Core Call Error: "The following files/directories have been created in /Users/tristancornily/Documents/PlatformIO/Projects/Project 2 \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 nanoatmega328new dependencies...\nAlready up-to-date.\nUpdating metadata for the vscode IDE...\n\n\nUserSideException: Processing nanoatmega328new (platform: atmelavr; board: nanoatmega328new; framework: arduino)\n--------------------------------------------------------------------------------\nVerbose mode can be enabled via -v, --verbose option\nFileNotFoundError: [Errno 2] No such file or directory: '/Users/tristancornily/Documents/PlatformIO/Projects/Project 2':\n File \"/Users/tristancornily/.platformio/penv/lib/python3.11/site-packages/platformio/builder/main.py\", line 158:\n env.LoadPioPlatform()\n File \"/Users/tristancornily/.platformio/packages/tool-scons/scons-local-4.8.1/SCons/Util/envs.py\", line 252:\n return self.method(*nargs, *kwargs)\n File \"/Users/tristancornily/.platformio/penv/lib/python3.11/site-packages/platformio/builder/tools/pioplatform.py\", line 102:\n board_config = env.BoardConfig()\n File \"/Users/tristancornily/.platformio/packages/tool-scons/scons-local-4.8.1/SCons/Util/envs.py\", line 252:\n return self.method(nargs, **kwargs)\n File \"/Users/tristancornily/.platformio/penv/lib/python3.11/site-packages/platformio/builder/tools/pioplatform.py\", line 44:\n with fs.cd(env.subst(\"$PROJECT_DIR\")):\n File \"/Users/tristancornily/.platformio/penv/lib/python3.11/site-packages/platformio/fs.py\", line 37:\n os.chdir(self.new_path)\n========================== [FAILED] Took 0.39 seconds =========================="