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

Python files are not packaged #537

Open
bverhagen opened this issue Jul 8, 2022 · 2 comments
Open

Python files are not packaged #537

bverhagen opened this issue Jul 8, 2022 · 2 comments
Assignees

Comments

@bverhagen
Copy link

bverhagen commented Jul 8, 2022

Bug report

Required Info:

  • Operating System:
    • Ubuntu 20.04 (Focal)
  • Installation type:
  • Version or commit hash:
    • ROS2 Galactic (stable) (also checked with ROS2 Foxy and ROS2 Rolling)
  • DDS implementation:
    • Cyclone DDS
  • Client library (if applicable):
    • tf2-geometry-msgs

Steps to reproduce issue

  1. Install ros-galactic-tf2-geometry-msgs

    apt install ros-galactic-tf2-geometry-msgs`
    
  2. Use it in Python:

    from tf2_geometry_msgs import do_transform_vector3
    
  3. Run/launch the package

Expected behavior

  • I expect tf2_geometry_msgs to be successfully imported.

Actual behavior

Running it gives the following error:

from tf2_geometry_msgs import do_transform_vector3
[behaviour_muxer-6] ModuleNotFoundError: No module named 'tf2_geometry_msgs'

Additional information

  • The ros-galactic-tf2-geometry-msgs package does not install tf2_geometry_msgs.py.
  • Searching for the file in /opt/ros/galactic does not return any results.
  • I don't seem to find other relevant dependent packages that would install it.
# apt install ros-galactic-tf2-geometry-msgs
Reading package lists... Done
Building dependency tree
Reading state information... Done
ros-galactic-tf2-geometry-msgs is already the newest version (0.17.3-1focal.20220430.140032).
ros-galactic-tf2-geometry-msgs set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

# dpkg -L ros-foxy-tf2-geometry-msgs
/.
/opt
/opt/ros
/opt/ros/foxy
/opt/ros/foxy/include
/opt/ros/foxy/include/tf2_geometry_msgs
/opt/ros/foxy/include/tf2_geometry_msgs/tf2_geometry_msgs.h
/opt/ros/foxy/share
/opt/ros/foxy/share/ament_index
/opt/ros/foxy/share/ament_index/resource_index
/opt/ros/foxy/share/ament_index/resource_index/package_run_dependencies
/opt/ros/foxy/share/ament_index/resource_index/package_run_dependencies/tf2_geometry_msgs
/opt/ros/foxy/share/ament_index/resource_index/packages
/opt/ros/foxy/share/ament_index/resource_index/packages/tf2_geometry_msgs
/opt/ros/foxy/share/ament_index/resource_index/parent_prefix_path
/opt/ros/foxy/share/ament_index/resource_index/parent_prefix_path/tf2_geometry_msgs
/opt/ros/foxy/share/tf2_geometry_msgs
/opt/ros/foxy/share/tf2_geometry_msgs/cmake
/opt/ros/foxy/share/tf2_geometry_msgs/cmake/ament_cmake_export_dependencies-extras.cmake
/opt/ros/foxy/share/tf2_geometry_msgs/cmake/ament_cmake_export_include_directories-extras.cmake
/opt/ros/foxy/share/tf2_geometry_msgs/cmake/ament_cmake_export_targets-extras.cmake
/opt/ros/foxy/share/tf2_geometry_msgs/cmake/tf2_geometry_msgsConfig-version.cmake
/opt/ros/foxy/share/tf2_geometry_msgs/cmake/tf2_geometry_msgsConfig.cmake
/opt/ros/foxy/share/tf2_geometry_msgs/cmake/tf2_geometry_msgsExport.cmake
/opt/ros/foxy/share/tf2_geometry_msgs/environment
/opt/ros/foxy/share/tf2_geometry_msgs/environment/ament_prefix_path.dsv
/opt/ros/foxy/share/tf2_geometry_msgs/environment/ament_prefix_path.sh
/opt/ros/foxy/share/tf2_geometry_msgs/environment/path.dsv
/opt/ros/foxy/share/tf2_geometry_msgs/environment/path.sh
/opt/ros/foxy/share/tf2_geometry_msgs/local_setup.bash
/opt/ros/foxy/share/tf2_geometry_msgs/local_setup.dsv
/opt/ros/foxy/share/tf2_geometry_msgs/local_setup.sh
/opt/ros/foxy/share/tf2_geometry_msgs/local_setup.zsh
/opt/ros/foxy/share/tf2_geometry_msgs/package.dsv
/opt/ros/foxy/share/tf2_geometry_msgs/package.xml
/usr
/usr/share
/usr/share/doc
/usr/share/doc/ros-foxy-tf2-geometry-msgs
/usr/share/doc/ros-foxy-tf2-geometry-msgs/changelog.Debian.gz
@clalancette
Copy link
Contributor

In short, we need to merge and release #532 and #533 for this to work.

@clalancette clalancette self-assigned this Jul 28, 2022
@lukeschmitt-tr
Copy link

@clalancette Do you have a timeline for the release of these changes for Galactic and Foxy now that they have been merged?

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

No branches or pull requests

3 participants