Skip to content

Paths in recent.yml aren't escaped, causing crashes on start #915

@0x53A

Description

@0x53A

I added a Riden PSU using uart and the path \\.\COM11. (the prefix is required for COM ports >= 10).

This got written into recent.yml unescaped as

psu:
    path: "psu:riden_rd:uart:\\.\COM11:115200"
    timestamp: 1762034404

causing a crash on startup:

terminate called after throwing an instance of 'YAML::ParserException'
  what():  yaml-cpp: error at line 2, column 35: unknown escape character: C

The "fix" is to replace it with

    path: "psu:riden_rd:uart:\\\\.\\COM11:115200"

but you need to do that every single time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions