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

RES folder missing #24

Open
timonvanhasselt opened this issue Dec 6, 2024 · 1 comment
Open

RES folder missing #24

timonvanhasselt opened this issue Dec 6, 2024 · 1 comment

Comments

@timonvanhasselt
Copy link
Contributor

I was testing yes/no question with the Ice cream example from the OVOS technical manual (https://openvoiceos.github.io/ovos-technical-manual/500-prompts/#prompts), but I get this error from the yes_no plugin. The res folder is indeed missing. I've reinstalled it, but the res folder is not copied.

 13:55:17.436 - skills - ovos_plugin_manager.thirdparty.solvers:__init__:62 - DEBUG - YesNoSolver default language: en
~~~~t' : [Errno 2] No such file or directory: '/home/ovos/.venvs/ovos/lib/python3.11/site-packages/ovos_yes_no_solver/res'
 13:55:17.443 - skills - ovos_bus_client.client.client:on_default_session_update:160 - DEBUG - synced default_session
~~~~OR - [Errno 2] No such file or directory: '/home/ovos/.venvs/ovos/lib/python3.11/site-packages/ovos_yes_no_solver/res'
Traceback (most recent call last):
  File "/home/ovos/.venvs/ovos/lib/python3.11/site-packages/ovos_utils/events.py", line 76, in wrapper
    handler()
  File "/home/ovos/.local/share/mycroft/skills/ijs/__init__.py", line 8, in handle_do_you_like
    likes_ice_cream = self.ask_yesno('do.you.like.ice.cream')
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ovos/.venvs/ovos/lib/python3.11/site-packages/ovos_workshop/skills/ovos.py", line 2048, in ask_yesno
    answer = YesNoSolver().match_yes_or_no(resp, lang=self.lang) if resp else resp
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ovos/.venvs/ovos/lib/python3.11/site-packages/ovos_yes_no_solver/__init__.py", line 39, in match_yes_or_no
    _langs = os.listdir(f"{os.path.dirname(__file__)}/res")
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
~~~~ror: [Errno 2] No such file or directory: '/home/ovos/.venvs/ovos/lib/python3.11/site-packages/ovos_yes_no_solver/res'
@JarbasAl
Copy link
Member

please try again, there was an error in the pypi publishing automation so you probably were getting an old version

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

No branches or pull requests

2 participants