Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Exception with DiscoveryInterfaceEvent #177

Open
jmtatsch opened this issue Dec 7, 2023 · 8 comments
Open

Exception with DiscoveryInterfaceEvent #177

jmtatsch opened this issue Dec 7, 2023 · 8 comments

Comments

@jmtatsch
Copy link

jmtatsch commented Dec 7, 2023

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
Copy link
Author

@NiklasKroeger-AlliedVision What is the cause of this?

@Teresa-AlliedVision
Copy link

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

@jmtatsch
Copy link
Author

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

@jmtatsch
Copy link
Author

jmtatsch commented Jan 2, 2024

@Teresa-AlliedVision any updates on this?

@jmtatsch
Copy link
Author

@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.

@Teresa-AlliedVision
Copy link

Teresa-AlliedVision commented Jan 31, 2024

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/

@jmtatsch
Copy link
Author

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

@Teresa-AlliedVision
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants