You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using below version of software
bs1200 - 1.3.6
python -3.7.8
..\venv\Scripts\python.exe ..\dio.py
..\venv\lib\site-packages\paramiko\pkey.py:100: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0.
"cipher": algorithms.TripleDES,
..\venv\lib\site-packages\paramiko\transport.py:259: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0.
"class": algorithms.TripleDES,
Fan Status: No Fault
Temp Sensor 1: 30 °C
Temp Sensor 2: 30 °C
Temp Sensor 3: 29 °C
Traceback (most recent call last):
File "..\dio.py", line 10, in
ai_v = bs.readback_ai_all(box)
File "..\venv\lib\site-packages\bs1200\driver.py", line 380, in readback_ai_all
ai_volts[channel-1] = self.scale_volts(int.from_bytes(rx_frames[frame].data[start:end], 'little'), True)
AttributeError: 'NoneType' object has no attribute 'data'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "..\dio.py", line 22, in
print("DIO1:\t{:b} | DIO2:\t{:b} | DIO3:\t{:b} | DIO4:\t{:b} \nDIO5:\t{:b} | DIO6:\t{:b} | DIO7:\t{:b} | DIO8:\t{:b}".format(*bs.readback_dio(box)))
File "..\venv\lib\site-packages\bs1200\driver.py", line 51, in exit
sys.tracebacklimit.print_exception(exception_type, execption_val, tb)
AttributeError: module 'sys' has no attribute 'tracebacklimit'
Process finished with exit code 1
The text was updated successfully, but these errors were encountered:
I am trying to read DIO for my application but I am running into execption attached below in below provided example. Actual path from error has been removed for anonamity.
https://github.com/BloomyControls/BS1200-Python-Driver/blob/main/tests/dio_test.py
We are using below version of software
bs1200 - 1.3.6
python -3.7.8
..\venv\Scripts\python.exe ..\dio.py
..\venv\lib\site-packages\paramiko\pkey.py:100: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0.
"cipher": algorithms.TripleDES,
..\venv\lib\site-packages\paramiko\transport.py:259: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0.
"class": algorithms.TripleDES,
Fan Status: No Fault
Temp Sensor 1: 30 °C
Temp Sensor 2: 30 °C
Temp Sensor 3: 29 °C
Traceback (most recent call last):
File "..\dio.py", line 10, in
ai_v = bs.readback_ai_all(box)
File "..\venv\lib\site-packages\bs1200\driver.py", line 380, in readback_ai_all
ai_volts[channel-1] = self.scale_volts(int.from_bytes(rx_frames[frame].data[start:end], 'little'), True)
AttributeError: 'NoneType' object has no attribute 'data'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "..\dio.py", line 22, in
print("DIO1:\t{:b} | DIO2:\t{:b} | DIO3:\t{:b} | DIO4:\t{:b} \nDIO5:\t{:b} | DIO6:\t{:b} | DIO7:\t{:b} | DIO8:\t{:b}".format(*bs.readback_dio(box)))
File "..\venv\lib\site-packages\bs1200\driver.py", line 51, in exit
sys.tracebacklimit.print_exception(exception_type, execption_val, tb)
AttributeError: module 'sys' has no attribute 'tracebacklimit'
Process finished with exit code 1
The text was updated successfully, but these errors were encountered: