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

Monitor is unable to start after running judge in docker container #1192

Open
kartik-mathur-cb opened this issue Dec 16, 2024 · 1 comment
Open

Comments

@kartik-mathur-cb
Copy link

ERROR 2024-12-16 11:17:50,629 7 monitor Failed to start problem monitor.
Traceback (most recent call last):
File "/judge/dmoj/monitor.py", line 116, in start
self._monitor.start()
File "/env/lib/python3.12/site-packages/watchdog/observers/api.py", line 264, in start
emitter.start()
File "/env/lib/python3.12/site-packages/watchdog/utils/init.py", line 75, in start
self.on_thread_start()
File "/env/lib/python3.12/site-packages/watchdog/observers/inotify.py", line 119, in on_thread_start
self._inotify = InotifyBuffer(path, recursive=self.watch.is_recursive, event_mask=event_mask)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/env/lib/python3.12/site-packages/watchdog/observers/inotify_buffer.py", line 30, in init
self._inotify = Inotify(path, recursive=recursive, event_mask=event_mask)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/env/lib/python3.12/site-packages/watchdog/observers/inotify_c.py", line 187, in init
self._add_watch(path, event_mask)
File "/env/lib/python3.12/site-packages/watchdog/observers/inotify_c.py", line 424, in _add_watch
Inotify._raise_error()
File "/env/lib/python3.12/site-packages/watchdog/observers/inotify_c.py", line 441, in _raise_error
raise OSError(err, os.strerror(err))
FileNotFoundError: [Errno 2] No such file or directory
Warning: failed to start problem monitor!

@kartik-mathur-cb
Copy link
Author

kartik-mathur-cb commented Dec 16, 2024

I have verified the path under problem_storage_globs in judge.yml on my end and also mentioned correct path for problem_data_storage_root in settings.py. The problem is still persisting. Due to this error I am not able to find any judge under the judge available section of a problem even after it is recognised under judges in admin panel.

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

No branches or pull requests

1 participant