Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not working under macOS #62

Open
paxcoder opened this issue Jan 27, 2023 · 3 comments
Open

not working under macOS #62

paxcoder opened this issue Jan 27, 2023 · 3 comments
Labels

Comments

@paxcoder
Copy link

Hi.
some people told me that this will work under macOS, but installation fails, because the script is trying to install it in a location that is locked, due to security.

@stormdragon2976
Copy link
Collaborator

stormdragon2976 commented Jan 28, 2023 via email

@chrys87
Copy link
Owner

chrys87 commented Oct 21, 2024

@stormdragon2976 is right, you can start fenrir just from git without need of any installation. but you need to install the required dependencies.
the most important one for you seems to be:

  • pyte (pythton modul for terminal emulation)
  • sox (for sound output)
  • espeak-ng (for basic TTS)
  • pyenchant (for spellchecking)

the you can just go to your local cloned git location
<gitroot>/src/fenrir -e

the parameter -e uses the terminal emulation mode. so it reads the information from stin / stout and sterr and presents it to you.

@Martin1088
Copy link

Hi

I have tried it this way.
And got:
fernir -e
Not to work:

(myenv) ➜ src git:(master) ✗ ./fenrir -e
Traceback (most recent call last):
File "/Users/m049k/Projects/screenreader/fenrir/src/./fenrir", line 21, in
main()
^^^^^^
File "/Users/m049k/Projects/screenreader/fenrir/src/./fenrir", line 16, in main
app = fenrirManager.fenrirManager()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

But ./fenrir -s ../config/settings/settings-pty.conf
The fenrir starts speaking but:
Process Process-1:
Traceback (most recent call last):
File "/opt/homebrew/Cellar/[email protected]/3.12.7_1/Frameworks/Python.framework/Versions/3.12/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap
self.run()
File "/opt/homebrew/Cellar/[email protected]/3.12.7_1/Frameworks/Python.framework/Versions/3.12/lib/python3.12/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/Users/m049k/Projects/screenreader/fenrir/src/fenrirscreenreader/core/processManager.py", line 92, in simpleEventWorkerThread
self.env['runtime']['eventManager'].putToEventQueue(event, Data)
File "/Users/m049k/Projects/screenreader/fenrir/src/fenrirscreenreader/core/eventManager.py", line 92, in putToEventQueue
if self.getEventQueueSize() > 50:
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/m049k/Projects/screenreader/fenrir/src/fenrirscreenreader/core/eventManager.py", line 86, in getEventQueueSize
return self._eventQueue.qsize()
^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/[email protected]/3.12.7_1/Frameworks/Python.framework/Versions/3.12/lib/python3.12/multiprocessing/queues.py", line 126, in qsize
return self._maxsize - self._sem._semlock._get_value()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
NotImplementedError

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants