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

Stash-watcher file not found??? #223

Open
apperrault opened this issue Jan 18, 2024 · 1 comment
Open

Stash-watcher file not found??? #223

apperrault opened this issue Jan 18, 2024 · 1 comment

Comments

@apperrault
Copy link
Sponsor

hey y'all
I am trying to get stash-watcher running in a docker container and I am running into an issue. The docker-compose is pretty straight forward and it looks to start to build, but then it throws an error.

01/18/2024
09:22:19 AM
�d� Using stash (v0.24.3-0) endpoint at http://stash:9999/graphql
01/18/2024
09:22:19 AM
Traceback (most recent call last):
01/18/2024
09:22:19 AM
  File "/usr/src/app/./watcher.py", line 240, in <module>
01/18/2024
09:22:19 AM
    main(stash, scanFlags, paths, extensions, timeout, pollInterval)
01/18/2024
09:22:19 AM
  File "/usr/src/app/./watcher.py", line 148, in main
01/18/2024
09:22:19 AM
    observer.start()
01/18/2024
09:22:19 AM
  File "/usr/local/lib/python3.11/site-packages/watchdog/observers/api.py", line 261, in start
01/18/2024
09:22:19 AM
    emitter.start()
01/18/2024
09:22:19 AM
  File "/usr/local/lib/python3.11/site-packages/watchdog/utils/__init__.py", line 92, in start
01/18/2024
09:22:19 AM
    self.on_thread_start()
01/18/2024
09:22:19 AM
  File "/usr/local/lib/python3.11/site-packages/watchdog/observers/inotify.py", line 119, in on_thread_start
01/18/2024
09:22:19 AM
    self._inotify = InotifyBuffer(path, self.watch.is_recursive)
01/18/2024
09:22:19 AM
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
01/18/2024
09:22:19 AM
  File "/usr/local/lib/python3.11/site-packages/watchdog/observers/inotify_buffer.py", line 37, in __init__
01/18/2024
09:22:19 AM
    self._inotify = Inotify(path, recursive)
01/18/2024
09:22:19 AM
                    ^^^^^^^^^^^^^^^^^^^^^^^^
01/18/2024
09:22:19 AM
  File "/usr/local/lib/python3.11/site-packages/watchdog/observers/inotify_c.py", line 181, in __init__
01/18/2024
09:22:19 AM
    self._add_watch(path, event_mask)
01/18/2024
09:22:19 AM
  File "/usr/local/lib/python3.11/site-packages/watchdog/observers/inotify_c.py", line 416, in _add_watch
01/18/2024
09:22:19 AM
    Inotify._raise_error()
01/18/2024
09:22:19 AM
  File "/usr/local/lib/python3.11/site-packages/watchdog/observers/inotify_c.py", line 432, in _raise_error
01/18/2024
09:22:19 AM
    raise OSError(err, os.strerror(err))
01/18/2024
09:22:19 AM
FileNotFoundError: [Errno 2] No such file or directory`

here is the link to the whole log https://pastebin.com/sL4JceYB

Anyone have any thoughts?

thanks

app

@David-Maisonave
Copy link
Contributor

Anyone have any thoughts?

You might want to try out ChangeFileMonitor plugin. It's similar to Stash-watcher, but as a plugin with improved features.

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

2 participants