Hello,
I have been joining this program on and off for the past few years. At some point an extra section was added to the ROS Basics in 5 days course. I am trying to prepare to teach with this and wanted to align my old files to the newer course layout. So I decide to rename some of my exercises to match. Now I am seeing this when I run catkin build:
Traceback (most recent call last):
File “/usr/bin/catkin”, line 11, in
load_entry_point(‘catkin-tools==0.5.0’, ‘console_scripts’, ‘catkin’)()
File “/usr/lib/python3/dist-packages/catkin_tools/commands/catkin.py”, line 272, in main
catkin_main(sysargs)
File “/usr/lib/python3/dist-packages/catkin_tools/commands/catkin.py”, line 267, in catkin_main
sys.exit(args.main(args) or 0)
File “/usr/lib/python3/dist-packages/catkin_tools/verbs/catkin_build/cli.py”, line 404, in main
return build_isolated_workspace(
File “/usr/lib/python3/dist-packages/catkin_tools/verbs/catkin_build/build.py”, line 299, in build_isolated_workspace
built_packages, unbuilt_pkgs = get_built_unbuilt_packages(context, workspace_packages)
File “/usr/lib/python3/dist-packages/catkin_tools/verbs/catkin_build/build.py”, line 164, in get_built_unbuilt_packages
find_packages(context.package_metadata_path(), warnings=).items()])
File “/usr/lib/python3/dist-packages/catkin_pkg/packages.py”, line 96, in find_packages
raise RuntimeError(’\n’.join(duplicates))
RuntimeError: Multiple packages found with the same name “exercise_3_1”:
- excercise_21
- exercise_3_1
Multiple packages found with the same name “exercise_3_2”: - excercise_22
- exercise_3_2
Multiple packages found with the same name “exercise_3_3”: - excercise_23
- exercise_3_3
I can’t find any instance of the old names. What do I need to do to get back to being able to build? Is there a proper way to rename packages?
Best regards,
Mike Wescott