-
Notifications
You must be signed in to change notification settings - Fork 31
Description
When I try to connect to Tobii via ethernet cable, I get the following error.
TobiiGlassesController("fe80::52bc:2e3e:d916:f34e%enp0s31f6")
[DEBUG]: Connecting to the Tobii Pro Glasses 2 ...
[DEBUG]: Disconnecting to the Tobii Pro Glasses 2
Exception ignored in: <function TobiiGlassesController.del at 0x7926aa4a0430>
Traceback (most recent call last):
File "/home/henk/.local/lib/python3.10/site-packages/tobiiglassesctrl/controller.py", line 100, in del
self.close()
File "/home/henk/.local/lib/python3.10/site-packages/tobiiglassesctrl/controller.py", line 314, in close
self.disconnect()
File "/home/henk/.local/lib/python3.10/site-packages/tobiiglassesctrl/controller.py", line 116, in disconnect
self.data_socket.close()
AttributeError: 'TobiiGlassesController' object has no attribute 'data_socket'
Traceback (most recent call last):
File "", line 1, in
File "/home/henk/.local/lib/python3.10/site-packages/tobiiglassesctrl/controller.py", line 96, in init
if self.connect(timeout = timeout) is False:
File "/home/henk/.local/lib/python3.10/site-packages/tobiiglassesctrl/controller.py", line 104, in connect
self.data_socket = self.mksock()
File "/home/henk/.local/lib/python3.10/site-packages/tobiiglassesctrl/controller.py", line 187, in mksock
sock.setsockopt(socket.SOL_SOCKET, 25, self.iface_name+'\0')
TypeError: a bytes-like object is required, not 'str'