Robotics StackExchange | Archived questions

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

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

Failed with error
Traceback (most recent call last):
  File "/usr/bin/colcon", line 11, in <module>
    load_entry_point('colcon-core==0.7.1', 'console_scripts', 'colcon')()
  File "/usr/lib/python3/dist-packages/colcon_core/command.py", line 118, in main
    return _main(command_name=command_name, argv=argv)
  File "/usr/lib/python3/dist-packages/colcon_core/command.py", line 187, in _main
    create_log_path(args.verb_name)
  File "/usr/lib/python3/dist-packages/colcon_core/location.py", line 186, in create_log_path
    os.makedirs(str(path))
  File "/usr/lib/python3.8/os.py", line 223, in makedirs
    mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: 'log/mixin_2022-01-28_10-41-36'

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

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

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