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
I think we need one more exception for OSError. It's like we can replace TimeoutError with OSError.
It gives this error when the IP address is inaccessible (device is offline).
Traceback (most recent call last):
File "/home/angelside/code/python/zebra-password-changer-multi-cli-py/main.py", line 102, in <module>
main()
File "/home/angelside/code/python/zebra-password-changer-multi-cli-py/main.py", line 89, in main
socket_request(ip_address)
File "/home/angelside/code/python/zebra-password-changer-multi-cli-py/main.py", line 55, in socket_request
sock.connect((ip_address, config['printer']['port']))
OSError: [Errno 113] No route to host
The text was updated successfully, but these errors were encountered:
I think we need one more exception for OSError. It's like we can replace TimeoutError with OSError.
It gives this error when the IP address is inaccessible (device is offline).
The text was updated successfully, but these errors were encountered: