8000 Can't disable notifications · Issue #993 · guard/guard · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Can't disable notifications #993

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

Open
taq opened this issue Sep 13, 2024 · 0 comments
Open

Can't disable notifications #993

taq opened this issue Sep 13, 2024 · 0 comments

Comments

@taq
Copy link
taq commented Sep 13, 2024

On an Rails 7.0.2 app running on Ruby 3.3.0/Ubuntu 24.04 I'm facing this kind of error, after running the test more than once:

E, [2024-09-13T08:00:36.062408 #29134] ERROR -- : Exception rescued in listen-run_thread:--=---=---=---=---=---=---=---=---=---=---=---=---] 0% Time: 00:00:00,  ETA: ??:??:??
INotify::QueueOverflowError: inotify event queue has overflowed.
/home/taq/.rvm/gems/ruby-3.3.0/gems/rb-inotify-0.11.1/lib/rb-inotify/event.rb:120:in `initialize'
/home/taq/.rvm/gems/ruby-3.3.0/gems/rb-inotify-0.11.1/lib/rb-inotify/event.rb:100:in `new'
/home/taq/.rvm/gems/ruby-3.3.0/gems/rb-inotify-0.11.1/lib/rb-inotify/event.rb:100:in `consume'
/home/taq/.rvm/gems/ruby-3.3.0/gems/rb-inotify-0.11.1/lib/rb-inotify/notifier.rb:299:in `read_events'
/home/taq/.rvm/gems/ruby-3.3.0/gems/rb-inotify-0.11.1/lib/rb-inotify/notifier.rb:259:in `process'
/home/taq/.rvm/gems/ruby-3.3.0/gems/rb-inotify-0.11.1/lib/rb-inotify/notifier.rb:231:in `block in run'
/home/taq/.rvm/gems/ruby-3.3.0/gems/rb-inotify-0.11.1/lib/rb-inotify/notifier.rb:228:in `synchronize'
/home/taq/.rvm/gems/ruby-3.3.0/gems/rb-inotify-0.11.1/lib/rb-inotify/notifier.rb:228:in `run'
/home/taq/.rvm/gems/ruby-3.3.0/gems/listen-3.9.0/lib/listen/adapter/linux.rb:38:in `_run'
/home/taq/.rvm/gems/ruby-3.3.0/gems/listen-3.9.0/lib/listen/adapter/base.rb:79:in `block in start'
/home/taq/.rvm/gems/ruby-3.3.0/gems/listen-3.9.0/lib/listen/thread.rb:26:in `rescue_and_log'
/home/taq/.rvm/gems/ruby-3.3.0/gems/listen-3.9.0/lib/listen/thread.rb:18:in `block in new'
--- Thread.new ---
/home/taq/.rvm/gems/ruby-3.3.0/gems/listen-3.9.0/lib/listen/adapter/base.rb:75:in `start'
/home/taq/.rvm/rubies/ruby-3.3.0/lib/ruby/3.3.0/forwardable.rb:240:in `start'
/home/taq/.rvm/gems/ruby-3.3.0/gems/listen-3.9.0/lib/listen/listener.rb:71:in `block in <class:Listener>'
/home/taq/.rvm/gems/ruby-3.3.0/gems/listen-3.9.0/lib/listen/fsm.rb:124:in `instance_eval'
/home/taq/.rvm/gems/ruby-3.3.0/gems/listen-3.9.0/lib/listen/fsm.rb:124:in `call'
/home/taq/.rvm/gems/ruby-3.3.0/gems/listen-3.9.0/lib/listen/fsm.rb:105:in `transition_with_callbacks!'
/home/taq/.rvm/gems/ruby-3.3.0/gems/listen-3.9.0/lib/listen/fsm.rb:72:in `transition'
/home/taq/.rvm/gems/ruby-3.3.0/gems/listen-3.9.0/lib/listen/listener.rb:92:in `start'
/home/taq/.rvm/gems/ruby-3.3.0/gems/guard-2.18.1/lib/guard/commander.rb:35:in `start'

Seems something related to the notification system. I tried to instruct Guard to avoid it using notification: off and even on CLI using --no-notify, but it does not seems to work. What am I missing? Thanks!

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
0