alliedvision / VimbaPython

Old Allied Vision Vimba Python API. The successor to this API is VmbPy
BSD 2-Clause "Simplified" License
93 stars 40 forks source link

retries exceeded #173

Open aalvim123 opened 9 months ago

aalvim123 commented 9 months ago

File "/app/vimba_client.py", line 75, in _start CameraConfigurator.setup(camera, calibration) File "/app/camera_configurator.py", line 32, in setup camera.load_settings(settings_file, PersistType.All) File "/opt/venv/lib/python3.10/site-packages/vmbpy/util/context_decorator.py", line 101, in wrapper return func(*args, kwargs) File "/opt/venv/lib/python3.10/site-packages/vmbpy/util/runtime_type_check.py", line 58, in wrapper return func(*args, *kwargs) File "/opt/venv/lib/python3.10/site-packages/vmbpy/featurecontainer.py", line 207, in load_settings call_vmb_c('VmbSettingsLoad', File "/opt/venv/lib/python3.10/site-packages/vmbpy/util/tracer.py", line 131, in wrapper result = func(args, kwargs) File "/opt/venv/lib/python3.10/site-packages/vmbpy/c_binding/vmb_c.py", line 891, in call_vmb_c getattr(_lib_instance, func_name)(*args) File "/opt/venv/lib/python3.10/site-packages/vmbpy/c_binding/vmb_c.py", line 815, in _eval_vmberror raise VmbCError(result) vmbpy.c_binding.vmb_common.VmbCError: VmbCError(<VmbError.RetriesExceeded: -40>) 2023-11-16 07:50:48,359 INFO [vimba_client.py:95] VimbaCapture: Stopping streaming...

aalvim123 commented 9 months ago

Not able to start camera, tried reloading the config file after deleting it on server but still same error

Teresa-AlliedVision commented 9 months ago

Can you provide context and your code:

aalvim123 commented 9 months ago

Camera model - GT6400C (02-2701D) Camera firmware - 00.01.54.26872 Software version - Vimba X (latest) OS - linux

settings_file = CameraConfigurator._get_camera_settings_filename(camera.get_id()) with camera:

        if settings_file:
            # Load camera settings from file.
            camera.load_settings(settings_file, PersistType.All)
aalvim123 commented 9 months ago

still waiting for response!!

Teresa-AlliedVision commented 9 months ago

For immediate support, please contact the official support channels: https://www.alliedvision.com/en/about-us/contact-us/technical-support-repair-/-rma/

For now, updating the firmware of the camera is a good first step, since there is a newer version available. If this happens every time you try to load the settings, try Vimba6 instead of VimbaX.

aalvim123 commented 9 months ago

Is this latest version of VimbaX ? Can you please share the installation link, Thanks.

Teresa-AlliedVision commented 9 months ago

First the link to the Firmware: https://www.alliedvision.com/en/support/firmware-downloads/ Vimba 6 is the older SDK, before VimbaX. VimbaX is newer, but it is optimized for the newer Alvium series, even if it supports the older portfolio as well. There aren't any known issues for your camera and the VimbaX load settings function, this would just be a tring to try. https://www.alliedvision.com/en/products/vimba-sdk/#c1497 The handling of Vimba is almost exactly the same as VimbaX and for basic scripts, you can usually port them by changing the name of the imported library only. But it might be easier to start witht he provided examples for Vimba 6 Python and modify those.