You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running a ROS node with a custom message, both built with the bazel_ros2_rules from this repo.
Unfortunately, I am encountering the following runtime error Handle's typesupport identifier (rosidl_typesupport_cpp) is not supported by this library.
Interestingly this error only occurs when I ingest a ROS install space that I built myself. (I followed the official instructions to build this install space ROS from source on Ubuntu 20.04).
If I use my self-built install space but don't use any messages that are built from bazel_ros2_rules then also everything works fine. Ie. my node only throws the runtime error if I use my self-built install space and a bazel-built message.
1699631909.646568 [0] _talker_no: selected interface "lo" is not multicast-capable: disabling multicast
>>> [rcutils|error_handling.c:108] rcutils_set_error_state()
This error state is being overwritten:
'Type support not from this implementation. Got:
Handle's typesupport identifier (rosidl_typesupport_cpp) is not supported by this library, at /tmp/binarydeb/ros-humble-rosidl-typesupport-cpp-2.0.1/src/type_support_dispatch.hpp:111
Could not load library libexample_msgs__rosidl_typesupport_introspection_cpp.so: dlopen error: libexample_msgs__rosidl_typesupport_introspection_cpp.so: cannot open shared object file: No such file or directory, at /tmp/binarydeb/ros-humble-rcutils-5.1.3/src/shared_library.c:99, at /tmp/binarydeb/ros-humble-rosidl-typesupport-cpp-2.0.1/src/type_support_dispatch.hpp:76
while fetching it, at /tmp/binarydeb/ros-humble-rmw-cyclonedds-cpp-1.3.4/src/rmw_node.cpp:1958'
with this new error message:
'type_support is null, at /tmp/binarydeb/ros-humble-rmw-cyclonedds-cpp-1.3.4/src/rmw_node.cpp:2277'
rcutils_reset_error() should be called after error handling to avoid this.
<<<
terminate called after throwing an instance of 'rclcpp::exceptions::RCLError'
what(): could not create publisher: type_support is null, at /tmp/binarydeb/ros-humble-rmw-cyclonedds-cpp-1.3.4/src/rmw_node.cpp:2277, at /tmp/binarydeb/ros-humble-rcl-5.3.5/src/rcl/publisher.c:116
The text was updated successfully, but these errors were encountered:
Hi,
First of all thanks for creating this great tool!
I am running a ROS node with a custom message, both built with the
bazel_ros2_rules
from this repo.Unfortunately, I am encountering the following runtime error
Handle's typesupport identifier (rosidl_typesupport_cpp) is not supported by this library
.Interestingly this error only occurs when I ingest a ROS install space that I built myself. (I followed the official instructions to build this install space ROS from source on Ubuntu 20.04).
If I use the example ROS install space from https://repo.ros2.org/ci_archives/nightly-cyclonedds/ everything works fine.
If I use my self-built install space but don't use any messages that are built from
bazel_ros2_rules
then also everything works fine. Ie. my node only throws the runtime error if I use my self-built install space and a bazel-built message.Does anybody know why this happens?
If not does anybody know how the install space at https://repo.ros2.org/ci_archives/nightly-cyclonedds/ was generated? This would probably allow me to debug the issue further.
Thanks for any help in advance!
The full log of the runtime error is here:
The text was updated successfully, but these errors were encountered: