-
-
Notifications
You must be signed in to change notification settings - Fork 499
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
DietPi-Software | Mycroft: Skills folder created with incorrect permissons #3905
Comments
That is strange indeed, let me try to debug. In case it is easiest to re-set |
We already create
|
Jep indeed, that'll do it. However, still good to understand what's going wrong with |
probably it might be related to Line 6141 in a5407d1
However the directory
and permissions are not changed Or, it's due to the sym link we created to point to dietpi user data?? 🤔 |
I was thinking the same first, but that works:
|
Found it:
It is intended to be a regular directory, so this is not an issue with the Mycroft installer. Pre-creating the directory makes that code block being skipped, which is indeed the cleanest solution. |
On dev branch:
Setting
let me continue with the installation. Besides that, I got it to understand my "Hey Jarvis" as a wakeword once (in about 1 hour of testing), so this probably works. |
Lol, I never hot "Hey Mycroft" to work, "Hey Jarvis" not well (probably one of two times, better after some attempts), "Hey Ezra" almost great and "Christopher" by far best. Not sure if the microphone plays a role as well, or if it needs to learn your voice for a while (not sure if it actually learns it or STT is done a static way). I'll fix the permissions issue. Strange, did you face the missing execute permissions on a fresh install? Since 775 (world read+execute) is what the file has by default 🤔. |
Ezra didn't work at all (or maybe it did, but with a similar success rate as Jarvis), and I didn't try Christopher (my name is too similiar, and I don't want it to react if I get called :D ) I got it to work it with Jarvis a few more times, but so far, it's not really usable for me. It also always falls back to Pocket Sphinx, because no model for Precise gets found.
If uninstalling via Dietpi and reinstalling it (after updating to the dev branch) counts as fresh, it's fresh. I didn't touch any files there myself. |
I got "Hey Mycroft" to work most of the time, but it never responds to me. I know the sound works, because I get the beep when it hears the wake word. Looking at the CLI, it hears me and responds with text, but that's it. |
Interesting how different the experiences are. Pocket Sphinx fallback btw is expected in all cases but "Hey Mycroft", AFAIK.
You did not install Mimic, did you? I needed to learn that the default British Male voice it the local Mimic instance, there is no online version of it. The other two voices, American Male and Google Voice are online voices which should work OOTB. Check out the docs about how to install local Mimic: https://dietpi.com/docs/software/hardware_projects/#mycroft-ai |
I used American Male, but I'll try Mimic anyway. |
Okay, if American Male fails, then probably the |
After reinstalling, the audio is working some of the time, and to be honest, this is probably the configuration of my VM messing it up. Don't know why it wasn't working before. Though I am getting errors when I try to use Google Voice, along the lines of |
Seems to be an external issue with GoogleTTS:
Looks like next Home Assistant update will have it fixed. |
@MichaIng
before creating a PR, just like to check with you. There was an issue reported on incorrect permissions for
skills
folder inside/mnt/dietpi_userdata/mycroft-data
. The directory is created by installation scriptdev_setup.sh
and usually it should change permission according the script.However it's not gonna do that and directory belongs to
root
still. Probablysetup_user=$USER
is not detected correctly.Basically we would have following options
dietpi-software
and change owner after execution ofdev_setup.sh
skills
our self before changing folder permissionsdev_setup.sh
to change user correctly?I could create RP if you prefer option 1 or 2.
Related forum post: https://dietpi.com/phpbb/viewtopic.php?f=11&t=8252
EDIT: probably easiest to change
DietPi/dietpi/dietpi-software
Line 6120 in a5407d1
into
mkdir -p /mnt/dietpi_userdata/mycroft-data/skills
The text was updated successfully, but these errors were encountered: