Ask Your Question
0

An error of "ERROR PYTHONPATH"

asked Feb 21 '11

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

updated Feb 21 '11

mwise_wg gravatar image mwise_wg flag of United States
3299 8 39 75
http://www.meloneewise.co...

Hi,

I want to make my ROS system clean by not having this one error. The error as I pasted below after invoking the command "roswtf". How should I go about this?

Output:

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

Found 1 error(s).

ERROR PYTHONPATH [/opt/ros/diamondback/ros/core/roslib/src:/opt/ros/unstable/ros/core/roslib/src:/opt/ros/diamondback/ros/core/roslib/src:] 
is invalid: Multiple roslib directories in PYTHONPATH (there should only be one)
================================================================================

ROS Master does not appear to be running.
Online graph checks will not be run.
ROS_MASTER_URI is [http://localhost:11311]

Thanks in advance..

delete close flag offensive retag edit

Comments

Please don't put [SOLVED] in the title. Also, don't mark every question as a community wiki, there is no reason for that. mjcarroll (Feb 21 '11)edit

2 Answers

Sort by ยป oldest newest most voted
1

answered Feb 21 '11

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

updated Feb 21 '11

joq gravatar image joq
7304 29 68 133
http://www.austinrobot.co...

Your ROS_PACKAGE_PATH is not set correctly. It should never mix multiple distributions.

When you follow the environment setup instructions, make sure you only source one version of setup.bash in your ~/.bashrc.

link delete flag offensive edit

Comments

In my ~/.bashrc file, they are correct I think as the related lines are like this: #source /opt/ros/cturtle/setup.sh #source /opt/ros/diamondback/setup.bash source /home/shah/ni/setup.bash source /opt/ros/diamondback/setup.bash alfa_80 (Feb 21 '11)edit
The first 2 lines are commented, no effect at all. alfa_80 (Feb 21 '11)edit
0

answered Feb 21 '11

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

updated Feb 21 '11

alfa_80 gravatar image alfa_80
609 1 14 37

I resolved it by reinstalling the diamondback following the instructions in the ROS wiki..

link delete flag offensive edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
[hide preview]

Question tools

Follow

subscribe to rss feed

Stats

Asked: Feb 21 '11

Seen: 126 times

Last updated: Feb 21 '11