ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Moveit2 install missing "release" file

asked 2022-01-27 18:39:50 -0500

Bob H gravatar image

updated 2022-01-28 14:01:05 -0500

osilva gravatar image

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?

edit retag flag offensive close merge delete

Comments

Just checking have you installed colcon?

sudo apt install python3-colcon-common-extensions

osilva gravatar image osilva  ( 2022-01-27 19:20:59 -0500 )edit

did that. didn't help. tried reinstall of colcon with

colcon mixin add default https://raw.githubusercontent.com/col...

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'
Bob H gravatar image Bob H  ( 2022-01-28 13:02:15 -0500 )edit

Is there some way to get this installed correctly?

Bob H gravatar image Bob H  ( 2022-01-28 13:03:19 -0500 )edit

Refer to this prior answer: https://answers.ros.org/question/3676...

osilva gravatar image osilva  ( 2022-01-28 14:00:03 -0500 )edit

Let me know if it works, then we can document as an answer.

osilva gravatar image osilva  ( 2022-01-28 14:00:25 -0500 )edit

I am not using a virtual machine.

The previous answer said uninstall argcomplete. Where do I find it and how do I uninstall it?

Bob H gravatar image Bob H  ( 2022-01-28 14:59:50 -0500 )edit

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/col...

didn't work. same error

Bob H gravatar image Bob H  ( 2022-01-28 15:20:36 -0500 )edit
1

hi the problem i met just now too, do below code again may solve this problem

colcon mixin add default https://raw.githubusercontent.com/col...

colcon mixin update default

dg gravatar image dg  ( 2022-04-27 04:28:03 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
1

answered 2022-07-29 15:35:36 -0500

Uttsha gravatar image

Follow the repo readme https://github.com/colcon/colcon-mixi...

1) colcon mixin add default https://raw.githubusercontent.com/col... 2) colcon mixin update default

edit flag offensive delete link more
0

answered 2022-12-01 15:26:19 -0500

Darkproduct gravatar image

You probably missed this step from https://moveit.picknik.ai/humble/doc/...:

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
edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2022-01-27 18:39:50 -0500

Seen: 2,234 times

Last updated: Dec 01 '22