Closed fnorbenden closed 1 month ago
Hey there, thanks for flagging this. I hadn't run into it.
It's not something the internal team will prioritize immediately but should be fixed at some point. If anyone in the community is interested in helping out, this would be a good one to tackle.
Closing Issue since we're archiving the repo
Enclosure: picroft Version: 20.8.0 Wake word: default
Expected behavior: mycroft-config cannot modify the default conf file
Observed behavior: multiple instances of mycroft-config result in erroneous writes, in particular to the default conf file.
I have been attempting to install a custom precise model and using mycroft-config to edit the configuration files for that purpose. I wanted to check the member variables for conf objects, so I opened the default configuration with
mycroft-config edit default
with the assumption that, as the message said, it was open only in view mode. I then opened a second instance of the configuration editor to copy things between with
mycroft-config edit user
This gave me a warning about a file lock, so I first exited the user conf instance with CTL-X, then exited the default conf instance with CTL-X. Mycroft restarted and I got this:
I checked in /home/pi/mycroft-core/mycroft/configuration/mycroft.conf for the default conf, which had been completely overridden by the contents of the user conf: