-
Notifications
You must be signed in to change notification settings - Fork 258
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
rosbag fails at importing import_c_library #522
Comments
I just got the same error after a fresh Foxy installation. The problem: The Debian package ros-foxy-rpyutils is from 24 June 2020, but ros-foxy-rosbag2 is from 1 September 2020. Therefore, ros-foxy-rpytuils does not include the |
Thanks for digging in. @jacobperron FYI, looks like we need to do a new release of rpyutils into Foxy and a new sync. |
Thanks for reporting! I've made a new release of rpyutils (ros/rosdistro#26537) and will do another Foxy sync shortly. |
I've also added a new test (#523) in an effort to catch this kind of bug in earlier in the release cycle. |
Thanks for digging into this and providing a fix so promptly. I am still surprised to see core tooling break during a stable release. This diminishes the trust of using ROS2 stable releases for serious projects. |
This issue has been mentioned on ROS Discourse. There might be relevant details there: https://discourse.ros.org/t/new-packages-for-foxy-fitzroy-2020-09-10/16348/3 |
My PR also fails with the same logs(ros2/rclpy#599), which seems to be the same problem. Hope the latest change will come to the foxy image ASAP |
That was all done. The problem in this case is that we missed backporting and releasing an additional patch to rpyutils for Foxy. It was further compounded by the fact that we didn't have any tests for this, which is now rectified by #523 . In general, there is tension between keeping the released versions stable and adding fixes to the stable version. To really be sure about patches that are backported, testing is needed. That can come both in the form of automated tests, or manual testing by users. Many automated tests are currently being added, so that side of the equation is at least being worked on. The manual testing is (and has always been) a problem; there has historically been very little (I would say almost zero) testing of the "testing" repositories by the community. I'm not sure how to improve that, but I'd definitely be open to suggestions. |
I believe this issue has been resolved. Feel free to comment or re-open. |
I'm seeing this failure when building in docker on arm64 using How long does it take for changes to propagate.Or how can I point to a working version? |
@FilipDziwulski I don't have an idea for how long it takes for the docker file to be updated, but you should be able to upgrade within the docker container to the newest package versions, e.g. |
Description
ros2 bag fails to record or play bag files
Expected Behavior
ros2 bag can record and play
Actual Behavior
I tried to record on ROS2 foxy via
ros2 bag record <log-file-name>
which fails with:To Reproduce
ros2 bag record test
cannot import name 'import_c_library' from 'rpyutils'
System (please complete the following information)
Additional context
This used to work on foxy about a week ago.
The text was updated successfully, but these errors were encountered: