Stoobly / stoobly-agent

Record, mock, and test HTTP/HTTPS requests. CLI agent for Stoobly.
Other
6 stars 0 forks source link

Unhandled exception in FSEventsEmitter #92

Closed stoobmmelier closed 1 year ago

stoobmmelier commented 1 year ago

Seen on MacOS Python 3.10 but not 3.9 or 3.8. Doesn't seem to impact anything

$ stoobly-agent run --proxy-port 8083
UI server listening at http://0.0.0.0:4200

Loading script /opt/homebrew/lib/python3.10/site-packages/stoobly_agent/app/proxy/intercept_handler.py
ERROR:fsevents:Unhandled exception in FSEventsEmitter
Traceback (most recent call last):
  File "/opt/homebrew/lib/python3.10/site-packages/watchdog/observers/fsevents.py", line 310, in run
    _fsevents.add_watch(self, self.watch, self.events_callback, self.pathnames)
RuntimeError: Cannot add watch <ObservedWatch: path=/Users/user/.stoobly, is_recursive=False> - it is already scheduled
INFO:root:app.settings.reload_settings
Proxy server listening at *:8083
Jvlythical commented 1 year ago

Resolved by https://github.com/Stoobly/stoobly-agent/commit/9623ba203262606f364fc1b40af96437a39eb0c2