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

roswtf error

asked 2012-08-19 07:51:02 -0600

ama gravatar image

updated 2018-09-16 12:31:43 -0600

130s gravatar image

hello!

when i run roswtf based on the tutorial , i am getting following error, How to fix it? I am using rosws ( http://www.ros.org/wiki/fuerte/Instal... ) for managing workspace.

Thanks

Loaded plugin tf.tfwtf
No package or stack in context
================================================================================
Static checks summary:

Found 2 error(s).

ERROR Not all paths in ROS_PACKAGE_PATH [/home/ahmad/ROSworksapce/sandbox:/opt/ros/fuerte/stacks:/opt/ros/fuerte/share:/opt/ros/fuerte/share/ros] point to an existing directory: 
 * /home/ahmad/ROSworksapce/sandbox

ERROR Not all paths in PYTHONPATH [/opt/ros/fuerte/share/ros/core/roslib/src:/opt/ros/fuerte/lib/python2.6/dist-packages:] point to a directory: 
 * /opt/ros/fuerte/share/ros/core/roslib/src

================================================================================

ROS Master does not appear to be running.
Online graph checks will not be run.
ROS_MASTER_URI is [http://localhost:11311]
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
10

answered 2012-08-19 09:59:41 -0600

jbohren gravatar image

updated 2012-08-19 10:00:25 -0600

All in all, there isn't anything here to be concerned about. You can probably ignore these errors.

No package or stack in context

This is just telling you that the current working directory from which you're calling roswtf is neither a ros stack or a ros package.

ERROR Not all paths in ROS_PACKAGE_PATH [/home/ahmad/ROSworksapce/sandbox:/opt/ros/fuerte/stacks:/opt/ros/fuerte/share:/opt/ros/fuerte/share/ros] point to an existing directory: * /home/ahmad/ROSworksapce/sandbox

This is telling you that some directories in your ROS_PACKAGE_PATH don't exist. Specifically, "/home/ahmad/ROSworksapce/sandbox" doesn't exist. Check the .rosinstall file in your ros workspace and remove it if you don't want to see this message.

ERROR Not all paths in PYTHONPATH [/opt/ros/fuerte/share/ros/core/roslib/src:/opt/ros/fuerte/lib/python2.6/dist-packages:] point to a directory: * /opt/ros/fuerte/share/ros/core/roslib/src

This is telling you that some directories in your PYTHONPATH don't exist. Specifically, "/opt/ros/fuerte/share/ros/core/roslib/src" doesn't exist. This looks like it's a (benign) bug in the PYTHONPATH exported by setup.sh. It used to be that that was where roslib lived, but not anymore. This might warrant a ticket if one doesn't already exist.

edit flag offensive delete link more

Comments

1

No package or stack in context

I found this msg is unclear as well, so opened ros/ros_comm#1505.

130s gravatar image 130s  ( 2018-09-16 12:46:07 -0600 )edit

@jbohren seems that nobody open a ticket for the issue with the PYTHONPATH. I get this message too, if I run roswtf

Petros ADLATUS gravatar image Petros ADLATUS  ( 2022-04-27 08:18:59 -0600 )edit

Question Tools

3 followers

Stats

Asked: 2012-08-19 07:51:02 -0600

Seen: 2,899 times

Last updated: Sep 16 '18