[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Search]

[Emacspeak] Re: Mac OS Monterey upgrade causes emacspeak to not load



Can't say anything about Espeak, but the Python version I am running is 3.10.4.
Regarding the Mac server though. What kind of output do you get if you switch to the emacspeak/servers directory and then run
python3 ./mac
from there? Do you get the "Emacspeak server" message or a traceback error from Python?


On Sun, Apr 17, 2022 at 9:38 AM Jeff Dittel <jeff@xxxxxxxxxxx> wrote:
I still cannot figure out how to install the Foundation module in the environment that the ./servers/mac script is trying to run in. I thought of just using a different TTS server, so I tried to make ESPEAK, and that failed too. Below is the output, but it looks like it cannot find a C++ header file. That seems odd.

Thanks,

Jeff

(base) emacspeak 1030 $ make espeak
c++ -g    -O2 -fPIC  -DPIC  -pedantic -ansi -Wall -Wno-long-long --std=c++11   -c -o tclespeak.o tclespeak.cpp
tclespeak.cpp:41:10: fatal error: 'espeak-ng/speak_lib.h' file not found
#include <espeak-ng/speak_lib.h>
         ^~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[1]: *** [tclespeak.o] Error 1
Can't build espeak server!
(base) emacspeak 1031 $




> On Apr 16, 2022, at 3:35 PM, Victor Tsaran via Emacspeak <emacspeak@xxxxxxxxxxx> wrote:
>
> Also, even after you update your Emacspeak repository.
> Depending on which Python3 installation you are using, you might need to install a pyobjc-framework-cocoa package which includes a wrapper for the Foundation framework needed by the Mac speech server.
> Simply use "pip install pyobjc-framework-cocoa" command to install the package.
> You also need to ensure that Python3 is in your path, otherwise, the server script will complain.
>
> Hope this helps.
> Victor
>
>
> On Fri, Apr 15, 2022 at 9:14 AM Parham Doustdar via Emacspeak <emacspeak@xxxxxxxxxxx> wrote:
> Hi Jeff,
> Have you tried doing `make clean` and then `make emacspeak` on the latest git version? Also, David just submitted a patch to make the Mac speech server work on MacOS 12.3+, so do a `git pull` before running make, too.
> Let me know how it goes.
> Best,
> Parham
>
> On Fri, Apr 15, 2022 at 5:37 PM Jeff Dittel via Emacspeak <emacspeak@xxxxxxxxxxx> wrote:
>
> Hello,
>
> My name is Jeff Dittel and I use emacspeak everyday on my job as a senior software engineer. I have a serious problem because emacspeak is no longer working.
>
> I recently upgraded my Mac to Monterey 12.31, and when I start emacs the init.el file crashes at the line:
>
> (load-file "~/Sources/emacspeak-master/emacspeak-master/lisp/emacspeak-setup.elâ??)
>
> The â??emacs â??debug-initâ?? command gives the following output:
>
> File Edit Options Buffers Tools Debugger Help                                                                                                                                                                                             
>                                                                                                                      |Debugger entered--Lisp error: (error "Buffer *scratch* has no process")
>                                                                                                                      |  process-send-string(nil "tts_sync_state all 0 0 1 100 \n")
>                                                                                                                      |  tts-configure-synthesis-setup()
>                                                                                                                      |  emacspeak()
>                                                                                                                      |  eval-buffer(#<buffer  *load*-447347> nil "/Users/jeffdittel/Sources/emacspeak-master/emacspeak-master/lisp/emacspea$
>                                                                                                                      |  load-with-code-conversion("/Users/jeffdittel/Sources/emacspeak-master/emacspeak-master/lisp/emacspeak-setup.el" "/U$
>                                                                                                                      |  load("/Users/jeffdittel/Sources/emacspeak-master/emacspeak-master/lisp/emacspeak-setup.el" nil nil t)
>                                                                                                                      |  load-file("~/Sources/emacspeak-master/emacspeak-master/lisp/emacspeak-setup.el")
>                                                                                                                      |  eval-buffer(#<buffer  *load*> nil "/Users/jeffdittel/.emacs.d/init.el" nil t)  ; Reading at buffer position 493
>                                                                                                                      |  load-with-code-conversion("/Users/jeffdittel/.emacs.d/init.el" "/Users/jeffdittel/.emacs.d/init.el" t t)
>                                                                                                                      |  load("/Users/jeffdittel/.emacs.d/init" t t)
>                                                                                                                      |  #[0 "^H\205\262^@     \306=\203^Q^@\307^H\310Q\202;^@ \311=\204^^^@\307^H\312Q\202;^@\313\307\314\315#\203*^@\316\2$
>                                                                                                                      |  command-line()
>                                                                                                                      |  normal-top-level()
>                                                                                                                      |
>                                                                                                                      |
>
> Can someone help fix the emacspeak-setup.el file?
>
> Thanks,
>
> Jeff
>
> Jeff Dittel
> ~~~~~~~~~~~
> jeff@xxxxxxxxxxx
> (414) 248-2292
> _______________________________________________
> Emacspeak mailing list -- emacspeak@xxxxxxxxxxx
> To unsubscribe send an email to emacspeak-leave@xxxxxxxxxxx
> _______________________________________________
> Emacspeak mailing list -- emacspeak@xxxxxxxxxxx
> To unsubscribe send an email to emacspeak-leave@xxxxxxxxxxx
>
>
> --
>
> --- --- --- ---
> Find my music on
> Youtube: http://www.youtube.com/c/victortsaran
> Spotify: https://open.spotify.com/artist/605ZF2JPei9KqgbXBqYA16
> Band Camp: http://victortsaran.bandcamp.com
>
> _______________________________________________
> Emacspeak mailing list -- emacspeak@xxxxxxxxxxx
> To unsubscribe send an email to emacspeak-leave@xxxxxxxxxxx



--

--- --- --- ---
Find my music on
Youtube: http://www.youtube.com/c/victortsaran
Spotify: https://open.spotify.com/artist/605ZF2JPei9KqgbXBqYA16
Band Camp: http://victortsaran.bandcamp.com



|May 1995 - Last Year|Current Year|


If you have questions about this archive or had problems using it, please contact us.

Contact Info Page