Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lingua franca lang specific format module isn't loaded. #83

Closed
goldyfruit opened this issue Dec 6, 2023 · 1 comment · Fixed by #84
Closed

Lingua franca lang specific format module isn't loaded. #83

goldyfruit opened this issue Dec 6, 2023 · 1 comment · Fixed by #84

Comments

@goldyfruit
Copy link
Member

When trying to run multi-language support, I got the error bellow:

2023-12-06 14:25:56.704 - OVOS - ovos_utils.dialog:get_dialog:168 - DEBUG - Resource file not found: text/fr-fr/skill.error.dialog
2023-12-06 14:25:56.738 - skill-ovos-weather.openvoiceos - ERROR - parse module of language 'fr' is not currently loaded.
Traceback (most recent call last):
  File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_utils/messagebus.py", line 554, in wrapper
    handler(message)
  File "/home/ovos/.venv/lib/python3.11/site-packages/skill_ovos_weather/__init__.py", line 113, in handle_weather
    intent = self._get_intent_data(message)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ovos/.venv/lib/python3.11/site-packages/skill_ovos_weather/__init__.py", line 919, in _get_intent_data
    intent_data = WeatherIntent(message, weather_config)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ovos/.venv/lib/python3.11/site-packages/skill_ovos_weather/weather_helpers/intent.py", line 43, in __init__
    self.utterance = normalize(message.data["utterance"],
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ovos/.venv/lib/python3.11/site-packages/lingua_franca/internal.py", line 619, in call_localized_function
    return _call_localized_function(func, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ovos/.venv/lib/python3.11/site-packages/lingua_franca/internal.py", line 549, in _call_localized_function
    raise ModuleNotFoundError(_module_name +
ModuleNotFoundError: parse module of language 'fr' is not currently loaded.

Here is the configuration related to the language:

      "lang": "en-us",
      "secondary_langs": ["fr-fr"]
@JarbasAl
Copy link
Member

JarbasAl commented Dec 6, 2023

@JarbasAl JarbasAl transferred this issue from OpenVoiceOS/ovos-core Dec 6, 2023
JarbasAl added a commit that referenced this issue Dec 6, 2023
JarbasAl added a commit that referenced this issue Dec 6, 2023
@github-actions github-actions bot mentioned this issue Dec 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants