Skill error - french

Hello Folks,
I have finally succeeded in installing Mycroft in french with espeak, over Raspberry Pi OS on a RPi 4 with the installation script :

cd ~/
git clone https://github.com/MycroftAI/mycroft-core.git
cd mycroft-core
bash dev_setup.sh

I had from the beginning some missing files like mycroft-config.sh, that I copied from Picroft repo.

It works well for many things, but I meet several skill errors such as that one :

18:42:10.841 | WARNING | 20299 | mycroft.skills.mycroft_skill.mycroft_skill:find_resource:782 | Resource ‘relative-time.voc’ for lang ‘fr-fr’ not found: trying ‘en-us’
18:42:10.855 | WARNING | 20299 | mycroft.skills.mycroft_skill.mycroft_skill:find_resource:782 | Resource ‘relative-day.voc’ for lang ‘fr-fr’ not found: trying ‘en-us’
18:42:11.744 | INFO | 20299 | WeatherSkill | Speaking dialog: current-weather-local
18:42:11.751 | ERROR | 20299 | mycroft.skills.mycroft_skill.mycroft_skill:on_error:897 | skill.error
Traceback (most recent call last):
File “/home/pi/mycroft-core/mycroft/skills/mycroft_skill/event_container.py”, line 73, in wrapper
handler(message)
File “/opt/mycroft/skills/mycroft-weather.mycroftai/init.py”, line 86, in handle_current_weather
self._report_current_weather(message)
File “/opt/mycroft/skills/mycroft-weather.mycroftai/init.py”, line 631, in _report_current_weather
self._speak_weather(dialog)
File “/opt/mycroft/skills/mycroft-weather.mycroftai/init.py”, line 1151, in _speak_weather
self.speak_dialog(dialog.name, dialog.data, wait=True)
File “/home/pi/mycroft-core/mycroft/skills/mycroft_skill/mycroft_skill.py”, line 1202, in speak_dialog
self.dialog_renderer.render(key, data),
File “/home/pi/mycroft-core/mycroft/dialog/dialog.py”, line 110, in render
line = line.format(**context)
KeyError: ‘temp_max’

Can anyone help ?

1 Like

temp_max (amongst others) is a non existant variable/placeholder found in many non english dialogs issued here.
In the case of {temp_max} it’s {high_temperature}.
you find some of them scattered around in this commit

EDIT: to be clear, you can’t deduct (in every case) from the old to the new, because in some cases the high temperature ({temp_max}) is represented by {temperature}