Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Colcon bundle for local packages #228

Open
badrmoutalib opened this issue Jul 1, 2021 · 1 comment
Open

Colcon bundle for local packages #228

badrmoutalib opened this issue Jul 1, 2021 · 1 comment

Comments

@badrmoutalib
Copy link

Hello,
I'm facing an issue with colcon bundle. I'm trying to bundle a simulation app using custom packages that are not available on ros-melodic apt source list because they are only available for kinetic. As you might know only melodic is supported now on AWS robomaker and to run the simulation i need to use packages that are not available in apt. When i transfer the packages into opt/ros/melodic/share with their respective lib dependencies and bundle them, colcon tries to look for them still on apt and gives me this error :
ERROR:colcon.colcon_ros_bundle.task:Could not find key for kineticpkg
KeyError: 'ros-melodic-kineticpkg'
Here kineticpkg is the pkg that apt can't find.
How would you suggest going about fixing this issue ?
Thank you !

Originally posted by @badrmoutalib in #121 (comment)

@badrmoutalib badrmoutalib changed the title Colcon bundle local packages Colcon bundle for local packages Jul 1, 2021
@murphm8
Copy link
Collaborator

murphm8 commented Jul 14, 2021

The easiest way to fix this would be to include the packages you want in your workspace, and build them. colcon bundle will not attempt to download/install any packages which are built into the local workspace.

Installing them into opt/ros/melodic/share won't work since colcon bundle isn't analyzing what is already in that path, it keeps track of installed packages elsewhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants