Traceback (most recent call last):
File "/home/vp/dev/esp/esp-idf/components/partition_table/parttool.py", line 354, in <module>
main()
File "/home/vp/dev/esp/esp-idf/components/partition_table/parttool.py", line 323, in main
target = ParttoolTarget(**target_args)
File "/home/vp/dev/esp/esp-idf/components/partition_table/parttool.py", line 112, in __init__
self._call_esptool(["read_flash", str(partition_table_offset), str(gen.MAX_PARTITION_LENGTH), temp_file.name])
File "/home/vp/dev/esp/esp-idf/components/partition_table/parttool.py", line 139, in _call_esptool
raise e
File "/home/vp/dev/esp/esp-idf/components/partition_table/parttool.py", line 136, in _call_esptool
subprocess.check_call(esptool_args, stdout=out, stderr=subprocess.STDOUT)
File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/home/vp/.espressif/python_env/idf4.1_py3.8_env/bin/python', '/home/vp/dev/esp/esp-idf/components/esptool_py/esptool/esptool.py', '--port', '/dev/ttyUSB0', 'read_flash', '32768', '3072', '/tmp/tmpvkk98l55']' returned non-zero exit status 2.
ERROR: parttool script execution failed with err 1
Traceback (most recent call last):
File "/home/vp/dev/esp/esp-idf/components/espcoredump/espcoredump.py", line 1104, in _load_coredump
f = self.invoke_parttool(tool_path=tool_path)
File "/home/vp/dev/esp/esp-idf/components/espcoredump/espcoredump.py", line 1044, in invoke_parttool
raise e
File "/home/vp/dev/esp/esp-idf/components/espcoredump/espcoredump.py", line 1028, in invoke_parttool
et_out = subprocess.check_output(part_tool_args)
File "/usr/lib/python3.8/subprocess.py", line 415, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.8/subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/home/vp/.espressif/python_env/idf4.1_py3.8_env/bin/python', 'parttool.py', '--port', '/dev/ttyUSB0', 'read_partition', '--partition-type', 'data', '--partition-subtype', 'coredump', '--output', '/tmp/tmp3vwiexgo']' returned non-zero exit status 2.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/vp/dev/esp/esp-idf/components/espcoredump/espcoredump.py", line 1771, in <module>
main()
File "/home/vp/dev/esp/esp-idf/components/espcoredump/espcoredump.py", line 1766, in main
operation_func(args)
File "/home/vp/dev/esp/esp-idf/components/espcoredump/espcoredump.py", line 1511, in info_corefile
loader = ESPCoreDumpFlashLoader(args.off, port=args.port, baud=args.baud)
File "/home/vp/dev/esp/esp-idf/components/espcoredump/espcoredump.py", line 976, in __init__
self.fcore = self._load_coredump(off)
File "/home/vp/dev/esp/esp-idf/components/espcoredump/espcoredump.py", line 1114, in _load_coredump
f = self.invoke_parttool(tool_path=tool_path)
File "/home/vp/dev/esp/esp-idf/components/espcoredump/espcoredump.py", line 1044, in invoke_parttool
raise e
File "/home/vp/dev/esp/esp-idf/components/espcoredump/espcoredump.py", line 1028, in invoke_parttool
et_out = subprocess.check_output(part_tool_args)
File "/usr/lib/python3.8/subprocess.py", line 415, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.8/subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/home/vp/.espressif/python_env/idf4.1_py3.8_env/bin/python', '/home/vp/dev/esp/esp-idf/components/partition_table/parttool.py', '--port', '/dev/ttyUSB0', 'read_partition', '--partition-type', 'data', '--partition-subtype', 'coredump', '--output', '/tmp/tmpehz_m6kl']' returned non-zero exit status 1.