OpenVoiceOS / OVOS-workshop

frameworks, templates and patches for the OpenVoiceOS universe
Apache License 2.0
4 stars 11 forks source link

JSON error when starting audio service for the first time. #196

Open goldyfruit opened 1 year ago

goldyfruit commented 1 year ago
Error loading json '/home/ovos/.config/mycroft/apps/ovos.common_play/settings.json'
JSONDecodeError('Expecting value: line 1 column 1 (char 0)')

Content of /home/ovos/.config/mycroft/apps/ovos.common_play/settings.json is {}.

goldyfruit commented 1 year ago

Got it again on a fresh setup.

Error loading json '/home/ovos/.config/mycroft/apps/ovos.common_play/settings.json'
JSONDecodeError('Expecting value: line 1 column 1 (char 0)')
Error loading json '/home/ovos/.config/mycroft/apps/ovos.common_play/settings.json'
JSONDecodeError('Expecting value: line 1 column 1 (char 0)')
JarbasAl commented 1 year ago

my guess is that something is reading and writing the settings at same time?

Ramblurr commented 10 months ago

I am seeing this with skills now too

Error loading json '/home/ovos/.config/mycroft/skills/skill-ovos-date-time.openvoiceos/settings.json'                                                                                                         
JSONDecodeError('Expecting value: line 1 column 1 (char 0)') 

also with the hello-world skill.

In both cases the settings.json contains only {}

The skills are running in their own containers.