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 create Esp32 project #3083

Closed hildogjr closed 2 years ago

hildogjr commented 3 years ago

After remove all the space in my path, I am getting the follow error when try to create a Esp32 project.

PIO Core Call Error: "The current working directory /home/lab/Documents/UNICAMP/LabREI/Projects/IoT-meter/Software/IoT-meter will be used for the project.

The next files/directories have been created in /home/lab/Documents/UNICAMP/LabREI/Projects/IoT-meter/Software/IoT-meter
include - Put project header files here
lib - Put here project specific (private) libraries
src - Put project source files here
platformio.ini - Project Configuration File

Error: Processing featheresp32-s2 (platform: espressif32; board: featheresp32-s2; framework: espidf)
--------------------------------------------------------------------------------
Tool Manager: Installing platformio/tool-cmake @ ~3.16.0
Unpacking
Tool Manager: tool-cmake @ 3.16.4 has been installed!
Tool Manager: Installing platformio/tool-scons @ ~4.40200.0
Downloading
Unpacking
Tool Manager: tool-scons @ 4.40200.0 has been installed!
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/featheresp32-s2.html
PLATFORM: Espressif 32 (3.3.2) > Adafruit ESP32-S2 Feather Development Board
HARDWARE: ESP32S2 240MHz, 320KB RAM, 4MB Flash
DEBUG: 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)
PACKAGES: 
 - framework-espidf 3.40300.0 (4.3.0) 
 - tool-cmake 3.16.4 
 - tool-esptoolpy 1.30100.210531 (3.1.0) 
 - tool-ninja 1.7.1 
 - toolchain-esp32s2ulp 1.22851.191205 (2.28.51) 
 - toolchain-riscv-esp 1.80400.0 (8.4.0) 
 - toolchain-xtensa32s2 1.80400.210211 (8.4.0)
Installing ESP-IDF's Python dependencies
Collecting cryptography>=2.1.4
 Using cached cryptography-3.4.8-cp36-abi3-manylinux_2_24_x86_64.whl (3.0 MB)
Collecting future>=0.15.2
 Using cached future-0.18.2-py3-none-any.whl
Collecting pyparsing<2.4.0,>=2.0.3
 Using cached pyparsing-2.3.1-py2.py3-none-any.whl (61 kB)
Collecting kconfiglib==13.7.1
 Using cached kconfiglib-13.7.1-py2.py3-none-any.whl (145 kB)
Collecting cffi>=1.12
 Using cached cffi-1.14.6-cp38-cp38-manylinux1_x86_64.whl (411 kB)
Collecting pycparser
 Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
Installing collected packages: pycparser, cffi, pyparsing, kconfiglib, future, cryptography
Successfully installed cffi-1.14.6 cryptography-3.4.8 future-0.18.2 kconfiglib-13.7.1 pycparser-2.20 pyparsing-2.3.1
Reading CMake configuration...
-- Found Git: /usr/bin/git (found version \"2.25.1\") 
-- The C compiler identification is GNU 8.4.0
-- The CXX compiler identification is GNU 8.4.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/lab/.platformio/packages/toolchain-xtensa32s2/bin/xtensa-esp32s2-elf-gcc
-- Check for working C compiler: /home/lab/.platformio/packages/toolchain-xtensa32s2/bin/xtensa-esp32s2-elf-gcc
-- Check for working C compiler: /home/lab/.platformio/packages/toolchain-xtensa32s2/bin/xtensa-esp32s2-elf-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /home/lab/.platformio/packages/toolchain-xtensa32s2/bin/xtensa-esp32s2-elf-g++
-- Check for working CXX compiler: /home/lab/.platformio/packages/toolchain-xtensa32s2/bin/xtensa-esp32s2-elf-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Project is not inside a git repository, or git repository has no commits; will not use 'git describe' to determine PROJECT_VER.
-- Building ESP-IDF components for target esp32s2
-- Project sdkconfig file /home/lab/Documents/UNICAMP/LabREI/Projects/IoT-meter/Software/IoT-meter/sdkconfig.featheresp32-s2
-- Found PythonInterp: /home/lab/.platformio/penv/bin/python (found version \"3.8.10\") 
-- Found Perl: /usr/bin/perl (found version \"5.30.0\") 
-- App \"IoT-meter\" version: 1
-- Adding linker script /home/lab/.platformio/packages/framework-espidf/components/esp_rom/esp32s2/ld/esp32s2.rom.ld
-- Adding linker script /home/lab/.platformio/packages/framework-espidf/components/esp_rom/esp32s2/ld/esp32s2.rom.api.ld
-- Adding linker script /home/lab/.platformio/packages/framework-espidf/components/esp_rom/esp32s2/ld/esp32s2.rom.libgcc.ld
-- Adding linker script /home/lab/.platformio/packages/framework-espidf/components/esp_rom/esp32s2/ld/esp32s2.rom.newlib-funcs.ld
-- Adding linker script /home/lab/.platformio/packages/framework-espidf/components/esp_rom/esp32s2/ld/esp32s2.rom.newlib-data.ld
-- Adding linker script /home/lab/.platformio/packages/framework-espidf/components/esp_rom/esp32s2/ld/esp32s2.rom.spiflash.ld
-- Adding linker script /home/lab/Documents/UNICAMP/LabREI/Projects/IoT-meter/Software/IoT-meter/.pio/build/featheresp32-s2/esp-idf/esp32s2/esp32s2_out.ld
-- Adding linker script /home/lab/.platformio/packages/framework-espidf/components/esp32s2/ld/esp32s2.project.ld.in
-- Adding linker script /home/lab/.platformio/packages/framework-espidf/components/esp32s2/ld/esp32s2.peripherals.ld
-- Configuring incomplete, errors occurred!
See also \"/home/lab/Documents/UNICAMP/LabREI/Projects/IoT-meter/Software/IoT-meter/.pio/build/featheresp32-s2/CMakeFiles/CMakeOutput.log\".

fatal: not a git repository (or any of the parent directories): .git
Traceback (most recent call last):
 File \"/home/lab/.platformio/packages/framework-espidf/components/partition_table/parttool.py\", line 365, in <module>
 File \"/home/lab/.platformio/packages/framework-espidf/components/partition_table/parttool.py\", line 334, in main
 File \"/home/lab/.platformio/packages/framework-espidf/components/partition_table/parttool.py\", line 99, in __init__
FileNotFoundError: [Errno 2] No such file or directory: '/home/lab/.platformio/packages/framework-espidf/components/partition_table/partitions_singleapp.csv'
/home/lab/.platformio/penv/bin/python: can't open file '/home/lab/.platformio/packages/framework-espidf/components/partition_table/parttool.py': [Errno 2] No such file or directory
CMake Warning at /home/lab/.platformio/packages/framework-espidf/components/partition_table/project_include.cmake:48 (message):
 parttool.py execution failed (test_offset), problem with partition CSV file
 (see above)
Call Stack (most recent call first):
 /home/lab/.platformio/packages/framework-espidf/components/esptool_py/CMakeLists.txt:17 (partition_table_get_partition_info)

CMake Error at /home/lab/.platformio/packages/framework-espidf/components/esptool_py/CMakeLists.txt:44 (file):
 file failed to open for reading (No such file or directory):

 /home/lab/.platformio/packages/framework-espidf/components/esptool_py/flasher_args.json.in

CMake Error at /home/lab/.platformio/packages/framework-espidf/tools/cmake/utilities.cmake:324 (message):
 Content to generate not specified.
Call Stack (most recent call first):
 /home/lab/.platformio/packages/framework-espidf/components/esptool_py/CMakeLists.txt:47 (file_generate)

========================= [FAILED] Took 120.42 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.