redash icon indicating copy to clipboard operation
redash copied to clipboard

watchdog OSError: Function not implemented

Open sunyaf opened this issue 3 years ago • 7 comments

when I exec "docker-compose up -d" on macos M1 redash_scheduler and redash_work print error Traceback (most recent call last):

File "/usr/local/bin/watchmedo", line 8, in

sys.exit(main())

File "/usr/local/lib/python3.7/site-packages/watchdog/watchmedo.py", line 573, in main

parser.dispatch()

File "/usr/local/lib/python3.7/site-packages/argh/helpers.py", line 55, in dispatch

return dispatch(self, *args, **kwargs)

File "/usr/local/lib/python3.7/site-packages/argh/dispatching.py", line 174, in dispatch

for line in lines:

File "/usr/local/lib/python3.7/site-packages/argh/dispatching.py", line 277, in _execute_command

for line in result:

File "/usr/local/lib/python3.7/site-packages/argh/dispatching.py", line 231, in _call

result = function(namespace_obj)

File "/usr/local/lib/python3.7/site-packages/watchdog/watchmedo.py", line 550, in auto_restart

observe_with(observer, handler, args.directories, args.recursive)

File "/usr/local/lib/python3.7/site-packages/watchdog/watchmedo.py", line 119, in observe_with

observer.start()

File "/usr/local/lib/python3.7/site-packages/watchdog/observers/api.py", line 255, in start

emitter.start()

File "/usr/local/lib/python3.7/site-packages/watchdog/utils/init.py", line 110, in start

self.on_thread_start()

File "/usr/local/lib/python3.7/site-packages/watchdog/observers/inotify.py", line 121, in on_thread_start

self._inotify = InotifyBuffer(path, self.watch.is_recursive)

File "/usr/local/lib/python3.7/site-packages/watchdog/observers/inotify_buffer.py", line 35, in init

self._inotify = Inotify(path, recursive)

File "/usr/local/lib/python3.7/site-packages/watchdog/observers/inotify_c.py", line 188, in init

Inotify._raise_error()

File "/usr/local/lib/python3.7/site-packages/watchdog/observers/inotify_c.py", line 417, in _raise_error

raise OSError(os.strerror(err))

OSError: Function not implemented

sunyaf avatar Jul 26 '22 02:07 sunyaf

What version of Redash? What operating system?

susodapop avatar Jul 26 '22 02:07 susodapop

v10.1.0 Latest, Can you help solve this problem? It seems very troublesome to install once now

my email is [email protected]

sunyaf avatar Jul 26 '22 02:07 sunyaf

v10.1.0 Latest, Can you help solve this problem? It seems very troublesome to install once now

my email is [email protected]

sunyaf avatar Jul 26 '22 02:07 sunyaf

What version of Redash? What operating system?

watchdog==0.9.0

sunyaf avatar Jul 26 '22 02:07 sunyaf

What version of Redash? What operating system?

my operating system Apple M1 Pro

sunyaf avatar Jul 26 '22 02:07 sunyaf

We're aware of issues building on Apple Silicon using the master branch. Try building using the fix-m1-build branch here: https://github.com/getredash/redash/tree/fix-m1-build

susodapop avatar Jul 26 '22 12:07 susodapop

Any news?

susodapop avatar Aug 07 '22 09:08 susodapop

Hi, Using the branch fix-m1-builddid not help in my case, but the instructions in this blog made it work: https://stephanmeijer.com/Redash-M1-Mac/

JonathanSamelson avatar Feb 22 '23 16:02 JonathanSamelson