Robotics StackExchange | Archived questions

Different profiles that extend different workspaces; is it possible?

Hi!, I'm trying to use different catkin profiles that differ on which workspace they overlay:

The first workspace worked fine:

$ catkin config --extend /home/jorge/rapyuta_ws/io_amr/devel
---------------------------------------------------------------------
Profile:                     release
Extending:        [explicit] /home/jorge/rapyuta_ws/io_amr/devel
Workspace:                   /home/jorge/rapyuta_ws/sootballs
---------------------------------------------------------------------
Build Space:        [exists] /home/jorge/rapyuta_ws/sootballs/build
Devel Space:        [exists] /home/jorge/rapyuta_ws/sootballs/devel
Install Space:      [unused] /home/jorge/rapyuta_ws/sootballs/install
Log Space:          [exists] /home/jorge/rapyuta_ws/sootballs/logs
Source Space:       [exists] /home/jorge/rapyuta_ws/sootballs/src
DESTDIR:            [unused] None
---------------------------------------------------------------------
Devel Space Layout:          linked
Install Space Layout:        None
---------------------------------------------------------------------
Additional CMake Args:       None
Additional Make Args:        -j8
Additional catkin Make Args: None
Internal Make Job Server:    True
Cache Job Environments:      False
---------------------------------------------------------------------
Buildlisted Packages:        None
Skiplisted Packages:         None
---------------------------------------------------------------------
Workspace configuration appears valid.
---------------------------------------------------------------------

But when I try to create a new profile extending the install space of another workspace, I'm getting

$ catkin config --extend /home/jorge/rapyuta_ws/io_amr_release/devel
Traceback (most recent call last):
  File "/usr/bin/catkin", line 33, in <module>
    sys.exit(load_entry_point('catkin-tools==0.9.0', 'console_scripts', 'catkin')())
  File "/usr/lib/python3/dist-packages/catkin_tools/commands/catkin.py", line 265, in main
    catkin_main(sysargs)
  File "/usr/lib/python3/dist-packages/catkin_tools/commands/catkin.py", line 260, in catkin_main
    sys.exit(args.main(args) or 0)
  File "/usr/lib/python3/dist-packages/catkin_tools/verbs/catkin_config/cli.py", line 177, in main
    context = Context.load(
  File "/usr/lib/python3/dist-packages/catkin_tools/context.py", line 256, in load
    ctx.load_env()
  File "/usr/lib/python3/dist-packages/catkin_tools/context.py", line 493, in load_env
    self.warnings += [clr(
KeyError: '_Context__extend_path'

Is it just not possible what I'm trying to do? I'm using noetic on ubuntu 20.04

Thanks!

Asked by jorge on 2022-12-08 04:53:13 UTC

Comments

Answers