I get endless warning outputs when I source setup.bash

asked 2021-03-30 08:13:24 -0500

zell gravatar image

When I try to run the command source /opt/ros/noetic/setup.bash, the terminal prints warning outputs in an endless loop.

Warning message: <stdin>:21: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.

It goes with the message above until before I send an interrupt to terminal and It never ends.

I am a beginner to ROS and I have recently started to the tutorials. How do I solve this?

I'm running Ubuntu 20.04, with kernel 5.8.0.

ROS env variables:

ROS_VERSION=1
ROS_PYTHON_VERSION=3
ROS_PACKAGE_PATH=
ROSLISP_PACKAGE_DIRECTORIES=/home/akime/catkin_ws/devel/share/common-lisp
ROS_ETC_DIR=/opt/ros/noetic/etc/ros
ROS_WORKSPACE=/opt/ros/noetic
ROS_MASTER_URI=http://localhost:11311
ROS_DISTRO=noetic
edit retag flag offensive close merge delete

Comments

I'm getting the same issue here running Noetic on Ubuntu 20.04, Kernel 5.11.0-25-generic.

This worked after setup but after a restart I started getting this behavior.

Any help? Thank you!!

TiagoDias gravatar image TiagoDias  ( 2021-08-12 12:16:46 -0500 )edit

I've reinstalled my Ubuntu and it is solved. I was running ubuntu on a virtual machine so It was not a problem for me.

zell gravatar image zell  ( 2021-08-12 14:23:08 -0500 )edit

I think it was a side effect of some fiddling with rosinstall or rosdep. Anyway I did just that and respawned a new VM, it's working fine now.

Thank you!

TiagoDias gravatar image TiagoDias  ( 2021-08-12 16:57:49 -0500 )edit