Skip to content
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

IRuby NoMethodError instead of error message #9

Open
dhnam opened this issue Jun 5, 2019 · 1 comment
Open

IRuby NoMethodError instead of error message #9

dhnam opened this issue Jun 5, 2019 · 1 comment

Comments

@dhnam
Copy link

dhnam commented Jun 5, 2019

I'm using this in IRuby running on google colaboratory.

When I interrupt running program, it gave me

NoMethodError: undefined method `error_message' for #<IRuby::Kernel:0x00005590dda4c1a8>

instead of KeyboardInturrupted.

Here is detailed error message:

/var/lib/gems/2.5.0/gems/matplotlib-1.0.0/lib/matplotlib/iruby.rb:64:in `rescue in execute_request'
/var/lib/gems/2.5.0/gems/matplotlib-1.0.0/lib/matplotlib/iruby.rb:59:in `execute_request'
/var/lib/gems/2.5.0/gems/iruby-0.3/lib/iruby/kernel.rb:50:in `dispatch'
/var/lib/gems/2.5.0/gems/iruby-0.3/lib/iruby/kernel.rb:39:in `run'
/var/lib/gems/2.5.0/gems/iruby-0.3/lib/iruby/command.rb:110:in `run_kernel'
/var/lib/gems/2.5.0/gems/iruby-0.3/lib/iruby/command.rb:40:in `run'
/var/lib/gems/2.5.0/gems/iruby-0.3/bin/iruby:5:in `<top (required)>'
/usr/local/bin/iruby:23:in `load'
/usr/local/bin/iruby:23:in `<main>'
@dhnam
Copy link
Author

dhnam commented Jun 5, 2019

...And it does not halts, so every time I want to interrupt running program, I have to restart runtime.

zheng-yongping added a commit to zheng-yongping/matplotlib.rb that referenced this issue Sep 16, 2019
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