{"action":"opened","issue":{"url":"https://api.github.com/repos/kaitai-io/kaitai_struct_visualizer/issues/20","repository_url":"https://api.github.com/repos/kaitai-io/kaitai_struct_visualizer","labels_url":"https://api.github.com/repos/kaitai-io/kaitai_struct_visualizer/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/kaitai-io/kaitai_struct_visualizer/issues/20/comments","events_url":"https://api.github.com/repos/kaitai-io/kaitai_struct_visualizer/issues/20/events","html_url":"https://github.com/kaitai-io/kaitai_struct_visualizer/issues/20","id":312252656,"number":20,"title":"Crashes upon user input","user":{"login":"amckinlay","id":1351003,"avatar_url":"https://avatars1.githubusercontent.com/u/1351003?v=4","gravatar_id":"","url":"https://api.github.com/users/amckinlay","html_url":"https://github.com/amckinlay","followers_url":"https://api.github.com/users/amckinlay/followers","following_url":"https://api.github.com/users/amckinlay/following{/other_user}","gists_url":"https://api.github.com/users/amckinlay/gists{/gist_id}","starred_url":"https://api.github.com/users/amckinlay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amckinlay/subscriptions","organizations_url":"https://api.github.com/users/amckinlay/orgs","repos_url":"https://api.github.com/users/amckinlay/repos","events_url":"https://api.github.com/users/amckinlay/events{/privacy}","received_events_url":"https://api.github.com/users/amckinlay/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-07T23:26:55Z","updated_at":"2018-04-07T23:26:55Z","closed_at":null,"author_association":"NONE","body":"https://asciinema.org/a/MF2m6DMT5UoLNdSxo7QVnKYxp (crash occurs after pressing `<enter>`)\r\n\r\n```\r\n  [.] magic = Traceback (most recent call last):\r\n\t16: from /usr/local/bin/ksv:23:in `<main>'\r\n\t15: from /usr/local/bin/ksv:23:in `load'\r\n\t14: from /usr/local/lib/ruby/gems/2.5.0/gems/kaitai-struct-visualizer-0.7/bin/ksv:53:in `<top (required)>'\r\n\t13: from /usr/local/lib/ruby/gems/2.5.0/gems/kaitai-struct-visualizer-0.7/lib/kaitai/struct/visualizer/visualizer.rb:21:in `run'\r\n\t12: from /usr/local/lib/ruby/gems/2.5.0/gems/kaitai-struct-visualizer-0.7/lib/kaitai/struct/visualizer/tree.rb:39:in `run'\r\n\t11: from /usr/local/lib/ruby/gems/2.5.0/gems/kaitai-struct-visualizer-0.7/lib/kaitai/struct/visualizer/tree.rb:39:in `loop'\r\n\t10: from /usr/local/lib/ruby/gems/2.5.0/gems/kaitai-struct-visualizer-0.7/lib/kaitai/struct/visualizer/tree.rb:40:in `block in run'\r\n\t 9: from /usr/local/lib/ruby/gems/2.5.0/gems/kaitai-struct-visualizer-0.7/lib/kaitai/struct/visualizer/tree.rb:165:in `redraw'\r\n\t 8: from /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/benchmark.rb:308:in `realtime'\r\n\t 7: from /usr/local/lib/ruby/gems/2.5.0/gems/kaitai-struct-visualizer-0.7/lib/kaitai/struct/visualizer/tree.rb:168:in `block in redraw'\r\n\t 6: from /usr/local/lib/ruby/gems/2.5.0/gems/kaitai-struct-visualizer-0.7/lib/kaitai/struct/visualizer/tree.rb:196:in `draw_rec'\r\n\t 5: from /usr/local/lib/ruby/gems/2.5.0/gems/kaitai-struct-visualizer-0.7/lib/kaitai/struct/visualizer/tree.rb:196:in `each'\r\n\t 4: from /usr/local/lib/ruby/gems/2.5.0/gems/kaitai-struct-visualizer-0.7/lib/kaitai/struct/visualizer/tree.rb:197:in `block in draw_rec'\r\n\t 3: from /usr/local/lib/ruby/gems/2.5.0/gems/kaitai-struct-visualizer-0.7/lib/kaitai/struct/visualizer/tree.rb:188:in `draw_rec'\r\n\t 2: from /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/benchmark.rb:308:in `realtime'\r\n\t 1: from /usr/local/lib/ruby/gems/2.5.0/gems/kaitai-struct-visualizer-0.7/lib/kaitai/struct/visualizer/tree.rb:190:in `block in draw_rec'\r\n/usr/local/lib/ruby/gems/2.5.0/gems/kaitai-struct-visualizer-0.7/lib/kaitai/struct/visualizer/node.rb:114:in `draw': undefined method `+' for nil:NilClass (NoMethodError)\r\n```\r\n\r\n```\r\n▶ ruby --version\r\nruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-darwin17]\r\n\r\n~\r\n▶ ksv --version\r\nkaitai-struct-visualizer 0.7\r\n\r\n~\r\n▶ kaitai-struct-compiler --version\r\nkaitai-struct-compiler 0.8\r\n```"}}
{"actor":{"display_login":"amckinlay"}}