Comments (5)
Did you create a new slot first?
from rhasspy.
Just noticed this same behavior. I'll try creating a single new slot first, then reloading all my previously existing 2.4.x slots.
Nope, didn't change the results. The slots file in my profile directory DOES contain all the slots I copied in, though. So that's good.
from rhasspy.
Not exactly the same issue, but FWIW in a fresh install of the 2.5.0 docker based version with no pre-existing profile, I had to manually create the $HOME/.config/rhasspy/profile/en/slots directory in order for "New Slot" to work. Once I did so, I was able to use the web UI to create and edit slots files.
Is it possible that there is some strangeness with file ownership / permissions that could affect users with pre-existing profile files? The whole directory tree under $HOME/.config/rhasspy ended up owned by root even though I launched the docker container without sudo after adding myself to the docker group -- i.e. "docker run..." rather than "sudo docker run..." -- even though that is very bad practice. I'm going to experiment with starting over and passing the user and group pids for myself into the "docker run..." command to see if that changes things.
from rhasspy.
@parasaurolophus nailed it, on the head.
Without the slots sub-directory being present in the profile directory, the service could not properly create and save new slot files.
from rhasspy.
The whole directory tree under $HOME/.config/rhasspy ended up owned by root even though I launched the docker container without sudo after adding myself to the docker group
This happens because the user inside the Docker container is root
by default. You need to add this to your docker run
command:
$ docker run ... --user "$(id -u):$(id -g)" ...
Beware that this can sometimes fail to access the microphone directly, which is why I don't do it by default in the documentation.
Rhasspy always tries to create the slot sub-directories before writing the slot, so this must be a permissions issue. After switching between Docker and a venv install, I often have to do:
$ sudo chown -R $USER:$USER ~/.config/rhasspy
from rhasspy.
Related Issues (20)
- Add a noise reduction system to Rhasspy and eliminate extraneous sounds HOT 6
- Picovoice/porcupine - react demo not working
- Extension request for oobabooga web UI
- Issue with my localhost:12101
- Aplay error after upgrade to home assistant 2023.6.1 HOT 1
- curl (22) the requested url returned error 404 HOT 3
- libgfortran4 no longer available via apt for Raspberry Pi OS HOT 1
- AsrException: 'str' object has no attribute 'get' HOT 1
- wyoming-piper cuda
- MacOS Build HOT 1
- No Audio Response from HA in 2.5.11 HOT 6
- When TTS is set to remote http the AudioPlayFinished come to early
- Chromebook offline
- ./configure fails on MacBook: error: ATLAS is required for Kaldi
- How to change the sound effect files? HOT 1
- Snowboy link broken in docs
- Intent using open transcription as slot state
- Different event messages based on intent recognized or not?
- aplay rhasspy problem HOT 1
- HTTP API /api/text-to-speech ignores voice parameter
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rhasspy.