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

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



I did deactivate the conda virtual environment, installed the PYOBJC module, the PYOBJC-framework-cocoa module, the Foundation module, and still get the same module not found Foundation error.

Jeff


> On Apr 18, 2022, at 10:18 AM, Devin Prater <r.d.t.prater(a)gmail.com> wrote:
> 
> Try using regular Python, not Anaconda.
> Devin Prater
> r.d.t.prater(a)gmail.com
> 
> 
> 
> 
> On Mon, Apr 18, 2022 at 9:06 AM Jeff Dittel via Emacspeak <emacspeak(a)emacspeak.org> wrote:
> Sorry, don’t mean to be dramatic, but I cannot work until I get emacspeak working. Current state:
> 
> * Running ./servers/mac I still get module not found Foundation
> * When I start emacs I get the organ and the “This is emacspeak”
> However, emacspeak is silent
> * When I do a make ESPEAK, there is an error can’t find a C++ header file.
> * Below is my ~/.emacs.d/init.el file
> 
> Apparently, I need to get some TTS server running?
> 
> Thanks,
> 
> Jeff
> 
> (base) .emacs.d 1010 $ cat init.el
> (setq load-path (cons "~/emacspeak/lisp" load-path))
> (setq emacspeak-directory "~/emacspeak")
> (setq dtk-program "mac")
> (setq emacspeak-character-echo nil)
> (setq line-move-visual nil)
> (setq bookmark-save-flag 1)
> (load-file "~/emacspeak/lisp/mac-voices.el")
> (load-file "~/emacspeak/lisp/emacspeak-setup.el")
> (setq mac-default-speech-rate 350)
> (setq dtk-set-rate 350)
> (global-set-key (kbd "C-x r d") 'bookmark-delete)
> 
> 
> 
> 
> > On Apr 17, 2022, at 7:12 PM, Victor Tsaran via Emacspeak <emacspeak(a)emacspeak.org> wrote:
> > 
> > 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(a)britlan.com> 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(a)emacspeak.org> 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(a)emacspeak.org> 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(a)emacspeak.org> 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(a)britlan.com
> > > (414) 248-2292
> > > _______________________________________________
> > > Emacspeak mailing list -- emacspeak(a)emacspeak.org
> > > To unsubscribe send an email to emacspeak-leave(a)emacspeak.org
> > > _______________________________________________
> > > Emacspeak mailing list -- emacspeak(a)emacspeak.org
> > > To unsubscribe send an email to emacspeak-leave(a)emacspeak.org
> > > 
> > > 
> > > -- 
> > > 
> > > --- --- --- ---
> > > 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(a)emacspeak.org
> > > To unsubscribe send an email to emacspeak-leave(a)emacspeak.org
> > 
> > 
> > 
> > -- 
> > 
> > --- --- --- ---
> > 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(a)emacspeak.org
> > To unsubscribe send an email to emacspeak-leave(a)emacspeak.org
> _______________________________________________
> Emacspeak mailing list -- emacspeak(a)emacspeak.org
> To unsubscribe send an email to emacspeak-leave(a)emacspeak.org


|May 1995 - Last Year|Current Year|


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

Contact Info Page