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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

aravis python assertion errors #844

Open
nagyilles opened this issue Nov 22, 2023 · 1 comment
Open

aravis python assertion errors #844

nagyilles opened this issue Nov 22, 2023 · 1 comment
Labels
2. Needs informations Needs an acceptable design solution to be identified 5. Python Issue in python binding

Comments

@nagyilles
Copy link

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.

@EmmanuelP
Copy link
Contributor

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

@EmmanuelP EmmanuelP added 5. Python Issue in python binding 2. Needs informations Needs an acceptable design solution to be identified labels Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2. Needs informations Needs an acceptable design solution to be identified 5. Python Issue in python binding
Projects
None yet
Development

No branches or pull requests

2 participants