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

Renaming rqt package [Kinetic]

asked 2018-04-03 03:04:30 -0500

Taylor Cooper gravatar image

updated 2018-04-05 10:16:57 -0500

I'm attempting to renamed my package from rqt_truckee_gui to rqt_truckee but it causes the following error:

admin@pc1:~/git/x-ros/catkin_ws$ rqt -s rqt_truckee
[ERROR] [1522742453.102027186]: Skipped loading plugin with error: XML Document '/home/hpcadmin/git/x-ros/catkin_ws/src/truckee/rqt_truckee_gui/plugin.xml' has no Root Element. This likely means the XML is malformed or missing..
RosPluginProvider._parse_plugin_xml() plugin file "/home/hpcadmin/git/x-ros/catkin_ws/src/truckee/rqt_truckee_gui/plugin.xml" in package "rqt_truckee_gui" not found
RosPluginProvider._parse_plugin_xml() plugin file "/home/hpcadmin/git/x-ros/catkin_ws/src/truckee/rqt_truckee_gui/plugin.xml" in package "rqt_truckee_gui" not found
qt_gui_main() found no plugin matching "rqt_truckee"

I have removed all build folders and files, run rosclean purge, run catkin_make clean, run rospack profile (after catkin_make) and tried a full power cycle between all these things just for good measure. It seems like rqt is holding on to the memory of the last package name somewhere outside the catkin workspace.

When I change the package name back everything launches normally:

admin@pc1:~/git/x-ros/catkin_ws$ rqt -s rqt_truckee_gui
arguments:  Namespace(quiet=False)
unknowns:  []
appmenu-qt: handleReparent 143 The given QMenuBar is already registered by appmenu-qt5, skipping
appmenu-qt: handleReparent 143 The given QMenuBar is already registered by appmenu-qt5, skipping

For now, I can live with the original package name but I was surprised by this functionality.

Edit: @gvdhoom's second answer was correct. If you are having this problem delete ~/.config/ros.org/rqt_gui.ini and you should be able to rename your package.

edit retag flag offensive close merge delete

Comments

I have removed all build folders and files

unless rebuilding your workspace is really costly, I would just rm -rf $CATKIN_WS/devel $CATKIN_WS/build. Renaming build artefacts is rather error prone.

gvdhoorn gravatar image gvdhoorn  ( 2018-04-03 04:41:34 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
3

answered 2018-04-03 04:42:35 -0500

gvdhoorn gravatar image

There could be an entry in ~/.config/ros.org/rqt_gui.ini, but from the error messages I doubt that is the issue here.

edit flag offensive delete link more

Comments

@gvdhoom's second answer was correct. If you are having this problem delete ~/.config/ros.org/rqt_gui.ini and you should be able to rename your package.

Taylor Cooper gravatar image Taylor Cooper  ( 2018-04-05 10:17:29 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2018-04-03 03:04:30 -0500

Seen: 596 times

Last updated: Apr 05 '18