VimbaPython icon indicating copy to clipboard operation
VimbaPython copied to clipboard

Exception with DiscoveryInterfaceEvent

Open jmtatsch opened this issue 1 year ago • 8 comments
trafficstars

Hello,

we run 3 Mako G 319c in an industrial setting and recently noticed the following exception after running the system for 557689 frames:

Exception ignored on calling ctypes callback function: <bound method _BaseFeature.__feature_cb_wrapper of Feature(_handle=c_void_p(1),_info=VmbFeatureInfo(name=b'DiscoveryInterfaceEvent',featureDataType=<VmbFeatureData.Enum: 3>,featureFlags= <VmbFeatureFlags.Read: 1> <VmbFeatureFlags.Undocumented: 4>,category=b'/Discovery',displayName=b'Discovery Interface Event',pollingTime=0,unit=None,representation=None,visibility=<VmbFeatureVisibility.Beginner: 1>,tooltip=None,description=b'Indicates the last interface discovery event.',sfncNamespace=b'Custom',isStreamable=False,hasAffectedFeatures=False,hasSelectedFeatures=False))>
Traceback (most recent call last):
File "/home/user/.local/lib/python3.11/site-packages/vimba/feature.py", line 310, in __feature_cb_wrapper
raise e
File "/home/user/.local/lib/python3.11/site-packages/vimba/feature.py", line 302, in __feature_cb_wrapper
handler(self)
File "/home/user/.local/lib/python3.11/site-packages/vimba/vimba.py", line 573, in __inter_cb_wrapper
inter = [i for i in self.__inters if inter_id == i.get_id()].pop()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
IndexError: pop from empty list

What is the cause of this? Should this maybe be mitigated by checking if the list is empty before popping it?

jmtatsch avatar Dec 07 '23 13:12 jmtatsch

@NiklasKroeger-AlliedVision What is the cause of this?

jmtatsch avatar Dec 20 '23 15:12 jmtatsch

Are you using the latest release? Does this error happen when you connect or disconnect a camera?

Teresa-AlliedVision avatar Dec 21 '23 08:12 Teresa-AlliedVision

Yes latest release. We did not wilfully connect/disconnect any cameras. Maybe a camera resetted itself?

jmtatsch avatar Dec 21 '23 09:12 jmtatsch

@Teresa-AlliedVision any updates on this?

jmtatsch avatar Jan 02 '24 10:01 jmtatsch

@Teresa-AlliedVision @NiklasKroeger-AlliedVision What is going on with customer support? We have about 25000 € of these cameras installed. And this seems like a rather simple error to fix.

jmtatsch avatar Jan 30 '24 19:01 jmtatsch

For immediate support needs, please contact customer support through us or the distributor the cameras were bought from. https://www.alliedvision.com/en/about-us/contact-us/technical-support-repair-/-rma/

Teresa-AlliedVision avatar Jan 31 '24 07:01 Teresa-AlliedVision

pinging @Teresa-AlliedVision @NiklasKroeger-AlliedVision Still no feedback from your support team ONE MONTH AFTER filing the ticket.

jmtatsch avatar Feb 27 '24 17:02 jmtatsch

Hi, the ticket got stuck with an invalid status and was not visible in the active ticket queue. Very sorry about that, it has been rectified now.

Teresa-AlliedVision avatar Feb 28 '24 08:02 Teresa-AlliedVision