platformio / platformio-home

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

Could not initialize project #3191

Closed Slyke closed 2 years ago

Slyke commented 3 years ago

Getting this error when trying to create a new project. Seems like it's using Windows' \ in the project path name.

PIO Core Call Error: "The current working directory /home/slyke/Documents/PlatformIO/Projects\Test will be used for the project.\n\nThe next files/directories have been created in /home/slyke/Documents/PlatformIO/Projects\Test\ninclude - Put project header files here\nlib - Put here project specific (private) libraries\nsrc - Put project source files here\nplatformio.ini - Project Configuration File\n\n\nError: Processing m5stack-core2 (platform: espressif32; board: m5stack-core2; framework: espidf)\n--------------------------------------------------------------------------------\nVerbose mode can be enabled via -v, --verbose option\nCONFIGURATION: https://docs.platformio.org/page/boards/espressif32/m5stack-core2.html\nPLATFORM: Espressif 32 (3.3.2) > M5Stack Core2\nHARDWARE: ESP32 240MHz, 4.31MB RAM, 16MB Flash\nDEBUG: Current (esp-prog) External (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-espidf 3.40300.0 (4.3.0) \n - tool-cmake 3.16.4 \n - tool-esptoolpy 1.30100.210531 (3.1.0) \n - tool-ninja 1.7.1 \n - toolchain-esp32ulp 1.22851.191205 (2.28.51) \n - toolchain-xtensa32 2.80400.210211 (8.4.0)\nWARNING: You are using pip version 21.2.3; however, version 21.3 is available.\nYou should consider upgrading via the '/home/slyke/.platformio/penv/bin/python -m pip install --upgrade pip' command.\nReading CMake configuration...\n\nCMake Error: The source directory \"/home/slyke/Documents/PlatformIO/Projects/Test\" does not exist.\nSpecify --help for usage, or press the help button on the CMake GUI.\n\n========================== [FAILED] Took 0.49 seconds =========================="

image image

When not using the default location, it doesn't allow me to manually enter in a path, it just gives me some confusing folder selector: image

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.

Slyke commented 2 years ago

This issue still occurs.