I am getting a different traceback error but the origin is still the Foundation module. Jeff (base) servers 1036 $ python3 ./mac Traceback (most recent call last): File "./mac", line 19, in <module> from Foundation import * File "/Users/jeffdittel/miniconda3/lib/python3.7/site-packages/Foundation/__init__.py", line 9, in <module> import CoreFoundation File "/Users/jeffdittel/miniconda3/lib/python3.7/site-packages/CoreFoundation/__init__.py", line 9, in <module> import objc File "/Users/jeffdittel/miniconda3/lib/python3.7/site-packages/objc/__init__.py", line 6, in <module> from . import _objc ImportError: dlopen(/Users/jeffdittel/miniconda3/lib/python3.7/site-packages/objc/_objc.cpython-37m-darwin.so, 0x0002): Library not loaded: @rpath/libffi.8.dylib Referenced from: /Users/jeffdittel/miniconda3/lib/python3.7/site-packages/objc/_objc.cpython-37m-darwin.so Reason: tried: '/Users/jeffdittel/miniconda3/lib/libffi.8.dylib' (no such file), '/Users/jeffdittel/miniconda3/lib/libffi.8.dylib' (no such file), '/Users/jeffdittel/miniconda3/lib/libffi.8.dylib' (no such file), '/Users/jeffdittel/miniconda3/lib/python3.7/site-packages/objc/../../../libffi.8.dylib' (no such file), '/Users/jeffdittel/miniconda3/lib/libffi.8.dylib' (no such file), '/Users/jeffdittel/miniconda3/lib/libffi.8.dylib' (no such file), '/Users/jeffdittel/miniconda3/lib/libffi.8.dylib' (no such file), '/Users/jeffdittel/miniconda3/lib/python3.7/site-packages/objc/../../../libffi.8.dylib' (no such file), '/Users/jeffdittel/miniconda3/lib/libffi.8.dylib' (no such file), '/Users/jeffdittel/miniconda3/lib/libffi.8.dylib' (no such file), '/Users/jeffdittel/miniconda3/bin/../lib/libffi.8.dylib' (no such file), '/Users/jeffdittel/miniconda3/lib/libffi.8.dylib' (no such file), '/Users/jeffdittel/miniconda3/lib/libffi.8.dylib' (no such file), '/Users/jeffdittel/miniconda3/bin/../lib/libffi.8.dylib' (no such file), '/usr/local/lib/libffi.8.dylib' (no such file), '/usr/lib/libffi.8.dylib' (no such file) (base) servers 1037 $ > 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
|May 1995 - Last Year|Current Year|
If you have questions about this archive or had problems using it, please contact us.