aravis icon indicating copy to clipboard operation
aravis copied to clipboard

aravis python assertion errors

Open nagyilles opened this issue 1 year ago • 4 comments

I am importing the package as follows:

from gi.repository import Aravis self.cam = Aravis.Camera.new(name)

The camera opened successfully (Baser acA1920-155um USB3) :

camera name: acA1920-155um
[12:23:48.714] 🅸 stream> SIRM_INFO = 0x02000000
[12:23:48.714] 🅸 stream> SIRM_REQ_PAYLOAD_SIZE = 0x0000000000232800
[12:23:48.714] 🅸 stream> SIRM_REQ_LEADER_SIZE = 0x00000400
[12:23:48.714] 🅸 stream> SIRM_REQ_TRAILER_SIZE = 0x00000400
[12:23:48.714] 🅸 stream> Required alignment = 4
[12:23:48.715] 🅸 stream> SIRM_PAYLOAD_SIZE = 0x00100000
[12:23:48.715] 🅸 stream> SIRM_PAYLOAD_COUNT = 0x00000002
[12:23:48.716] 🅸 stream> SIRM_TRANSFER1_SIZE = 0x00032800
[12:23:48.716] 🅸 stream> SIRM_TRANSFER2_SIZE = 0x00000000
[12:23:48.716] 🅸 stream> SIRM_MAX_LEADER_SIZE = 0x00000400
[12:23:48.716] 🅸 stream> SIRM_MAX_TRAILER_SIZE = 0x00000400

I am able to grab images, but I am getting the following error messages:

** (python:9975): CRITICAL **: 12:23:50.795: arv_buffer_get_part_pixel_format: assertion 'arv_buffer_part_is_image (buffer, part_id)' failed

** (python:9975): CRITICAL **: 12:23:50.795: arv_buffer_get_part_height: assertion 'arv_buffer_part_is_image (buffer, part_id)' failed

** (python:9975): CRITICAL **: 12:23:50.795: arv_buffer_get_part_width: assertion 'arv_buffer_part_is_image (buffer, part_id)' failed
Callback[10004]

** (python:9975): CRITICAL **: 12:23:50.796: arv_buffer_get_part_pixel_format: assertion 'arv_buffer_part_is_image (buffer, part_id)' failed

** (python:9975): CRITICAL **: 12:23:50.796: arv_buffer_get_part_height: assertion 'arv_buffer_part_is_image (buffer, part_id)' failed

** (python:9975): CRITICAL **: 12:23:50.796: arv_buffer_get_part_width: assertion 'arv_buffer_part_is_image (buffer, part_id)'

I have tried on 2 different machine with Ubuntu 20.04.1 LTS and different cameras.

nagyilles avatar Nov 22 '23 11:11 nagyilles

Could you attach a short sample software that shows your issue ?

EmmanuelP avatar Nov 27 '23 16:11 EmmanuelP