Skip to content

Invalid escape character #9

@LSC-Labs

Description

@LSC-Labs

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions