ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

qt_gui_main() found multiple plugins matching

asked 2017-01-30 15:17:11 -0600

130s gravatar image

The error in the subject prevents the rqt plugin from running.

$ pwd
$ rospack find rqt_launch                                                                                                                                  
$ rospack find rqt_launchtree                                                                                                                               
$ rqt --standalone rqt_launch
qt_gui_main() found multiple plugins matching "rqt_launch"
$ rosversion qt_gui
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.5 LTS
Release:        14.04
Codename:       trusty

The above example is using source but this happens also with installed binaries.

Since rqt_launchtree is introduced later than rqt_launch, I looked into rqt_launchtree to see if anything that qt_gui might reference to to lead into the raised error (e.g. exact string rqt_launch) but failed to find anything suspicious. Therefore I assume this error occurs because of the current spec of qt_gui.

Is there anyway to avoid this error without changing package name and anything that affects api and/or existing applications?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-01-30 16:45:24 -0600

Dirk Thomas gravatar image

The string you pass to --standalone needs to uniquely identify one plugin. In this case you could achieve that by passing rqt --standalone rqt_launch. (note the trailing dot to make it unique). Obviously rqt --standalone rqt_launchtree.launchtree_plugin.LaunchtreePlugin would work too.

edit flag offensive delete link more

Question Tools



Asked: 2017-01-30 15:17:11 -0600

Seen: 388 times

Last updated: Jan 30 '17