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

rqt_plot on indigo under Ubuntu 14.04 missing files?

asked 2014-07-14 20:58:41 -0500

wrbishop gravatar image

$ rosrun rqt_plot rqt_plot

Traceback (most recent call last):

File "/opt/ros/indigo/lib/rqt_plot/rqt_plot", line 6, in <module>

from rqt_plot.plot import Plot

File "/opt/ros/indigo/lib/python2.7/dist-packages/rqt_plot/plot.py", line 43, in <module>

from .data_plot import DataPlot

ImportError: No module named data_plot

Directory /opt/ros/indigo/lib/python2.7/dist-packages/rqt_plot has only these files:

__init__.py, plot.py, plot_widget.py, rosplot.py (not including .pyc files)

The data_plot directory/files appear to be missing following install using:

sudo apt-get-update

sudo apt-get install ros-indigo-desktop-full

sudo rosdep init

rosdep update

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
0

answered 2014-07-15 03:44:16 -0500

Same here. Missing data_plot on Ubuntu 14.

edit flag offensive delete link more
1

answered 2014-07-18 13:22:38 -0500

acenicks gravatar image

updated 2014-07-18 15:16:09 -0500

I had the same error:

> Traceback (most recent call last):  
> File
> "/opt/ros/indigo/lib/rqt_plot/rqt_plot",
> line 6, in <module>
>     from rqt_plot.plot import Plot   File
> "/opt/ros/indigo/lib/python2.7/dist-packages/rqt_plot/plot.py",
> line 43, in <module>
>     from .data_plot import DataPlot ImportError: No module named data_plot

I solved it with a very 'hacky' solution. I downloaded the github repository rqt_common_plugins which contains the source for rqt_plot. The link for this can be found on the rqt_plot roswiki page. From here I located the data_plot directory in that repository in:

rqt_common_plugins/rqt_plot/src/rqt_plot/

and copied it in the following directory on my system:

/opt/ros/indigo/lib/python2.7/dist-packages/rqt_plot/

The module seems to be working right now with this fix.

edit flag offensive delete link more
0

answered 2014-07-19 19:18:19 -0500

ahendrix gravatar image

This was fixed in https://github.com/ros-visualization/... and should be resolved in the latest version of rqt_plot.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2014-07-14 20:58:41 -0500

Seen: 238 times

Last updated: Jul 19 '14