[aravis] Re: Aravis + RaspberryPi + Gige Cam

  • From: ROCS Project <astro.rocs@xxxxxxxxx>
  • To: aravis@xxxxxxxxxxxxx
  • Date: Fri, 8 Jan 2016 19:16:34 +0100

Hello,

It seems to me this is related to your python environment. When I add the
statement

data = buffer.get_data()

after

buffer = stream.pop_buffer()

in the arv-camera-test.py example, I do not get any error message. I use
Python 2.7.9 on a Raspberry Pi 2 with Linux 4.1.15-v7+ #830. What is the
version of Python you use?

Regards,
Philippe

2016-01-08 17:54 GMT+01:00 Jemshid KK <kake@xxxxxxxxxxxxxxxx>:

Hi,
I have installed Aravis and I can run arv-camera-test.py successfully.
But when I try to fetch data from buffer by

data = buffer.get_data()

I am getting the error

"Data access methods are unsupported. Use normal Python attributes
instead".

Can someone throw light on, what is the cause and how I can move forward.

Thank you


Jemshid KK | Applied Mathematician | www.CastaliaLabs.com | Tel:+91 7028
072 232 (Cell) | https://twitter.com/KakeJemshid

Other related posts: