EspArduinoExceptionDecoder icon indicating copy to clipboard operation
EspArduinoExceptionDecoder copied to clipboard

Invalid escape character

Open LSC-Labs opened this issue 10 months ago • 0 comments

I tried to decode the stack trace, but I got this error when calling... I'm not sure, maybe I did not get the point how to use, but maybe you can help...

I'm running it on Apple silicon MAC with Python 3.13.2

python3 tools/EspArduinoExceptionDecoder/decoder.py -e .pio/build/d1_mini_debug/firmware.elf exception.txt -t ~/.platformio/packages/toolchain-xtensa /Users/peter/Development/Work/Sourcen/Projects/OnAirNotifier/OnAir-Hardware/tools/EspArduinoExceptionDecoder/decoder.py:65: SyntaxWarning: invalid escape sequence '\W' '^(?P[0-9a-f]+):\W+(?P[0-9a-f]+) (?P[0-9a-f]+) (?P[0-9a-f]+) (?P[0-9a-f]+)(\W.*)?$') /Users/peter/Development/Work/Sourcen/Projects/OnAirNotifier/OnAir-Hardware/tools/EspArduinoExceptionDecoder/decoder.py:176: SyntaxWarning: invalid escape sequence '-' self._address_map[last] += ("\n -> inlined by: " + line) ERROR: Parser not complete!

Thanks a lot Peter

LSC-Labs avatar Feb 28 '25 14:02 LSC-Labs