natrys / whisper.el

Speech-to-Text interface for Emacs using OpenAI's whisper model and whisper.cpp as inference engine.
149 stars 10 forks source link

error in process sentinel: Symbol’s value as variable is void: whisper--stdout-buffer #17

Closed liar666 closed 11 months ago

liar666 commented 11 months ago

Hi,

I just upgraded my DoomEmacs installation.

No I get error in process sentinel: Symbol’s value as variable is void: whisper--stdout-buffer when I call whisper-run.

Any idea where does this come from? And how to solve it?

natrys commented 11 months ago

Really hard to say from this without knowing more. Can you replicate the error if:

if so, please turn on backtrace with (setq debug-on-error t) and post the backtrace shown upon error. Also please post your whisper.el config.

liar666 commented 11 months ago

Hi,

Thanks for the quick response.

It seems to be working now that I've downloaded the latest whisper.el from git.

FWIW, I had/have the following lines in my config.org:

 (use-package! whisper
  :load-path
    "~/.doom.d/packages/whisper.el"

And I don't know why "~/.doom.d/packages/whisper.el" had been removed. I don't know either which version was used then (probably the default from DoomEmacs' repositories or an old compiled cache?). But seems to be solve now.