We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TobiiGlassesPyController/tobiiglassesctrl/controller.py
Line 193 in 11542ba
Hi everyone,
Thanks a lot for this very useful toolbox.
I have come across an issue line 193 that I have corrected, see below. Otherwise, everything is working fine !
Issue : TypeError: a bytes-like object is required, not 'str'
TypeError: a bytes-like object is required, not 'str'
Correction suggested : sock.setsockopt(socket.SOL_SOCKET, 25, (self.iface_name+'\0').encode())
sock.setsockopt(socket.SOL_SOCKET, 25, (self.iface_name+'\0').encode())
The text was updated successfully, but these errors were encountered:
Hi @Soraya28,
many thanks for your suggestion. Please can you tell us the operating system and the Python version in which you encountered the issue?
Sorry, something went wrong.
Hi @ddetommaso
Sorry, of course.
Os : Windows 11 Python : 3.9.12
No branches or pull requests
TobiiGlassesPyController/tobiiglassesctrl/controller.py
Line 193 in 11542ba
Hi everyone,
Thanks a lot for this very useful toolbox.
I have come across an issue line 193 that I have corrected, see below. Otherwise, everything is working fine !
Issue :
TypeError: a bytes-like object is required, not 'str'
Correction suggested :
sock.setsockopt(socket.SOL_SOCKET, 25, (self.iface_name+'\0').encode())
The text was updated successfully, but these errors were encountered: