papoteur-mga / elograf

Utility for launching and configuring nerd-dictation
GNU General Public License v3.0
61 stars 4 forks source link

Failed to create a model #8

Closed auwsom closed 2 years ago

auwsom commented 2 years ago

Hi, this app looks really great to be able to control nerd-dictation.

Unfortunately, I got this error "FileNotFoundError: [Errno 2] No such file or directory: 'nerd-dictation'".

Does it need to be in the same directory? I have ND in ~/git/nerd-dictation. So I put that dir in my PATH, but it didnt resolve the error.

auwsom commented 2 years ago

So, I found my .profile isnt setting PATH args, but my .bashrc is. I got past that error, but now have:

Exception: Failed to create a model
write() failed: Broken pipe
auwsom commented 2 years ago

Okay, I just had to point the configuration custom model to: /home/user/git/nerd-dictation/model

papoteur-mga commented 2 years ago

Hello, I know that the installation can be tricky. This is the work of distributions to have all parts pulled in the same time. I think also to a mechanism to choose and download directly a model.

auwsom commented 2 years ago

Thank you. Yes, I also just wanted to leave the information of what I did to alleviate the errors for anyone else with the issues.

Is it possible to assign a keyboard hotkey to activate the dictation?

On Tue, May 10, 2022, 1:26 AM Papoteur @.***> wrote:

Hello, I know that the installation can be tricky. This is the work of distributions to have all parts pulled in the same time. I think also to a mechanism to choose and download directly a model.

— Reply to this email directly, view it on GitHub https://github.com/papoteur-mga/elograf/issues/8#issuecomment-1122086317, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF7OL3FXKD5IFVZL5HOQK6LVJIMTNANCNFSM5VQCROAQ . You are receiving this because you modified the open/close state.Message ID: @.***>

papoteur-mga commented 2 years ago

Elograf can't help for keyboard shortcut. For that, you have to create two shortcuts from within your preferred desktop to launch respectively nerd-dictation begin (and parameters) and nerd-dictation end.

papoteur-mga commented 2 years ago

Hello, I just added a new release which allows the selection of the model and to download them from alphacei/vosk website. You have to configure again the model. For already imported model, give it a name.