Starting mycroft overwrites local user config file


#1

Hi,

I’ve modified my user config file(~/.mycroft/mycroft.conf) with the following:

{
“max_allowed_core_version”: 19.2,
“hotwords”: {
“hey computer”: {
“module”: “precise”,
“phonemes”: “HH EY . K AH M P Y UW T ER .”
“local_model_file”: “~/.mycroft/precise/hey-computer.pb”
}
},
“listener”: {
“wake_word”: “hey computer”
}
}

When I stop and then start mycroft, it overwrites the config and removes my changes. It then looks like this:

{
“max_allowed_core_version”: 19.2
}

Any ideas?


#2

how are you starting mycroft?


#3

./start-mycroft.sh all


#4

Hey looks like you made some progress in Chat, let us know if this is still an issue.

If anyone finds this thread in the future, the main issue was an invalid JSON format due to a different quotation mark. Be sure to check your JSON is valid using a tool like DuckDuckGo’s JSON validator


#6

There was an issue with formatting between systems, which made the JSON quotes show up incorrectly in the chat, but that was not the issue. I’ll post an update once I figure out more about what is actually causing the issue.