setup-ros icon indicating copy to clipboard operation
setup-ros copied to clipboard

Error on attempt to rerun rosdep init in osrf containers

Open Arnatious opened this issue 4 years ago • 1 comments

Description

When using osrf:ros2/devel , rosdep init returns an error as it is already initialized, crashing the whole action

Expected Behavior

Error handling is needed on the rosdep init command to attempt to continue if it already has run

To Reproduce

  • Use container: image: osrf:ros2/devel
  • Include setup-ros@master

System (please complete the following information)

  • OS: Ubuntu Focal
  • ROS 2 Distro: devel/Foxy

Additional context

Using commit 2c05014: https://github.com/Arnatious/nodl/runs/675769690?check_suite_focus=true#step:3:661

Arnatious avatar May 14 '20 19:05 Arnatious

Noting that this also affects ros-tooling/setup-ros-docker outputs. I was trying to run setup-ros inside one of the containers (to save time making a ros1 overlay) and ran into this issue https://github.com/ros2/rosbag2_bag_v2/pull/34/checks?check_run_id=1070291116

emersonknapp avatar Sep 04 '20 17:09 emersonknapp