-
Notifications
You must be signed in to change notification settings - Fork 3
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
watch
mode does not recover after error
#82
Labels
bug
Something isn't working
Comments
dgrammlich
changed the title
Watch mode does not recover after error
Feb 14, 2022
watch
mode does not recover after error
Bitte einmal vollstaendigen stacktrace via:
|
NoMethodError: undefined method `valid_activity?' for nil:NilClass
/.../.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/buchungsstreber-2.8.1/lib/buchungsstreber/validator.rb:28:in `validate'
/.../.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/buchungsstreber-2.8.1/lib/buchungsstreber.rb:68:in `block (2 levels) in entries'
/.../.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/buchungsstreber-2.8.1/lib/buchungsstreber.rb:119:in `fake_stderr'
/.../.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/buchungsstreber-2.8.1/lib/buchungsstreber.rb:67:in `block in entries'
/.../.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/buchungsstreber-2.8.1/lib/buchungsstreber.rb:64:in `each'
/.../.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/buchungsstreber-2.8.1/lib/buchungsstreber.rb:64:in `entries'
/.../.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/buchungsstreber-2.8.1/lib/buchungsstreber/cli/tui.rb:106:in `redraw'
/.../.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/buchungsstreber-2.8.1/lib/buchungsstreber/cli/tui.rb:301:in `on_input'
/.../.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/buchungsstreber-2.8.1/lib/buchungsstreber/cli/tui.rb:73:in `start'
/.../.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/buchungsstreber-2.8.1/lib/buchungsstreber/cli/app.rb:202:in `watch'
/.../.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/buchungsstreber-2.8.1/lib/buchungsstreber/cli/runner.rb:20:in `execute!'
/.../.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/buchungsstreber-2.8.1/bin/buchungsstreber:19:in `<top (required)>'
/.../.rbenv/versions/2.5.8/bin/buchungsstreber:23:in `load'
/.../.rbenv/versions/2.5.8/bin/buchungsstreber:23:in `<main>'
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I use Buchungsstreber 2.8.0 with YAML format.
I started Buchungsstreber in watch mode. After that I started it in a second terminal in edit mode. It is configured to use
ncalcli
and resolve the incoming dates via regex to template identifiers. If one of the dates has no resolver or identifier, this error occurs:NoMethodError: undefined method 'valid_activity?' for nil:NilClass
It seems that the lines with error messages move the other content up and out of the window.
In edit mode I remove the conflicting date and save the file. The watch mode still shows the error, even after I press ENTER to reload it manually.
Starting the watch mode with a valid file seems fine.
The text was updated successfully, but these errors were encountered: