Robotics StackExchange | Archived questions

ros2-eloquent cannot run rqt_graph for the error "RosPluginProvider._parse_plugin_xml() plugin file "E:\dev\ros2-eloquent\ros2-windows\share\qt_gui_cpp/plugin.xml" in package?

Hi guys,
I am using ros2-eloquent on Windows 10. When I try running rqt_graph, an error appeared like:

C:\Windows\System32>rqtgraph
RosPluginProvider.
parsepluginxml() plugin file "E:\dev\ros2-eloquent\ros2-windows\share\qtguicpp/plugin.xml" in package "qtguicpp" not found
RosPluginProvider.parsepluginxml() plugin file "E:\dev\ros2-eloquent\ros2-windows\share\rqtguicpp/plugin.xml" in package "rqtguicpp" not found
RosPluginProvider.
parsepluginxml() plugin file "E:\dev\ros2-eloquent\ros2-windows\share\qtguicpp/plugin.xml" in package "qtguicpp" not found
RosPluginProvider.parsepluginxml() plugin file "E:\dev\ros2-eloquent\ros2-windows\share\rqtguicpp/plugin.xml" in package "rqtguicpp" not found
Traceback (most recent call last):
File "c:\python37\lib\site-packages\pydot.py", line 1915, in create working
dir=tmpdir,
File "c:\python37\lib\site-packages\pydot.py", line 136, in call
graphviz **kwargs
File "c:\python37\lib\subprocess.py", line 800, in init restoresignals, startnewsession)
File "c:\python37\lib\subprocess.py", line 1207, in _execute
child startupinfo)
FileNotFoundError: [WinError 2] 系统找不到指定的文件。

And I don't know how to solve this problem. Any idea or answer will be appreciated!

Asked by songyuc on 2020-04-24 04:10:46 UTC

Comments

Same problem...

Asked by late_ee on 2020-05-22 07:53:23 UTC

Answers

I am using ROS2 Foxy. I also see these two lines

RosPluginProvider._parse_plugin_xml() plugin file "C:\dev\ros2-windows\share\rqt_gui_cpp/plugin.xml" in package "rqt_gui_cpp" not found RosPluginProvider._parse_plugin_xml() plugin file "C:\dev\ros2-windows\share\rqt_gui_cpp/plugin.xml" in package "rqt_gui_cpp" not found

But my rqt_graph opens and runs properly. So I just ignored the message. Make sure you run dot -c from the admin cmd prompt before running rqt_graph for the first time. ROS2 is in heavy development so if the problem persists you can switch to Foxy and check out the new version. Maybe the problem that you mentioned has been solved in the latest ros2 distro.

Asked by prabin_rath on 2021-01-04 01:10:49 UTC

Comments