Im trying to use espcoredump.py under macOS to read an exported dump file, the command I use on terminal is:
python3 /Users/user/esp/esp-idf/components/espcoredump/espcoredump.py info_corefile --core CoreDump-coredump.bin --core-format raw project.elf
However Im greeted with the following error message:
Code: Select all
Traceback (most recent call last):
File "/Users/user/esp/esp-idf/components/espcoredump/espcoredump.py", line 16, in <module>
from corefile.loader import ESPCoreDumpFileLoader, ESPCoreDumpFlashLoader
File "/Users/user/esp/esp-idf/components/espcoredump/corefile/loader.py", line 34, in <module>
PARTTOOL_PY = os.path.join(IDF_PATH, 'components', 'partition_table', 'parttool.py')
File "/usr/local/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/posixpath.py", line 76, in join
a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneTypeIm using visual code with ESP IDF extension and everything works fine and compiles, monitor works, erasing and flashing works, but this isn't.
