Ask Your Question
0

RoS and OSX issues: No handlers could be found for logger "roslaunch"

asked 2015-05-31 04:03:23 -0500

Cesare gravatar image

updated 2015-06-01 04:27:51 -0500

Hello,
I'm new to RoS, I'm installing it on my OSX machine (following http://wiki.ros.org/indigo/Installati... ) and I have been having various issues during the setup, however I managed to make it compile successfully. However, now when I try to run the core it's giving me the following error:

Cesare:~ cesare$ roscore 
WARNING: unable to configure logging. No log files will be generated
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt

Invalid <param> tag: Cannot load command parameter [rosversion]: command [rosversion roslaunch] returned with code [1]. 

Param xml is <param command="rosversion roslaunch" name="rosversion"/>
The traceback for the exception was written to the log file
No handlers could be found for logger "roslaunch"

Here is my Env

Cesare:~ cesare$ env | grep ROS
ROS_ROOT=/opt/ros/indigo/share/ros
ROS_PACKAGE_PATH=/opt/ros/indigo/share:/opt/ros/indigo/stacks
ROS_MASTER_URI=http://localhost:11311
ROSLISP_PACKAGE_DIRECTORIES=
ROS_DISTRO=indigo
ROS_ETC_DIR=/opt/ros/indigo/etc/ros

Do you have any clue about what have I done wrong ?

Thank you

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2015-05-31 16:17:33 -0500

ahendrix gravatar image

The key error here is command [rosversion roslaunch] returned with code [1]

What are the results if you run rosversion roslaunch ?

I most commonly see this error when users haven't sourced the setup.bash for their ROS installation.

edit flag offensive delete link more

Comments

I've added source /opt/ros/indigo/setup.bash into my .bashrc, any other check I can run ? I added my env to the answer

Cesare gravatar image Cesare  ( 2015-06-01 04:27:06 -0500 )edit

What are the results if you run rosversion roslaunch ?

ahendrix gravatar image ahendrix  ( 2015-06-01 05:06:44 -0500 )edit

Something is wrongs, where is supposed to be located ?

rosversion roslaunch Cannot locate [roslaunch]
Cesare gravatar image Cesare  ( 2015-06-01 09:08:33 -0500 )edit

Found it! I was missing to source the the catkin WS in my home source ~/ros_catkin_ws/install_isolated/setup.bash thank you very much for guiding me :)

Cesare gravatar image Cesare  ( 2015-06-01 09:53:16 -0500 )edit
0

answered 2017-05-26 13:57:41 -0500

sraina gravatar image

Make Sure you haven't added any new files to your share folder: /opt/ros/kinetic/share

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-05-31 04:03:23 -0500

Seen: 3,604 times

Last updated: Jun 01 '15