Unity-Technologies/Robotics-Nav2-SLAM-Example

"git submodule update --init --recursive" error

Baldins opened this issue · 4 comments

Hello! I am running into the following error when I do "git submodule update --init --recursive"

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:Unity-Technologies/ROS-TCP-Endpoint.git' into submodule path '/home/fbaldini/Robotics-Nav2-SLAM-Example/ros2_docker/colcon_ws/src/ROS-TCP-Endpoint' failed
Failed to clone 'ros2_docker/colcon_ws/src/ROS-TCP-Endpoint'. Retry scheduled
Cloning into '/home/fbaldini/Robotics-Nav2-SLAM-Example/ros2_docker/colcon_ws/src/ROS-TCP-Endpoint'...

Is there anyone that can help?

Thank you!

This issue is blocking me from getting past the first step a well.

Hi @Baldins, can I assume this means that issue #41 can be closed? Can you elaborate on what troubleshooting steps you've taken so far and what failures you've seen? The first stackoverflow post I found by searching "git submodule permission denied" seems to indicate that your SSH keys are out of sync with your Github account.

If you've already done some troubleshooting here and can't get past this authentication issue, you should be able to bypass the submodule checkout by manually cloning the main-ros2 branch of the endpoint package into the colcon ws like so:

# from repository root
cd ros2_docker/colcon_ws/src
git clone -b main-ros2 git@github.com:Unity-Technologies/ROS-TCP-Endpoint.git

This issue has been marked stale because it has been open for 14 days with no activity. Please remove the stale label or comment on this issue, or the issue will be automatically closed in the next 14 days.

This issue has been marked stale for 14 days and will now be closed. If this issue is still valid, please ping a maintainer.