Rhasspy 2.5.8 Released

Hi

Thanks for the quick reply :slight_smile: That didnā€™t work Iā€™m afraid. Iā€™ve tried searching in the package manager (synaptic) for that and it shows an old package called libpython3.7-minimal, but that doesnā€™t install and just gives this messageā€¦

Package libpython3.7-minimal has no available version, but exists in the database.
This typically means that the package was mentioned in a dependency and never uploaded, has been obsoleted or is not available with the contents of sources.list

Iā€™ve looked on https://packages.ubuntu.com/search too, but libpython3.7 hasnā€™t shipped since the bionic release (18.04)

I could try and force install the old 3.7 packages but Iā€™m not sure if this will break something else.

OK @TotalSpaceshipguy, Iā€™ve uploaded new .deb files that include libpython3.7m.so.1.0. Iā€™m hoping this will be enough to make it work :slight_smile:

@synesthesiam
Thanks for your time looking into this, itā€™s much appreaciated. Iā€™ve just re-installed, and now when running ā€œrhasspy -p enā€ I get this outputā€¦

Starting upā€¦
Using virtual environment at /usr/lib/rhasspy/.venv
Could not find platform independent libraries
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to [:<exec_prefix>]
Fatal Python error: initfsencoding: Unable to get the locale encoding
ModuleNotFoundError: No module named ā€˜encodingsā€™

Current thread 0x00007f3595668740 (most recent call first):
/usr/lib/rhasspy/bin/rhasspy-voltron: line 123: 12610 Aborted (core dumped) ā€œ${this_dir}/voltron-runā€ python3 -m rhasspysupervisor --profile ā€œ${profile_name}ā€ --user-profiles ā€œ${user_profiles}ā€ --docker-compose ā€˜ā€™ ā€œ${extra_supervisor_args[@]}ā€ --debug

1 Like

I am doing a fresh install, using git and french settings.
I get this error :

Successfully installed torch-1.6.0a0
cd ā€œ/root/rhasspy/rhasspy-tts-larynx-hermes/larynx/TTSā€ &&
ā€œ/root/rhasspy/.venv/bin/pythonā€ -m pip install -r requirements.txt &&
ā€œ/root/rhasspy/.venv/bin/pythonā€ -m pip install . &&
cd ā€œ/root/rhasspy/rhasspy-tts-larynx-hermes/larynx/TTS/TTS/tts/layers/glow_tts/monotonic_alignā€ &&
ā€œ/root/rhasspy/.venv/bin/pythonā€ setup.py install &&
cd ā€œ/root/rhasspy/rhasspy-tts-larynx-hermes/larynxā€ &&
ā€œ/root/rhasspy/.venv/bin/pythonā€ -m pip install -r requirements.txt
/bin/bash: ligne 0 : cd: /root/rhasspy/rhasspy-tts-larynx-hermes/larynx/TTS: Aucun fichier ou dossier de ce type
make: *** [Makefile:168: install-rhasspy] Error 1

Iā€™ve succeed in downloading manaully these files :

cd ā€œ/root/rhasspy/rhasspy-tts-larynx-hermes/ā€
mkdir larynx
cd larynx
wget https://github.com/rhasspy/TTS/archive/v0.2.0.tar.gz
tar xvzf v0.2.0.tar.gz
mv TTS-0.2.0 TTS

1 Like

I have the same problem. (synology CPU without AVX, rhasspy running in a docker container)
just commenting and looking forward for a fix.

2020-11-30T10:35:40.304586703Z [DEBUG:2020-11-30 11:35:40,304] rhasspyserver_hermes: -> TtsSay(text='es wird alles gut', site_id='base', lang=None, id='4664e7f3-93e7-4f0d-8d9c-541e728ad513', session_id='', volume=1.0),
2020-11-30T10:35:40.305337930Z [DEBUG:2020-11-30 11:35:40,304] rhasspyserver_hermes: Publishing 139 bytes(s) to hermes/tts/say,
2020-11-30T10:35:40.310632898Z [DEBUG] <- TtsSay(text='es wird alles gut', site_id='base', lang=None, id='4664e7f3-93e7-4f0d-8d9c-541e728ad513', session_id='', volume=1.0),
2020-11-30T10:35:40.310860571Z [DEBUG] Synthesizing 'es wird alles gut' (voice=de-thorsten),
2020-11-30T10:35:40.430902753Z [DEBUG] Number converter regex: ^-?\d+([,.]\d+)*\w+$,
2020-11-30T10:35:40.480057241Z [DEBUG] Loading lexicon from /usr/lib/rhasspy/.venv/lib/python3.7/site-packages/gruut/data/de-de/lexicon.txt.gz,
2020-11-30T10:35:46.437961739Z [DEBUG] Loaded pronunciations for 277911 word(s),
2020-11-30T10:36:10.337892268Z [ERROR:2020-11-30 11:36:10,337] rhasspyserver_hermes: ,
2020-11-30T10:36:10.338345076Z Traceback (most recent call last):,
2020-11-30T10:36:10.338405245Z   File "/usr/lib/rhasspy/.venv/lib/python3.7/site-packages/quart/app.py", line 1821, in full_dispatch_request,
2020-11-30T10:36:10.338527574Z   File "/usr/lib/rhasspy/.venv/lib/python3.7/site-packages/quart/app.py", line 1869, in dispatch_request,
2020-11-30T10:36:10.338473305Z     result = await self.dispatch_request(request_context),
2020-11-30T10:36:10.338588765Z     return await handler(**request_.view_args),
2020-11-30T10:36:10.338639978Z   File "/usr/lib/rhasspy/rhasspy-server-hermes/rhasspyserver_hermes/__main__.py", line 1661, in api_text_to_speech,
2020-11-30T10:36:10.338773246Z     results = await asyncio.gather(*aws),
2020-11-30T10:36:10.338847683Z   File "/usr/lib/rhasspy/rhasspy-server-hermes/rhasspyserver_hermes/__main__.py", line 1647, in speak,
2020-11-30T10:36:10.338960007Z   File "/usr/lib/rhasspy/rhasspy-server-hermes/rhasspyserver_hermes/__init__.py", line 599, in speak_sentence,
2020-11-30T10:36:10.338912745Z     volume=volume,,
2020-11-30T10:36:10.339014832Z     handle_finished(), messages, message_types,
2020-11-30T10:36:10.339062468Z   File "/usr/lib/rhasspy/rhasspy-server-hermes/rhasspyserver_hermes/__init__.py", line 971, in publish_wait,
2020-11-30T10:36:10.339116392Z     result_awaitable, timeout=timeout_seconds,
2020-11-30T10:36:10.339163508Z   File "/usr/lib/python3.7/asyncio/tasks.py", line 449, in wait_for,
2020-11-30T10:36:10.339268186Z concurrent.futures._base.TimeoutError,
2020-11-30T10:36:10.339214924Z     raise futures.TimeoutError(),
2020-11-30T10:36:20.410693723Z 1606732580: Socket error on client auto-86BA0B66-1B02-FDC0-8C9D-5881914B6E7E, disconnecting.,
2020-11-30T10:36:20.411697076Z /usr/lib/rhasspy/rhasspy-tts-larynx-hermes/bin/rhasspy-tts-larynx-hermes: line 15:   463 Illegal instruction     (core dumped) python3 -m rhasspytts_larynx_hermes "$@",
2020-11-30T10:29:32.858720497Z [INFO] Created synthesizer for de-thorsten,
2020-11-30T10:29:30.458951354Z [DEBUG] Creating Larynx synthesizer (de-thorsten)...,
2020-11-30T10:29:32.859498901Z [DEBUG] Using selector: EpollSelector,
2020-11-30T10:29:32.860020447Z [DEBUG] Connecting to localhost:12183,
2020-11-30T10:29:30.458745169Z [DEBUG] {'de-thorsten': {'model_path': PosixPath('/profiles/de/tts/larynx/de/thorsten/checkpoint_380000.pth.tar'), 'config_path': PosixPath('/profiles/de/tts/larynx/de/thorsten/config.json'), 'vocoder_path': PosixPath('/profiles/de/tts/larynx/de/thorsten/vocoder/checkpoint_500000.pth.tar'), 'vocoder_config_path': PosixPath('/profiles/de/tts/larynx/de/thorsten/vocoder/config.json')}},
2020-11-30T10:29:30.457880211Z [DEBUG] Namespace(cache_dir='/profiles/de/tts/larynx/cache', config=[], debug=True, default_voice='de-thorsten', host='localhost', log_format='[%(levelname)s:%(asctime)s] %(name)s: %(message)s', model=[['de-thorsten', '/profiles/de/tts/larynx/de/thorsten/checkpoint_380000.pth.tar']], password=None, play_command=None, port=12183, site_id=['base', 'pantheon2', 'kallisto', 'base'], tls=False, tls_ca_certs=None, tls_cert_reqs='CERT_REQUIRED', tls_certfile=None, tls_ciphers=None, tls_keyfile=None, tls_version=None, username=None, vocoder_config=[], vocoder_model=[['de-thorsten', '/profiles/de/tts/larynx/de/thorsten/vocoder/checkpoint_500000.pth.tar']], volume=1.0),
2020-11-30T10:36:20.411985739Z 2020-11-30 11:36:20,411 INFO exited: text_to_speech (exit status 132; not expected)
2 Likes

Has the Docker image for the Raspberry Pi Zero been updated? I just used ā€œdocker pull --platform linux/arm/v6 rhasspy/rhasspyā€ to pull for my Pi Zero and after starting the container the web interface still says 2.5.7

1 Like

Dockerhub is showing it as having been updated 5 days ago. Did you try a CTRL + R refresh of the web UI?

Thanks, @bsheepdiy

Iā€™m going to just include Larynx as a git submodule in the Larynx TTS service. Testing it out now.

Iā€™m curious, @TotalSpaceshipguy, how would you (and others) feel about an AppImage instead a Debian package?

I just spent like half a day wondering why it does not work on my zero ā€¦

1 Like

Iā€™ve tried to make this clear in the docs, but itā€™s just terribly unintuitive. I donā€™t understand why Docker specifically does this just for armv6l. I believe itā€™s because the Pi Zero lies about itā€™s architecture, reporting armhf when itā€™s really armel.

I just check in another browser and it still shows 2.5.7.
Iā€™ll try doing another upgrade and see what happens.

yes. it is very clear in the docs indeed - so no hard feelings :wink:
I have setup two satellite on rpi4 before and didnā€™t thought that it could have something todo with the wrong image. Also most of the time was actually waiting anywaysā€¦

1 Like

@synesthesiam

I personally donā€™t mind an appImage package, and they appear to be less hassle than ubuntu snaps!. This would also be a good way to get Rhasspy onto other non Debian distros, rather than having to build specific packages for each package manager. Itā€™s also probably a lot easier to deploy than docker, but I have no experience of that, which is why I went down the native package route to start with.

Purists could argue that applications should always be installed and managed by the package manager, and the appImage approach is just wasting space bundling dependencies that are already on the system anyway as part of the pre-requisites.

If you can spend less time on one appImage to rule them all, instead of creating and testing individual packages for multiple distros, and that gives the devs more time to work on the actual product, then this canā€™t be a bad thing in my humble opinion :slight_smile:

Iā€™m happy to do testing on the app Image if you create one.

Very weird. Is it possible the 2.5.7 container is still running, or that you have that version pinned?

I removed the 2.5.7 container with a ā€˜docker rmā€™ command.
I think I did something wrong when I pulled 2.5.8 and didnā€™t actually pull it.

So I did another pull yesterday and tried to install it. I ran into an error when I exec my docker run command.

I created a thread in the help section of the forum about the error.

1 Like

Any progress on English for Larynx @synesthesiam? Iā€™ve been using cloud-based TTS for a while, so Iā€™m excited to give Larynx a try!

Hi @hawkeye217

Yes, Iā€™m still working on an English voice. Iā€™ve prioritized some other voices from volunteers first, so itā€™s still got a few days of training left to go :slight_smile:

1 Like

Hi @synesthesiam
I see you have a few questions to answer but maybe you could help me too? Iā€™m running rhasspy inside a docker container on an Ubuntu VM (KVM processor x64, proxmox) on a NUC with an Intel Core i5-8259U. And Iā€™m having the same issue (I think). Do you have experience with proxmox or enableing AVX on a MV?

Many thanks!

@synesthesiam Successfully playing with Larynx and Russian language! Thank you!
Have few questions:

  1. Does Larynx could speech numbers?! Canā€™t figure out. Because in my case only words are spoken but not int(1,2,3 etc).
  2. Can we hope for a female voice of Russian Larynx? As I could see female models are available.

PS: Seems Porcupine updates to V1.9 - added some new words to RPi platform.

1 Like