Moveit2 install missing "release" file
I am following the tutorial for installing Moveit2 under ROS2 Galactic. Everything seems to have worked down to the Build your Colcon Workspace
section where I am trying to do the colcon build
with the command colcon build --mixin release
The error I get is
usage: colcon [-h] [--log-base LOG_BASE] [--log-level LOG_LEVEL]
{build,extension-points,extensions,graph,info,list,metadata,mixin,test,test-result,version-check}
...
colcon: error: Mixin 'release' is not available for 'build'
The file "release" is not to be found. How do I get this missing file?
Asked by Bob H on 2022-01-27 19:39:50 UTC
Answers
Follow the repo readme https://github.com/colcon/colcon-mixin-repository
1) colcon mixin add default https://raw.githubusercontent.com/colcon/colcon-mixin-repository/master/index.yaml 2) colcon mixin update default
Asked by Uttsha on 2022-07-29 15:35:36 UTC
Comments
You probably missed this step from https://moveit.picknik.ai/humble/doc/tutorials/getting_started/getting_started.html#download-source-code-of-moveit-and-the-tutorials:
Install Colcon the ROS 2 build system with mixin:
colcon mixin add default https://raw.githubusercontent.com/colcon/colcon-mixin-repository/master/index.yaml
colcon mixin update default
Asked by Darkproduct on 2022-12-01 16:26:19 UTC
Comments
Just checking have you installed
colcon
?sudo apt install python3-colcon-common-extensions
Asked by osilva on 2022-01-27 20:20:59 UTC
did that. didn't help. tried reinstall of colcon with
colcon mixin add default https://raw.githubusercontent.com/colcon/colcon-mixin-repository/master/index.yaml
Asked by Bob H on 2022-01-28 14:02:15 UTC
Is there some way to get this installed correctly?
Asked by Bob H on 2022-01-28 14:03:19 UTC
Refer to this prior answer: https://answers.ros.org/question/367616/colcon-build-cannot-import-name-autocomplete-from-argcomplete/
Asked by osilva on 2022-01-28 15:00:03 UTC
Let me know if it works, then we can document as an answer.
Asked by osilva on 2022-01-28 15:00:25 UTC
I am not using a virtual machine.
The previous answer said uninstall argcomplete. Where do I find it and how do I uninstall it?
Asked by Bob H on 2022-01-28 15:59:50 UTC
Found the uninstall command.
sudo apt-get remove python3-argcomplete
ran it. looked like it uninstalled a lot of ros/galactic also.
reran the colcon install using colcon mixin add default https://raw.githubusercontent.com/colcon/colcon-mixin-repository/master/index.yaml
didn't work. same error
Asked by Bob H on 2022-01-28 16:20:36 UTC
hi the problem i met just now too, do below code again may solve this problem
colcon mixin add default https://raw.githubusercontent.com/colcon/colcon-mixin-repository/master/index.yaml
colcon mixin update default
Asked by dg on 2022-04-27 04:28:03 UTC