I am running a program that captures images and checks for a laser pointer.It runs well most of the time. But occasionally I will get an errorlibdc1394 error: Generic failure: in dc1394_format7_get_color_coding (format7.c, line 329): Could not get current color_id
Exception in thread Thread-1:Traceback (most recent call last):File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
self.run()
File "/usr/local/lib/python2.7/dist-packages/pydc1394/camera.py", line 221, in run
self._cam.mode.shape
File "/usr/local/lib/python2.7/dist-packages/pydc1394/_mode.py", line 337, in shape
self._calc_dtype_and_shape()
File "/usr/local/lib/python2.7/dist-packages/pydc1394/_mode.py", line 69, in _calc_dtype_and_shape
self._cam, self._mode_id, byref(cc))
File "/usr/local/lib/python2.7/dist-packages/pydc1394/_dc1394core.py", line 669, in _errcheck
% error_vals[rtype])
RuntimeError: Error in dc1394 function call: FAILURE
Try catching it in the line where it is thrown? File "/usr/local/lib/python2.7/dist-packages/pydc1394/_dc1394core.py", line 669, in _errchec
The library is not in use or in development any longer by me - you need to bandaid fix this yourself.
That is too bad that you are not involved anymore.Is there a newer alternative?
--
You received this message because you are subscribed to the Google Groups "pydc1394" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pydc1394+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.