Open dima4p opened 7 years ago
When leaving guard via ^D I received
17:30:43 - DEBUG - Interactor was stopped or killed
17:30:43 - DEBUG - Guard stops all plugins
17:30:43 - DEBUG - Hook :stop_begin executed for Guard::LiveReload
17:30:43 - DEBUG - Hook :stop_end executed for Guard::LiveReload
17:30:43 - DEBUG - Hook :stop_begin executed for Guard::Spork
17:30:43 - DEBUG - Killing Spork servers with PID: 22011
E, [2016-11-08T17:30:43.533388 #21984] ERROR -- : run() in thread failed: undefined method `callback!' for nil:NilClass:\n /usr/local/rvm/gems/ruby-1.9.3-p551@mp_katalysator/gems/rb-inotify-0.9.5/lib/rb-inotify/event.rb:128:in `callback!'
/usr/local/rvm/gems/ruby-1.9.3-p551@mp_katalysator/gems/rb-inotify-0.9.5/lib/rb-inotify/notifier.rb:238:in `block in process'
/usr/local/rvm/gems/ruby-1.9.3-p551@mp_katalysator/gems/rb-inotify-0.9.5/lib/rb-inotify/notifier.rb:238:in `each'
/usr/local/rvm/gems/ruby-1.9.3-p551@mp_katalysator/gems/rb-inotify-0.9.5/lib/rb-inotify/notifier.rb:238:in `process'
/usr/local/rvm/gems/ruby-1.9.3-p551@mp_katalysator/gems/rb-inotify-0.9.5/lib/rb-inotify/notifier.rb:221:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p551@mp_katalysator/gems/listen-3.0.5/lib/listen/adapter/linux.rb:38:in `_run'
/usr/local/rvm/gems/ruby-1.9.3-p551@mp_katalysator/gems/listen-3.0.5/lib/listen/adapter/base.rb:78:in `block in start'
/usr/local/rvm/gems/ruby-1.9.3-p551@mp_katalysator/gems/listen-3.0.5/lib/listen/internals/thread_pool.rb:6:in `call'
/usr/local/rvm/gems/ruby-1.9.3-p551@mp_katalysator/gems/listen-3.0.5/lib/listen/internals/thread_pool.rb:6:in `block in add'\n\ncalled from:\n /usr/local/rvm/gems/ruby-1.9.3-p551@mp_katalysator/gems/listen-3.0.5/lib/listen/backend.rb:26:in `start'
/usr/local/rvm/gems/ruby-1.9.3-p551@mp_katalysator/gems/listen-3.0.5/lib/listen/listener.rb:67:in `block in <class:Listener>'
/usr/local/rvm/gems/ruby-1.9.3-p551@mp_katalysator/gems/listen-3.0.5/lib/listen/fsm.rb:120:in `instance_eval'
/usr/local/rvm/gems/ruby-1.9.3-p551@mp_katalysator/gems/listen-3.0.5/lib/listen/fsm.rb:120:in `call'
/usr/local/rvm/gems/ruby-1.9.3-p551@mp_katalysator/gems/listen-3.0.5/lib/listen/fsm.rb:91:in `transition_with_callbacks!'
/usr/local/rvm/gems/ruby-1.9.3-p551@mp_katalysator/gems/listen-3.0.5/lib/listen/fsm.rb:57:in `transition'
/usr/local/rvm/gems/ruby-1.9.3-p551@mp_katalysator/gems/listen-3.0.5/lib/listen/listener.rb:90:in `start'
/usr/local/rvm/gems/ruby-1.9.3-p551@mp_katalysator/gems/guard-2.13.0/lib/guard/commander.rb:35:in `start'
/usr/local/rvm/gems/ruby-1.9.3-p551@mp_katalysator/gems/guard-2.13.0/lib/guard/cli/environments/valid.rb:16:in `start_guard'
/usr/local/rvm/gems/ruby-1.9.3-p551@mp_katalysator/gems/guard-2.13.0/lib/guard/cli.rb:122:in `start'
/usr/local/rvm/gems/ruby-1.9.3-p551@mp_katalysator/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p551@mp_katalysator/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
/usr/local/rvm/gems/ruby-1.9.3-p551@mp_katalysator/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
/usr/local/rvm/gems/ruby-1.9.3-p551@mp_katalysator/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
/usr/local/rvm/gems/ruby-1.9.3-p551@mp_katalysator/gems/guard-2.13.0/lib/guard/aruba_adapter.rb:32:in `execute'
/usr/local/rvm/gems/ruby-1.9.3-p551@mp_katalysator/gems/guard-2.13.0/lib/guard/aruba_adapter.rb:19:in `execute!'
/usr/local/rvm/gems/ruby-1.9.3-p551@mp_katalysator/gems/guard-2.13.0/bin/_guard-core:11:in `<main>'
17:30:43 - ERROR - Guard::Spork failed to achieve its <stop>, exception was:
> [#0D8F44B3775F] NoMethodError: undefined method `callback!' for nil:NilClass
> [#0D8F44B3775F] /usr/local/rvm/gems/ruby-1.9.3-p551@mp_katalysator/gems/rb-inotify-0.9.5/lib/rb-inotify/event.rb:128:in `callback!'
> [#0D8F44B3775F] /usr/local/rvm/gems/ruby-1.9.3-p551@mp_katalysator/gems/rb-inotify-0.9.5/lib/rb-inotify/notifier.rb:238:in `block in process'
> [#0D8F44B3775F] /usr/local/rvm/gems/ruby-1.9.3-p551@mp_katalysator/gems/rb-inotify-0.9.5/lib/rb-inotify/notifier.rb:238:in `each'
> [#0D8F44B3775F] /usr/local/rvm/gems/ruby-1.9.3-p551@mp_katalysator/gems/rb-inotify-0.9.5/lib/rb-inotify/notifier.rb:238:in `process'
> [#0D8F44B3775F] /usr/local/rvm/gems/ruby-1.9.3-p551@mp_katalysator/gems/rb-inotify-0.9.5/lib/rb-inotify/notifier.rb:221:in `run'
> [#0D8F44B3775F] /usr/local/rvm/gems/ruby-1.9.3-p551@mp_katalysator/gems/listen-3.0.5/lib/listen/adapter/linux.rb:38:in `_run'
> [#0D8F44B3775F] /usr/local/rvm/gems/ruby-1.9.3-p551@mp_katalysator/gems/listen-3.0.5/lib/listen/adapter/base.rb:78:in `block in start'
> [#0D8F44B3775F] /usr/local/rvm/gems/ruby-1.9.3-p551@mp_katalysator/gems/listen-3.0.5/lib/listen/internals/thread_pool.rb:6:in `call'
> [#0D8F44B3775F] /usr/local/rvm/gems/ruby-1.9.3-p551@mp_katalysator/gems/listen-3.0.5/lib/listen/internals/thread_pool.rb:6:in `block in add'
17:30:43 - INFO - Guard::Spork has just been fired
17:30:43 - INFO - Bye bye...
Hey, I am having almost the same issue.
Unfortunately none of the solutions provided in the related issues helped me.
ruby 2.3.3p222
guard (2.14.1)
guard-rspec (4.7.3)
Interesting is that it worked with this combo:
ruby 2.1.9p490
guard (2.13.0)
guard-rspec (4.6.4)
And also I found out that this combo also works:
ruby 2.3.3p222
guard (2.14.1)
guard-rspec (4.6.4)
That's why I conclude that the bug is in guard-rspec
between 4.6.4 and 4.7.3
guard-rspec's handling of the results file should be refactored and made more robust using mktemp(). There's a ton of issues going back a few years all related to being unable to open the results file.
re: https://github.com/guard/guard-rspec/issues/362
Hello, I've met the problem again and prepared debug info
The next save of the file does not perform the run just returning