Closed olafz closed 6 years ago
14:48:08 web.1 | #<TypeError: nil can't be coerced into Integer>
14:48:08 web.1 | /Users/dblock/source/slack/slack-sup/slack-sup/models/stats.rb:22:in `-'
14:48:08 web.1 | /Users/dblock/source/slack/slack-sup/slack-sup/models/stats.rb:22:in `reported_outcomes_count'
14:48:08 web.1 | /Users/dblock/source/slack/slack-sup/slack-sup/commands/stats.rb:26:in `block in <class:Stats>'
14:48:08 web.1 | /Users/dblock/source/slack/slack-sup/slack-sup/commands/mixins/subscribe.rb:14:in `block in subscribe_command'
14:48:08 web.1 | /Users/dblock/.rvm/gems/ruby-2.4.1/gems/slack-ruby-bot-0.10.4/lib/slack-ruby-bot/commands/base.rb:71:in `block in invoke'
14:48:08 web.1 | /Users/dblock/.rvm/gems/ruby-2.4.1/gems/slack-ruby-bot-0.10.4/lib/slack-ruby-bot/commands/base.rb:56:in `each_pair'
14:48:08 web.1 | /Users/dblock/.rvm/gems/ruby-2.4.1/gems/slack-ruby-bot-0.10.4/lib/slack-ruby-bot/commands/base.rb:56:in `invoke'
14:48:08 web.1 | /Users/dblock/.rvm/gems/ruby-2.4.1/gems/slack-ruby-bot-server-0.6.1/lib/slack-ruby-bot-server/ext/mongoid/slack-ruby-bot/commands/base.rb:8:in `invoke'
14:48:08 web.1 | /Users/dblock/.rvm/gems/ruby-2.4.1/gems/slack-ruby-bot-0.10.4/lib/slack-ruby-bot/hooks/message.rb:7:in `block in call'
14:48:08 web.1 | /Users/dblock/.rvm/gems/ruby-2.4.1/gems/slack-ruby-bot-0.10.4/lib/slack-ruby-bot/hooks/message.rb:7:in `each'
14:48:08 web.1 | /Users/dblock/.rvm/gems/ruby-2.4.1/gems/slack-ruby-bot-0.10.4/lib/slack-ruby-bot/hooks/message.rb:7:in `detect'
14:48:08 web.1 | /Users/dblock/.rvm/gems/ruby-2.4.1/gems/slack-ruby-bot-0.10.4/lib/slack-ruby-bot/hooks/message.rb:7:in `call'
14:48:08 web.1 | /Users/dblock/.rvm/gems/ruby-2.4.1/gems/slack-ruby-bot-0.10.4/lib/slack-ruby-bot/hooks/set.rb:33:in `block (2 levels) in register_callback'
14:48:08 web.1 | /Users/dblock/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/set.rb:324:in `each_key'
14:48:08 web.1 | /Users/dblock/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/set.rb:324:in `each'
14:48:08 web.1 | /Users/dblock/.rvm/gems/ruby-2.4.1/gems/slack-ruby-bot-0.10.4/lib/slack-ruby-bot/hooks/set.rb:32:in `block in register_callback'
14:48:08 web.1 | /Users/dblock/.rvm/gems/ruby-2.4.1/gems/slack-ruby-client-0.9.0/lib/slack/real_time/client.rb:198:in `block in run_callbacks'
14:48:08 web.1 | /Users/dblock/.rvm/gems/ruby-2.4.1/gems/slack-ruby-client-0.9.0/lib/slack/real_time/client.rb:197:in `each'
14:48:08 web.1 | /Users/dblock/.rvm/gems/ruby-2.4.1/gems/slack-ruby-client-0.9.0/lib/slack/real_time/client.rb:197:in `run_callbacks'
14:48:08 web.1 | /Users/dblock/.rvm/gems/ruby-2.4.1/gems/slack-ruby-client-0.9.0/lib/slack/real_time/client.rb:178:in `dispatch'
14:48:08 web.1 | /Users/dblock/.rvm/gems/ruby-2.4.1/gems/slack-ruby-client-0.9.0/lib/slack/real_time/client.rb:93:in `block (2 levels) in run_loop'
14:48:08 web.1 | /Users/dblock/.rvm/gems/ruby-2.4.1/gems/websocket-driver-0.6.5/lib/websocket/driver/event_emitter.rb:39:in `block in emit'
14:48:08 web.1 | /Users/dblock/.rvm/gems/ruby-2.4.1/gems/websocket-driver-0.6.5/lib/websocket/driver/event_emitter.rb:38:in `each'
14:48:08 web.1 | /Users/dblock/.rvm/gems/ruby-2.4.1/gems/websocket-driver-0.6.5/lib/websocket/driver/event_emitter.rb:38:in `emit'
14:48:08 web.1 | /Users/dblock/.rvm/gems/ruby-2.4.1/gems/websocket-driver-0.6.5/lib/websocket/driver/hybi.rb:396:in `emit_message'
14:48:08 web.1 | /Users/dblock/.rvm/gems/ruby-2.4.1/gems/websocket-driver-0.6.5/lib/websocket/driver/hybi.rb:379:in `emit_frame'
14:48:08 web.1 | /Users/dblock/.rvm/gems/ruby-2.4.1/gems/websocket-driver-0.6.5/lib/websocket/driver/hybi.rb:123:in `parse'
14:48:08 web.1 | /Users/dblock/.rvm/gems/ruby-2.4.1/gems/websocket-driver-0.6.5/lib/websocket/driver/client.rb:63:in `parse'
14:48:08 web.1 | /Users/dblock/.rvm/gems/ruby-2.4.1/gems/slack-ruby-client-0.9.0/lib/slack/real_time/concurrency/celluloid.rb:57:in `handle_read'
14:48:08 web.1 | /Users/dblock/.rvm/gems/ruby-2.4.1/gems/celluloid-0.17.3/lib/celluloid/calls.rb:28:in `public_send'
14:48:08 web.1 | /Users/dblock/.rvm/gems/ruby-2.4.1/gems/celluloid-0.17.3/lib/celluloid/calls.rb:28:in `dispatch'
14:48:08 web.1 | /Users/dblock/.rvm/gems/ruby-2.4.1/gems/celluloid-0.17.3/lib/celluloid/call/async.rb:7:in `dispatch'
14:48:08 web.1 | /Users/dblock/.rvm/gems/ruby-2.4.1/gems/celluloid-0.17.3/lib/celluloid/cell.rb:50:in `block in dispatch'
14:48:08 web.1 | /Users/dblock/.rvm/gems/ruby-2.4.1/gems/celluloid-0.17.3/lib/celluloid/cell.rb:76:in `block in task'
14:48:08 web.1 | /Users/dblock/.rvm/gems/ruby-2.4.1/gems/celluloid-0.17.3/lib/celluloid/actor.rb:339:in `block in task'
14:48:08 web.1 | /Users/dblock/.rvm/gems/ruby-2.4.1/gems/celluloid-0.17.3/lib/celluloid/task.rb:44:in `block in initialize'
14:48:08 web.1 | /Users/dblock/.rvm/gems/ruby-2.4.1/gems/celluloid-0.17.3/lib/celluloid/task/fibered.rb:14:in `block in create'
Sorry about that @olafz. This was a bug.
stats
now reports results and that the error is gone?Let me know how it goes? Feel free to reach out to dblock[at]dblock[dot]org.
Hi @dblock,
It works again! Thanks for extending the trial; we'll go agin this week ;)
We set out to try S'Up before we would consider a subscription. Unfortunately, after the first week, S'Up only responded with "nil can't be coerced into Integer" to known commands:
For unknown commands, it's still friendly enough to say "I don't understand that command!":
Needless to say, but just to be sure: it also doesn't schedule triads anymore.