genicam / harvesters

Image Acquisition Library for GenICam-based Machine Vision System
Apache License 2.0
500 stars 86 forks source link

ia.fetch() reports GenTL exception continuously #425

Open HyunyoungGoh opened 11 months ago

HyunyoungGoh commented 11 months ago

Describe the Issue I just followed tutorial of harvesters. But my Toshiba-teli 3.1MP camera has some reports. When I try fetch(), it report _gentl.NotImplementedException continuously.

Sample Code

ia = h.create(0) ia.start()

with ia.fetch() as buffer: payload = buffer.payload component = payload.components[0] width = component.width height = component.height frame = component.data.reshape(height, width).copy()


If applicable, please paste the actual output (its whole traceback, etc) here:

GenTL producer does not implement DSGetNumBufferParts GenTL producer does not implement DSGetBufferPartInfo

2023-08-02 11:33:11,432 :: harvesters.core :: ERROR :: GenTL exception: Requested operation not implemented. (Message from the source: Not implemented.) (ID: -1003) Traceback (most recent call last): File "/home/user/PycharmProjects/TestHarvesters/lib/python3.9/site-packages/harvesters/core.py", line 2350, in _update_chunk_data buffer.chunk_data_info_list) File "/home/user/PycharmProjects/TestHarvesters/lib/python3.9/site-packages/genicam/gentl.py", line 4585, in _get_chunk_data_info_list return _gentl.Buffer__get_chunk_data_info_list(self) _gentl.NotImplementedException: GenTL exception: Requested operation not implemented. (Message from the source: Not implemented.) (ID: -1003) 2023-08-02 11:33:11,826 :: harvesters.core :: ERROR :: GenTL exception: Requested operation not implemented. (Message from the source: Not implemented.) (ID: -1003) Traceback (most recent call last): File "/home/user/PycharmProjects/TestHarvesters/lib/python3.9/site-packages/harvesters/core.py", line 2350, in _update_chunk_data buffer.chunk_data_info_list) File "/home/user/PycharmProjects/TestHarvesters/lib/python3.9/site-packages/genicam/gentl.py", line 4585, in _get_chunk_data_info_list return _gentl.Buffer__get_chunk_data_info_list(self) _gentl.NotImplementedException: GenTL exception: Requested operation not implemented. (Message from the source: Not implemented.) (ID: -1003)



**Configuration**
 - OS: CentOS Stream 8
 - Python: 3.9
 - Harvester: 1.4.2
 - GenTL Producer: TeliCamTL.ct
 - Camera: BU302MG(Toshiba-teli USB3.0 3.1M(2048 x 1536) camera)

**Reproducibility**
This phenomenon can be stably reproduced:
- [x] Yes

- [x] I've read the [Harvester FAQ page](https://github.com/genicam/harvesters/wiki/FAQ).