وقتی با این فایل میخوام کامپایل کنم و یا فایل sdkconfig رو داخل eclipse باز کنم این خطا رو میده :
[0/1] Re-running CMake…
– ccache will be used for faster recompilation
– Project is not inside a git repository, or git repository has no commits; will not use ‘git describe’ to determine PROJECT_VER.
– Project version: 1
– Building ESP-IDF components for target esp32
Loading defaults file E:/My_Projects/eclipse_workspace/RestFul_Server_V1.0/sdkconfig.defaults…
Traceback (most recent call last):
File “C:UsersAmiRDesktopesp-idfcomponentspartition_tablegen_esp32part.py”, line 438, in parse_int
return int(v, 0)
ValueError: invalid literal for int() with base 0: ‘gw’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “C:UsersAmiRDesktopesp-idfcomponentspartition_tablegen_esp32part.py”, line 443, in parse_int
return keywords[v.lower()]
KeyError: ‘gw’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “C:UsersAmiRDesktopesp-idfcomponentspartition_tablegen_esp32part.py”, line 109, in from_csv
res.append(PartitionDefinition.from_csv(line, line_no + 1))
File “C:UsersAmiRDesktopesp-idfcomponentspartition_tablegen_esp32part.py”, line 286, in from_csv
res.subtype = res.parse_subtype(fields[2])
File “C:UsersAmiRDesktopesp-idfcomponentspartition_tablegen_esp32part.py”, line 338, in parse_subtype
return parse_int(strval, SUBTYPES.get(self.type, {}))
File “C:UsersAmiRDesktopesp-idfcomponentspartition_tablegen_esp32part.py”, line 445, in parse_int
raise InputError(“Value ‘%s’ is not valid. Known keywords: %s” % (v, ", ".join(keywords)))
gen_esp32part.InputError: Value ‘gw’ is not valid. Known keywords: ota, phy, nvs, coredump, nvs_keys, efuse, esphttpd, fat, spiffs
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “C:/Users/AmiR/Desktop/esp-idf/components/partition_table/parttool.py”, line 347, in <module>
main()
File “C:/Users/AmiR/Desktop/esp-idf/components/partition_table/parttool.py”, line 316, in main
target = ParttoolTarget(**target_args)
File “C:/Users/AmiR/Desktop/esp-idf/components/partition_table/parttool.py”, line 106, in init
partition_table = gen.PartitionTable.from_csv(f.read())
File “C:UsersAmiRDesktopesp-idfcomponentspartition_tablegen_esp32part.py”, line 111, in from_csv
raise InputError(“Error at line %d: %s” % (line_no + 1, e))
gen_esp32part.InputError: Error at line 4: Value ‘gw’ is not valid. Known keywords: ota, phy, nvs, coredump, nvs_keys, efuse, esphttpd, fat, spiffs
Traceback (most recent call last):
File “C:UsersAmiRDesktopesp-idfcomponentspartition_tablegen_esp32part.py”, line 438, in parse_int
return int(v, 0)
ValueError: invalid literal for int() with base 0: ‘gw’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “C:UsersAmiRDesktopesp-idfcomponentspartition_tablegen_esp32part.py”, line 443, in parse_int
return keywords[v.lower()]
KeyError: ‘gw’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “C:UsersAmiRDesktopesp-idfcomponentspartition_tablegen_esp32part.py”, line 109, in from_csv
res.append(PartitionDefinition.from_csv(line, line_no + 1))
File “C:UsersAmiRDesktopesp-idfcomponentspartition_tablegen_esp32part.py”, line 286, in from_csv
res.subtype = res.parse_subtype(fields[2])
File “C:UsersAmiRDesktopesp-idfcomponentspartition_tablegen_esp32part.py”, line 338, in parse_subtype
return parse_int(strval, SUBTYPES.get(self.type, {}))
File “C:UsersAmiRDesktopesp-idfcomponentspartition_tablegen_esp32part.py”, line 445, in parse_int
raise InputError(“Value ‘%s’ is not valid. Known keywords: %s” % (v, ", ".join(keywords)))
gen_esp32part.InputError: Value ‘gw’ is not valid. Known keywords: ota, phy, nvs, coredump, nvs_keys, efuse, esphttpd, fat, spiffs
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “C:/Users/AmiR/Desktop/esp-idf/components/partition_table/parttool.py”, line 347, in <module>
main()
File “C:/Users/AmiR/Desktop/esp-idf/components/partition_table/parttool.py”, line 316, in main
target = ParttoolTarget(**target_args)
File “C:/Users/AmiR/Desktop/esp-idf/components/partition_table/parttool.py”, line 106, in init
partition_table = gen.PartitionTable.from_csv(f.read())
File “C:UsersAmiRDesktopesp-idfcomponentspartition_tablegen_esp32part.py”, line 111, in from_csv
raise InputError(“Error at line %d: %s” % (line_no + 1, e))
gen_esp32part.InputError: Error at line 4: Value ‘gw’ is not valid. Known keywords: ota, phy, nvs, coredump, nvs_keys, efuse, esphttpd, fat, spiffs
– Could NOT find Perl (missing: PERL_EXECUTABLE)
– Adding linker script E:/My_Projects/eclipse_workspace/RestFul_Server_V1.0/build/esp-idf/esp32/esp32_out.ld
– Adding linker script C:/Users/AmiR/Desktop/esp-idf/components/esp32/ld/esp32.project.ld.in
– Adding linker script C:/Users/AmiR/Desktop/esp-idf/components/esp32/ld/esp32.peripherals.ld
– Adding linker script C:/Users/AmiR/Desktop/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-time.ld
– Adding linker script C:/Users/AmiR/Desktop/esp-idf/components/esp_rom/esp32/ld/esp32.rom.ld
– Adding linker script C:/Users/AmiR/Desktop/esp-idf/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld
– Adding linker script C:/Users/AmiR/Desktop/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-data.ld
– Adding linker script C:/Users/AmiR/Desktop/esp-idf/components/esp_rom/esp32/ld/esp32.rom.syscalls.ld
– Adding linker script C:/Users/AmiR/Desktop/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld
Traceback (most recent call last):
File “C:UsersAmiRDesktopesp-idfcomponentspartition_tablegen_esp32part.py”, line 438, in parse_int
return int(v, 0)
ValueError: invalid literal for int() with base 0: ‘gw’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “C:UsersAmiRDesktopesp-idfcomponentspartition_tablegen_esp32part.py”, line 443, in parse_int
return keywords[v.lower()]
KeyError: ‘gw’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “C:UsersAmiRDesktopesp-idfcomponentspartition_tablegen_esp32part.py”, line 109, in from_csv
res.append(PartitionDefinition.from_csv(line, line_no + 1))
File “C:UsersAmiRDesktopesp-idfcomponentspartition_tablegen_esp32part.py”, line 286, in from_csv
res.subtype = res.parse_subtype(fields[2])
File “C:UsersAmiRDesktopesp-idfcomponentspartition_tablegen_esp32part.py”, line 338, in parse_subtype
return parse_int(strval, SUBTYPES.get(self.type, {}))
File “C:UsersAmiRDesktopesp-idfcomponentspartition_tablegen_esp32part.py”, line 445, in parse_int
raise InputError(“Value ‘%s’ is not valid. Known keywords: %s” % (v, ", ".join(keywords)))
gen_esp32part.InputError: Value ‘gw’ is not valid. Known keywords: ota, phy, nvs, coredump, nvs_keys, efuse, esphttpd, fat, spiffs
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “C:/Users/AmiR/Desktop/esp-idf/components/partition_table/parttool.py”, line 347, in <module>
main()
File “C:/Users/AmiR/Desktop/esp-idf/components/partition_table/parttool.py”, line 316, in main
target = ParttoolTarget(**target_args)
File “C:/Users/AmiR/Desktop/esp-idf/components/partition_table/parttool.py”, line 106, in init
partition_table = gen.PartitionTable.from_csv(f.read())
File “C:UsersAmiRDesktopesp-idfcomponentspartition_tablegen_esp32part.py”, line 111, in from_csv
raise InputError(“Error at line %d: %s” % (line_no + 1, e))
gen_esp32part.InputError: Error at line 4: Value ‘gw’ is not valid. Known keywords: ota, phy, nvs, coredump, nvs_keys, efuse, esphttpd, fat, spiffs
CMake Error at C:/Users/AmiR/Desktop/esp-idf/components/esptool_py/project_include.cmake:223 (file):
file RELATIVE_PATH must be passed a full path to the file: FLASH_IN_PROJECT
Call Stack (most recent call first):
C:/Users/AmiR/Desktop/esp-idf/components/esptool_py/CMakeLists.txt:62 (esptool_py_flash_project_args)
Traceback (most recent call last):
File “C:UsersAmiRDesktopesp-idfcomponentspartition_tablegen_esp32part.py”, line 438, in parse_int
return int(v, 0)
ValueError: invalid literal for int() with base 0: ‘gw’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “C:UsersAmiRDesktopesp-idfcomponentspartition_tablegen_esp32part.py”, line 443, in parse_int
return keywords[v.lower()]
KeyError: ‘gw’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “C:UsersAmiRDesktopesp-idfcomponentspartition_tablegen_esp32part.py”, line 109, in from_csv
res.append(PartitionDefinition.from_csv(line, line_no + 1))
File “C:UsersAmiRDesktopesp-idfcomponentspartition_tablegen_esp32part.py”, line 286, in from_csv
res.subtype = res.parse_subtype(fields[2])
File “C:UsersAmiRDesktopesp-idfcomponentspartition_tablegen_esp32part.py”, line 338, in parse_subtype
return parse_int(strval, SUBTYPES.get(self.type, {}))
File “C:UsersAmiRDesktopesp-idfcomponentspartition_tablegen_esp32part.py”, line 445, in parse_int
raise InputError(“Value ‘%s’ is not valid. Known keywords: %s” % (v, ", ".join(keywords)))
gen_esp32part.InputError: Value ‘gw’ is not valid. Known keywords: ota, phy, nvs, coredump, nvs_keys, efuse, esphttpd, fat, spiffs
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “C:/Users/AmiR/Desktop/esp-idf/components/partition_table/parttool.py”, line 347, in <module>
main()
File “C:/Users/AmiR/Desktop/esp-idf/components/partition_table/parttool.py”, line 316, in main
target = ParttoolTarget(**target_args)
File “C:/Users/AmiR/Desktop/esp-idf/components/partition_table/parttool.py”, line 106, in init
partition_table = gen.PartitionTable.from_csv(f.read())
File “C:UsersAmiRDesktopesp-idfcomponentspartition_tablegen_esp32part.py”, line 111, in from_csv
raise InputError(“Error at line %d: %s” % (line_no + 1, e))
gen_esp32part.InputError: Error at line 4: Value ‘gw’ is not valid. Known keywords: ota, phy, nvs, coredump, nvs_keys, efuse, esphttpd, fat, spiffs
– Components: app_trace app_update asio bootloader bootloader_support bt cbor coap console cxx driver efuse esp-tls esp32 esp_adc_cal esp_common esp_eth esp_event esp_gdbstub esp_http_client esp_http_server esp_https_ota esp_https_server esp_local_ctrl esp_netif esp_ringbuf esp_rom esp_serial_slave_link esp_websocket_client esp_wifi espcoredump esptool_py expat fatfs freemodbus freertos heap idf_test jsmn json libsodium log lwip main mbedtls mdns mqtt newlib nghttp nvs_flash openssl partition_table perfmon protobuf-c protocol_examples_common protocomm pthread sdmmc soc spi_flash spiffs tcp_transport tcpip_adapter ulp unity vfs wear_levelling wifi_provisioning wpa_supplicant xtensa
– Component paths: C:/Users/AmiR/Desktop/esp-idf/components/app_trace C:/Users/AmiR/Desktop/esp-idf/components/app_update C:/Users/AmiR/Desktop/esp-idf/components/asio C:/Users/AmiR/Desktop/esp-idf/components/bootloader C:/Users/AmiR/Desktop/esp-idf/components/bootloader_support C:/Users/AmiR/Desktop/esp-idf/components/bt C:/Users/AmiR/Desktop/esp-idf/components/cbor C:/Users/AmiR/Desktop/esp-idf/components/coap C:/Users/AmiR/Desktop/esp-idf/components/console C:/Users/AmiR/Desktop/esp-idf/components/cxx C:/Users/AmiR/Desktop/esp-idf/components/driver C:/Users/AmiR/Desktop/esp-idf/components/efuse C:/Users/AmiR/Desktop/esp-idf/components/esp-tls C:/Users/AmiR/Desktop/esp-idf/components/esp32 C:/Users/AmiR/Desktop/esp-idf/components/esp_adc_cal C:/Users/AmiR/Desktop/esp-idf/components/esp_common C:/Users/AmiR/Desktop/esp-idf/components/esp_eth C:/Users/AmiR/Desktop/esp-idf/components/esp_event C:/Users/AmiR/Desktop/esp-idf/components/esp_gdbstub C:/Users/AmiR/Desktop/esp-idf/components/esp_http_client C:/Users/AmiR/Desktop/esp-idf/components/esp_http_server C:/Users/AmiR/Desktop/esp-idf/components/esp_https_ota C:/Users/AmiR/Desktop/esp-idf/components/esp_https_server C:/Users/AmiR/Desktop/esp-idf/components/esp_local_ctrl C:/Users/AmiR/Desktop/esp-idf/components/esp_netif C:/Users/AmiR/Desktop/esp-idf/components/esp_ringbuf C:/Users/AmiR/Desktop/esp-idf/components/esp_rom C:/Users/AmiR/Desktop/esp-idf/components/esp_serial_slave_link C:/Users/AmiR/Desktop/esp-idf/components/esp_websocket_client C:/Users/AmiR/Desktop/esp-idf/components/esp_wifi C:/Users/AmiR/Desktop/esp-idf/components/espcoredump C:/Users/AmiR/Desktop/esp-idf/components/esptool_py C:/Users/AmiR/Desktop/esp-idf/components/expat C:/Users/AmiR/Desktop/esp-idf/components/fatfs C:/Users/AmiR/Desktop/esp-idf/components/freemodbus C:/Users/AmiR/Desktop/esp-idf/components/freertos C:/Users/AmiR/Desktop/esp-idf/components/heap C:/Users/AmiR/Desktop/esp-idf/components/idf_test C:/Users/AmiR/Desktop/esp-idf/components/jsmn C:/Users/AmiR/Desktop/esp-idf/components/json C:/Users/AmiR/Desktop/esp-idf/components/libsodium C:/Users/AmiR/Desktop/esp-idf/components/log C:/Users/AmiR/Desktop/esp-idf/components/lwip E:/My_Projects/eclipse_workspace/RestFul_Server_V1.0/main C:/Users/AmiR/Desktop/esp-idf/components/mbedtls C:/Users/AmiR/Desktop/esp-idf/components/mdns C:/Users/AmiR/Desktop/esp-idf/components/mqtt C:/Users/AmiR/Desktop/esp-idf/components/newlib C:/Users/AmiR/Desktop/esp-idf/components/nghttp C:/Users/AmiR/Desktop/esp-idf/components/nvs_flash C:/Users/AmiR/Desktop/esp-idf/components/openssl C:/Users/AmiR/Desktop/esp-idf/components/partition_table C:/Users/AmiR/Desktop/esp-idf/components/perfmon C:/Users/AmiR/Desktop/esp-idf/components/protobuf-c C:/Users/AmiR/Desktop/esp-idf/examples/common_components/protocol_examples_common C:/Users/AmiR/Desktop/esp-idf/components/protocomm C:/Users/AmiR/Desktop/esp-idf/components/pthread C:/Users/AmiR/Desktop/esp-idf/components/sdmmc C:/Users/AmiR/Desktop/esp-idf/components/soc C:/Users/AmiR/Desktop/esp-idf/components/spi_flash C:/Users/AmiR/Desktop/esp-idf/components/spiffs C:/Users/AmiR/Desktop/esp-idf/components/tcp_transport C:/Users/AmiR/Desktop/esp-idf/components/tcpip_adapter C:/Users/AmiR/Desktop/esp-idf/components/ulp C:/Users/AmiR/Desktop/esp-idf/components/unity C:/Users/AmiR/Desktop/esp-idf/components/vfs C:/Users/AmiR/Desktop/esp-idf/components/wear_levelling C:/Users/AmiR/Desktop/esp-idf/components/wifi_provisioning C:/Users/AmiR/Desktop/esp-idf/components/wpa_supplicant C:/Users/AmiR/Desktop/esp-idf/components/xtensa
– Configuring incomplete, errors occurred!
See also “E:/My_Projects/eclipse_workspace/RestFul_Server_V1.0/build/CMakeFiles/CMakeOutput.log”.
FAILED: build.ninja
C:UsersAmiR.espressif oolscmake.13.4incmake.exe -SE:My_Projectseclipse_workspaceRestFul_Server_V1.0 -BE:My_Projectseclipse_workspaceRestFul_Server_V1.0uild
ninja: error: rebuilding ‘build.ninja’: subcommand failed
Adding “flash”'s dependency “all” to list of commands with default set of options.
Executing action: all (aliases: build)
Running ninja in directory e:My_projectseclipse_workspace
estful_server_v1.0uild
Executing “ninja all”…
ninja failed with exit code 1