type error when build partitions_singleapp.bin
Posted: Tue May 29, 2018 2:03 am
Hi, everyone:
build error follow:
Building partitions from /Users/billmogen/workspace/esp/esp-idf/components/partition_table/partitions_singleapp.csv...
Traceback (most recent call last):
File "/Users/billmogen/workspace/esp/esp-idf/components/partition_table/gen_esp32part.py", line 423, in <module>
main()
File "/Users/billmogen/workspace/esp/esp-idf/components/partition_table/gen_esp32part.py", line 395, in main
table_size = table.flash_size()
File "/Users/billmogen/workspace/esp/esp-idf/components/partition_table/gen_esp32part.py", line 122, in flash_size
last = sorted(self, reverse=True)[0]
TypeError: unorderable types: PartitionDefinition() < PartitionDefinition()
make: *** [/Users/billmogen/workspace/esp/hello_world/build/partitions_singleapp.bin] Error 1
my environment:
mac os sierra 10.12.6
python version 2.7.5 or 3.5
xtensa-esp32-elf-osx-1.22.0-80-g6c4433a-5.2.0
esp-idf latest
Thanks for checking.
From Bill
build error follow:
Building partitions from /Users/billmogen/workspace/esp/esp-idf/components/partition_table/partitions_singleapp.csv...
Traceback (most recent call last):
File "/Users/billmogen/workspace/esp/esp-idf/components/partition_table/gen_esp32part.py", line 423, in <module>
main()
File "/Users/billmogen/workspace/esp/esp-idf/components/partition_table/gen_esp32part.py", line 395, in main
table_size = table.flash_size()
File "/Users/billmogen/workspace/esp/esp-idf/components/partition_table/gen_esp32part.py", line 122, in flash_size
last = sorted(self, reverse=True)[0]
TypeError: unorderable types: PartitionDefinition() < PartitionDefinition()
make: *** [/Users/billmogen/workspace/esp/hello_world/build/partitions_singleapp.bin] Error 1
my environment:
mac os sierra 10.12.6
python version 2.7.5 or 3.5
xtensa-esp32-elf-osx-1.22.0-80-g6c4433a-5.2.0
esp-idf latest
Thanks for checking.
From Bill