astroDimitrios / rose

:rose: Rose is a toolkit for writing, editing and running application configurations.
https://metomi.github.io/rose/
GNU General Public License v3.0
0 stars 1 forks source link

rose edit errors on startup with `!` commented settings #28

Closed jfrost-mo closed 2 months ago

jfrost-mo commented 2 months ago

When I start rose edit, it errors with the following message, before exiting:

Screenshot from 2024-09-20 00-54-53

It doesn't like the space character following the exclamation mark. If I have the setting against the exclamation mark there is no error.

This applies whether there is one or two exclamation marks.

astroDimitrios commented 2 months ago

@jfrost-mo Should there be a space in-between the exclamation mark and the variable? Is this a suite you have hand edited? Or was it originally saved/altered using the GUI?

astroDimitrios commented 2 months ago

I have just checked with rose config-dump and rose raises a ConfigSyntaxError when there is a space after the single or double exclamation mark in both Rose 2019 and Rose 2. Closing as not a GUI related issue.