Closed marcinprzybysz86 closed 3 years ago
I have the same issue, but noticed that my HACS is showing issues in the config. I can remove it and reinstall and re-connect to GITHUB but then need to reboot to enable the Reverso which then breaks HACS again and I get the same PYTTSREVERSO error you mentioned again. I might be wrong but I think this PY library is handled by HACS (in my case) which looks like what is causing this error. For now I am stuck in this loop and have not found a way to get HACS stable.
Ah, I managed to fix that by removing all YAML entries for HACS, but the issue persists so I'd say it is a Reverso bug
It seems the HACS guys have picked up on this as well.
Which platform ? Docker ? or HASS.IO ? In docker you can enter to the command line console and run:
pip uninstall pyttsreverso
pip install pyttsreverso
And make restart to the container . Let me know if this fix it..
Another thing, have you tried updating directly from my GITHUB?
I am on HASS.IO so I guess that's a no go for me? I just uninstalled it via HACS, will see if a couple of reboots fixes it... if not I will try to install from GITHUB
I did re-installs from both GITHUB manually (after clearing all directories in custom components and generating a new REVERSOTTS directory) and HACS. I still get this error: Platform error tts.reversotts - No module named 'pyttsreverso'
I managed to get the error to go away by downloading the module from here: https://pypi.org/project/pyttsreverso/#files and copying it into my reversotts folder under custom_components. It all works now.
This is really weird, I do not know if it's a limit of HASS.IO because in DOCKER it works normally. This should automatically pull the files out of PYPI. I will try to set up a HASS.IO workspace and check it out and update.
I managed to get the error to go away by downloading the module from here: https://pypi.org/project/pyttsreverso/#files and copying it into my reversotts folder under custom_components. It all works now.
Did you extract the content of the .tgz file or not? I've put those 2 files in reversoTTS folder, still no luck :/
This is really weird, I do not know if it's a limit of HASS.IO because in DOCKER it works normally. This should automatically pull the files out of PYPI. I will try to set up a HASS.IO workspace and check it out and update.
I'm on debian with supervisor, using docker - same problem as fyford's..
Hi Marcin,
I just placed the pyttsreverso file in the directory and it started to work. Prior to this I tried out a few others, I've now stuck them in variables so I can switch whenever one stops working. Google seems to work again, stopped working waay back for me so I then switched to Reverso....
to all that have the problem and didn't use with HACS, need to check if pyttsreverso is on 0.4v.
This is really weird, I do not know if it's a limit of HASS.IO because in DOCKER it works normally. This should automatically pull the files out of PYPI. I will try to set up a HASS.IO workspace and check it out and update.
I'm on debian with supervisor, using docker - same problem as fyford's..
why use supervisor on docker ?
What did the trick for me was to delete everything from reverso including the yaml entry. Then reinstall it in HACS. Reboot and paste back the yaml entry and reboot once more to load reverso back.
the problem still exist ?
well guess no, so I close this issue.
Hi, it was working fine for a month till today:
Platform error: tts Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config.py", line 853, in async_process_component_config platform = p_integration.get_platform(domain) File "/usr/src/homeassistant/homeassistant/loader.py", line 493, in get_platform cache[full_name] = self._import_platform(platform_name) File "/usr/src/homeassistant/homeassistant/loader.py", line 498, in _import_platform return importlib.import_module(f"{self.pkg_path}.{platform_name}") File "/usr/local/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "", line 783, in exec_module
File "", line 219, in _call_with_frames_removed
File "/config/custom_components/reversotts/tts.py", line 3, in
from pyttsreverso import pyttsreverso
ModuleNotFoundError: No module named 'pyttsreverso'
Debug info. What can be done to make it work again?