Closed JeanCarlosChavarriaHughes closed 3 years ago
This is also present for python3
$ python3 test_tpe_autoget.py
EException ignored in: <function Telium.__del__ at 0x75eff2b8>
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/pyTeliumManager-2.4.1-py3.7.egg/telium/manager.py", line 91, in __del__
AttributeError: 'NoneType' object has no attribute 'is_open'
======================================================================
ERROR: test_auto_get (__main__.TestTPEAutoGet)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_tpe_autoget.py", line 13, in test_auto_get
my_telium_instance = Telium.get()
File "/usr/local/lib/python3.7/dist-packages/pyTeliumManager-2.4.1-py3.7.egg/telium/manager.py", line 87, in get
return Telium(probables[0], baudrate, timeout, open_on_create, debugging)
File "/usr/local/lib/python3.7/dist-packages/pyTeliumManager-2.4.1-py3.7.egg/telium/manager.py", line 65, in __init__
timeout=timeout
File "/home/pi/.local/lib/python3.7/site-packages/serial/serialutil.py", line 220, in __init__
self.bytesize = bytesize
File "/home/pi/.local/lib/python3.7/site-packages/serial/serialutil.py", line 306, in bytesize
raise ValueError("Not a valid byte size: {!r}".format(bytesize))
ValueError: Not a valid byte size: 1
----------------------------------------------------------------------
Ran 1 test in 0.011s
FAILED (errors=1)
System Information: