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

retries exceeded #173

Open
aalvim123 opened this issue Nov 16, 2023 · 7 comments
Open

retries exceeded #173

aalvim123 opened this issue Nov 16, 2023 · 7 comments

Comments

@aalvim123
Copy link

aalvim123 commented Nov 16, 2023

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

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

@Teresa-AlliedVision
Copy link

Can you provide context and your code:

  • Camera model
  • Camera firmware
  • Software version
  • OS

@aalvim123
Copy link
Author

aalvim123 commented Nov 16, 2023

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

still waiting for response!!

@Teresa-AlliedVision
Copy link

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

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

@Teresa-AlliedVision
Copy link

Teresa-AlliedVision commented Nov 21, 2023

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.

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