[Motmot] camiface broken, fixed
John Bender
jbender at case.edu
Thu Jun 24 18:38:51 UTC 2010
Tuesday's PPA update to libcamiface broke it for me, though I fixed
it. I may be running a complex mixture of software versions, but the
error and fix are below, in case somebody else has the same problem.
This is in Ubuntu Lucid 64-bit with a Basler camera.
When I chose "initialize camera" in Fview:
/usr/lib/pymodules/python2.6/motmot/cam_iface/choose.py:14:
UserWarning: only mega backend supported
warnings.warn('only mega backend supported')
Could not open shared library for backend "libcam_iface_mega.so"
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/motmot/fview/fview.py", line
1157, in OnInitCamera
_need_cam_iface()
File "/usr/lib/pymodules/python2.6/motmot/fview/fview.py", line 768,
in _need_cam_iface
cam_iface = cam_iface_choose.import_backend(backend,wrapper)
File "/usr/lib/pymodules/python2.6/motmot/cam_iface/choose.py", line
16, in import_backend
import motmot.cam_iface.cam_iface_ctypes as result
File "/usr/lib/pymodules/python2.6/motmot/cam_iface/cam_iface_ctypes.py",
line 51, in <module>
c_cam_iface = ctypes.cdll.LoadLibrary(backend_fname)
File "/usr/lib/python2.6/ctypes/__init__.py", line 431, in LoadLibrary
return self._dlltype(name)
File "/usr/lib/python2.6/ctypes/__init__.py", line 353, in __init__
self._handle = _dlopen(self._name, mode)
OSError: libcam_iface_mega.so: cannot open shared object file: No such
file or directory
Oddly enough:
ballsy:~ $ ls /usr/lib | grep libcam_iface
libcam_iface_dc1394.so.0@
libcam_iface_dc1394.so.0.6.1
libcam_iface_mega.so.0@
libcam_iface_mega.so.0.6.1
ballsy:/usr/lib $ sudo ln -s libcam_iface_mega.so.0.6.1 libcam_iface_mega.so
...and it's fixed.
More information about the Motmot
mailing list