Skip to content

klayoutrc parse issue silently replaces config file #2284

@martinjankoehler

Description

@martinjankoehler

I've saved an invalid config option,
which led to a parsing error:

ERROR: Problem reading config file /Users/martin/.klayout/klayoutrc: XML parser error: error occurred while parsing element in line 1815, column 22
  • EXPECTED:
    • I expected the program to either quit,
    • or (preferrably) create a backup of the problematic klayoutrc, e.g. ~/.klayout/klayoutrc_2025-02-25_13h58m_003234.bak
  • OBTAINED:
    • file was silently replaced with a default file (e.g. I now lost a lot of settings)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions