tspivey / tdsr

A console screen reader for macOS and Linux
GNU General Public License v3.0
79 stars 19 forks source link

tdsr broken #24

Open mjonsson1986 opened 1 year ago

mjonsson1986 commented 1 year ago

looks like tdsr is broken. i follow all instructions. but allways get the error about foundation module not found

tspivey commented 1 year ago

I'm not sure what's going on with that, but this seems to fix it. Change the path on the first line of mac to point to the correct python interpreter.

I can't reproduce it. After upgrading to Ventura, I still can't get it to happen.

mjonsson1986 commented 1 year ago

sure i can try.. but wich path with homebrews python?

tspivey commented 1 year ago

/opt/homebrew/bin/python3 should work.

mjonsson1986 commented 1 year ago

from a error to another see bellow

bash-5.2$ ./tdsr Traceback (most recent call last): File "/Users/mattias/tdsr/./tdsr", line 835, in main() File "/Users/mattias/tdsr/./tdsr", line 310, in main synth.start() File "/Users/mattias/tdsr/./tdsr", line 251, in start self.pipe = subprocess.Popen(self.speech_server, stdin=subprocess.PIPE) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/subprocess.py", line 1022, in init self._execute_child(args, executable, preexec_fn, close_fds, File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/subprocess.py", line 1899, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) OSError: [Errno 8] Exec format error: '/Users/mattias/tdsr/mac' bash-5.2$ bash-5.2$

tspivey commented 1 year ago

Change the first line of mac to this:

#!/opt/homebrew/bin/python3
mjonsson1986 commented 1 year ago

and that give the foundation error. homebrew installs python 3.10. i run ventura 13 on this m1 mac