-
-
Notifications
You must be signed in to change notification settings - Fork 709
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
watchmedo not working on M1 Mac #838
Comments
It seems the docker image does not know |
I'm having a similar issue with the watchdog library (not watchmedo):
The base image is python:3.9-slim. |
@aantn, could you provide minimal repoduction steps? |
I tried, but the minimal example I created doesn't reproduce the issue. Some differences between the original error and my failed reproduction of it:
If I have time I will dig deeper on this, but I can't promise. I have a lot of other stuff going on right now and can't prioritize this. |
Even without being able to reproduce, can you tell me what to do to try reproducing? |
I've got a working reproduction now. Just run
|
We've spent a lot of time working on this and the problem is that emulation on M1 does not support https://docs.docker.com/desktop/mac/apple-silicon/
We've had to start removing |
If you have the flexibility of using an |
The only solution is to switch to arm64-capable, eventually multi-arch, images. |
Because the problem is entirely related to |
Thanks a lot for the information @boomshadow 🍾 |
Hey Guys,
We have two mac Big Sur, one intel and the other M1. watchmedo is not working when called from the M1.
test_app| Inotify._raise_error() test_app | File "/usr/local/lib/python3.8/dist-packages/watchdog/observers/inotify_c.py", line 405, in _raise_error test_app | raise OSError(err, os.strerror(err)) **test_app | OSError: [Errno 38] Function not implemented** test_app_valid exited with code 1 test_app exited with code 1
watchmedo is being called inside a docker image.
Our compose.yml command:
command: watchmedo auto-restart -d test_app/test_app_valid/ -p '*.py' -- python3 -m debugpy --listen 0.0.0.0:20000 -m test_app. test_app_valid
The text was updated successfully, but these errors were encountered: