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

Ide crashes when one selects Show all ports for a latter added composition #314

Open
caioaamaral opened this issue Mar 16, 2022 · 0 comments

Comments

@caioaamaral
Copy link
Contributor

caioaamaral commented Mar 16, 2022

I was just following syskit tutorial when I got on this error.

How to reproduce:

  • First, I've opened ide with:
    syskit ide -r gazebo models/compositions/arm_cartesian_control_wdls.rb

  • Then, I've added the Model File: arm_cartesian_constant_control_wdls.rb and finally clicked on Show all ports.

  • After that, Ide GUI immediately crashes with the following trace:

= undefined method `dataflow_options' for #<Syskit::GUI::ModelViews::RubyTaskContext:0x00005566288b8830> (NoMethodError)
= Backtrace
| 
|   ~/workspaces/tutorial/tools/syskit/lib/syskit/gui/component_network_base_view.rb:340:in `method_missing'
|   ~/workspaces/tutorial/tools/syskit/lib/syskit/gui/component_network_base_view.rb:340:in `buttonClicked'
|   ~/workspaces/tutorial/tools/metaruby/lib/metaruby/gui/html/page.rb:318:in `qt_metacall'
|   ~/workspaces/tutorial/tools/metaruby/lib/metaruby/gui/html/page.rb:318:in `buttonClicked'
|   ~/workspaces/tutorial/tools/metaruby/lib/metaruby/gui/html/page.rb:318:in `pageLinkClicked'
|   ~/.local/share/autoproj/gems/ruby/2.7.0/bundler/gems/qtbindings-bfe173dd488d/lib/Qt/qtruby4.rb:479:in `qt_metacall'
|   ~/.local/share/autoproj/gems/ruby/2.7.0/bundler/gems/qtbindings-bfe173dd488d/lib/Qt/qtruby4.rb:479:in `method_missing'
|   ~/.local/share/autoproj/gems/ruby/2.7.0/bundler/gems/qtbindings-bfe173dd488d/lib/Qt/qtruby4.rb:479:in `exec'
|   ~/workspaces/tutorial/gui/vizkit/lib/vizkit/vizkit.rb:146:in `exec'
|   ~/workspaces/tutorial/tools/syskit/bin/syskit:67:in `<main>'
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