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

bug with standard groovy installation on ubuntu 12.10 #18

Closed
aplyer opened this issue Feb 2, 2013 · 2 comments
Closed

bug with standard groovy installation on ubuntu 12.10 #18

aplyer opened this issue Feb 2, 2013 · 2 comments

Comments

@aplyer
Copy link

aplyer commented Feb 2, 2013

$> rosrun camera_calibration cameracalibrator.py --size 6x7 --square 0.108 image:=/stereo/left/image_mono

Exception in thread Thread-3:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "/opt/ros/groovy/lib/camera_calibration/cameracalibrator.py", line 68, in run
self.function(m)
File "/opt/ros/groovy/lib/camera_calibration/cameracalibrator.py", line 134, in handle_monocular
drawable = self.c.handle_msg(msg)
File "/opt/ros/groovy/lib/python2.7/dist-packages/camera_calibration/calibrator.py", line 736, in handle_msg
rgb = self.mkgray(msg)
File "/opt/ros/groovy/lib/python2.7/dist-packages/camera_calibration/calibrator.py", line 270, in mkgray
rgb = self.br.imgmsg_to_cv(msg, "bgr8")
File "/opt/ros/groovy/lib/python2.7/dist-packages/cv_bridge/core.py", line 101, in imgmsg_to_cv
source_type = self.encoding_as_cvtype(img_msg.encoding)
File "/opt/ros/groovy/lib/python2.7/dist-packages/cv_bridge/core.py", line 73, in encoding_as_cvtype
from cv_bridge.boost.cv_bridge_boost import getCvType
ImportError: No module named cv_bridge_boost

@aplyer
Copy link
Author

aplyer commented Feb 2, 2013

I don't find any cv_bridge_boost python file...
the cv_bridge directory of my groovy instalation is :

$> tree /opt/ros/groovy/lib/python2.7/dist-packages/cv_bridge
/opt/ros/groovy/lib/python2.7/dist-packages/cv_bridge
├── boost
│   ├── init.py
│   └── init.pyc
├── core.py
├── core.pyc
├── init.py
└── init.pyc

@vrabaud
Copy link
Contributor

vrabaud commented Feb 2, 2013

thx for reporting. I fixed it in cv_bridge 1.10.4 which I just released

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

2 participants