While using the latest version of the library my code threw I error I had not experienced before when I would initialize a device through the Acq400 object. I reverted bag to tag v2.17.0 and no longer had that initialization issue.
Trace:
Traceback (most recent call last):
File "C:\Users\noroumch\Programming\d-tacq-manager\src\devices.py", line 139, in init
self.uut = acq400_hapi.Acq400(self.host)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\noroumch\Programming\d-tacq-manager\dtacq_host_api\acq400_hapi\acq400.py", line 509, in init
self.make_sa_sd_aliases()
File "C:\Users\noroumch\Programming\d-tacq-manager\dtacq_host_api\acq400_hapi\acq400.py", line 428, in make_sa_sd_aliases
ams = self._make_svc_from_log(self.s0.run0_log)
^^^^^^^^^^^^^^^^
File "C:\Users\noroumch\Programming\d-tacq-manager\dtacq_host_api\acq400_hapi\netclient.py", line 214, in getattr
raise AttributeError(msg.format(type(self).name, name))
AttributeError: 'Siteclient' object has no attribute 'run0_log'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\noroumch\Programming\d-tacq-manager\src\test_acq400.py", line 28, in
with ACQ400Device(ACQ_HOST) as dev:
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\noroumch\Programming\d-tacq-manager\src\devices.py", line 145, in init
raise DeviceError(f"Failed to connect to {self.host}: {e}") from e
devices.DeviceError: Failed to connect to 192.168.0.191: 'Siteclient' object has no attribute 'run0_log'
While using the latest version of the library my code threw I error I had not experienced before when I would initialize a device through the Acq400 object. I reverted bag to tag v2.17.0 and no longer had that initialization issue.
Trace:
Traceback (most recent call last):
File "C:\Users\noroumch\Programming\d-tacq-manager\src\devices.py", line 139, in init
self.uut = acq400_hapi.Acq400(self.host)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\noroumch\Programming\d-tacq-manager\dtacq_host_api\acq400_hapi\acq400.py", line 509, in init
self.make_sa_sd_aliases()
File "C:\Users\noroumch\Programming\d-tacq-manager\dtacq_host_api\acq400_hapi\acq400.py", line 428, in make_sa_sd_aliases
ams = self._make_svc_from_log(self.s0.run0_log)
^^^^^^^^^^^^^^^^
File "C:\Users\noroumch\Programming\d-tacq-manager\dtacq_host_api\acq400_hapi\netclient.py", line 214, in getattr
raise AttributeError(msg.format(type(self).name, name))
AttributeError: 'Siteclient' object has no attribute 'run0_log'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\noroumch\Programming\d-tacq-manager\src\test_acq400.py", line 28, in
with ACQ400Device(ACQ_HOST) as dev:
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\noroumch\Programming\d-tacq-manager\src\devices.py", line 145, in init
raise DeviceError(f"Failed to connect to {self.host}: {e}") from e
devices.DeviceError: Failed to connect to 192.168.0.191: 'Siteclient' object has no attribute 'run0_log'