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

catkin_python_setup() breaks message generation in melodic in install space #1166

Open
NielsH12 opened this issue Feb 22, 2022 · 4 comments
Open
Labels

Comments

@NielsH12
Copy link

A package which does the following:

  1. call catkin_python_setup()
  2. Declare its own messages and call generate_messages

Does not work when sourcing install/setup.bash.

source install/setup.bash
rosmsg info <PKG>/<MSG> -- works
rosmsg md5 <PKG>/<MSG> --breaks

This bug is present in Melodic but I can't reproduce it in Noetic

@gbiggs
Copy link
Contributor

gbiggs commented Feb 23, 2022

Can you provide a sample package that breaks in Melodic?

@NielsH12
Copy link
Author

Sure thing: https://github.com/NielsH12/py_test

@NielsH12
Copy link
Author

NielsH12 commented Feb 24, 2022

To test: (using docker)
docker run -it --rm ros:melodic-ros-base-bionic
(inside container)
mkdir -p ws/src && cd ws/src
git clone https://github.com/NielsH12/py_test.git
cd ..
catkin_make install
source install/setup.bash
rosmsg show py_test/MyMsg --works
rosmsg md5 py_test/MyMsg --breaks


-- Repeat steps above but with docker run -it --rm ros:noetic-ros-base-focal and rosmsg md5 works too.
(Edit: ros:noetic-ros-base-focal doesn't have git installed, while melodic-ros-base-bionic does. Weird)

@gbiggs
Copy link
Contributor

gbiggs commented Feb 24, 2022

Thanks for the sample. I've confirmed the bug.

@ivanpauno ivanpauno added the bug label Jun 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants