-
Notifications
You must be signed in to change notification settings - Fork 606
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
[Foxy] cv_bridge import broken with unreported exception #339
Comments
Upstream master doesn't seem to exhibit, so I think it was already fixed and foxy just needs to be updated potentially. |
I managed to get a little further and surface this error in GDB:
Which doesn't make a ton of sense, given that x86 compile-time and runtime should both be little endian. |
It looks like it may be potentially addressed by #292 |
See #346 for a fix. |
Closed by #342 |
In case it helps anyone else: I just ran into this error, but doing |
I am seeing this issue on Noetic on ARM64 (Jetson NX) I run ubuntu20 in docker and see this (with default cv_bridge)
and if I take current master and build it in my workspace I see the same issue:
Any ideas how to debug/fix? |
also, there is this URL describing same error on ARM64: https://answers.ros.org/question/350904/cv_bridge-throws-boost-import-error-in-python-3-and-ros-melodic/, but is for Melodic. And it also lists no solution, but a workaround to not use cv_bridge functions. |
after rebuilding ROS Noetic from source on Jetson NX and still seeing the same issue I have found a workaround: import cv2 has to happen first in python scripts. then 'import cv_bridge' works fine |
Hi,
I noticed in
image_pipeline
's CI that there's an unreported exception due tocv_bridge
. Job is here http://build.ros2.org/job/Fpr__image_pipeline__ubuntu_focal_amd64/2/consoleI suspected CI issues, but in an ipython3 session locally I see the same thing with released debians
So this appears to be a genuine issue. The offending line: https://github.com/ros-perception/vision_opencv/blob/noetic/cv_bridge/python/cv_bridge/__init__.py#L6
The text was updated successfully, but these errors were encountered: