Page 1 of 1

espcoredump issue

Posted: Fri Feb 24, 2017 4:32 pm
by papillon
I have been trying to use the espcoredump utility and in my setup under arch linux (with IDF_PATH properly defined), the path to the esptool utility is broken.
When I run the tool to get the core dump file from flash, I get an error to the effect that "esptool.p" (notice the absence of the trailing letter 'y') is not found. Further investigation (excuse my ignorance of python) seem to indicate that line @698 of the script might be the culprit, trimming the last letter of the filename.

Code: Select all

self.path = self.path[:-1]
A quick hack is to simply copy the file esptool.py file to esptool.p, but modification of the script would be a cleaner fix. Just not sure why the trim was added there in the first place.