Dec-21-2018, 09:34 PM
Thanks for your input,
Noting change, still no being resolve. I still have this issue and this warning.
Warning (from warnings module):
File "/usr/lib/python3.5/getpass.py", line 63
passwd = fallback_getpass(prompt, stream)
GetPassWarning: Can not control echo on the terminal.
Warning: Password input may be echoed.
Traceback (most recent call last):
File "/home/lab-station/pyp/Backup Script/telnetbu.py", line 20, in <module>
tn = telnetlib.Telnet(HOST, 23, 5)
File "/usr/lib/python3.5/telnetlib.py", line 218, in __init__
self.open(host, port, timeout)
File "/usr/lib/python3.5/telnetlib.py", line 234, in open
self.sock = socket.create_connection((host, port), timeout)
File "/usr/lib/python3.5/socket.py", line 693, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
File "/usr/lib/python3.5/socket.py", line 732, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known
Noting change, still no being resolve. I still have this issue and this warning.
Warning (from warnings module):
File "/usr/lib/python3.5/getpass.py", line 63
passwd = fallback_getpass(prompt, stream)
GetPassWarning: Can not control echo on the terminal.
Warning: Password input may be echoed.
Traceback (most recent call last):
File "/home/lab-station/pyp/Backup Script/telnetbu.py", line 20, in <module>
tn = telnetlib.Telnet(HOST, 23, 5)
File "/usr/lib/python3.5/telnetlib.py", line 218, in __init__
self.open(host, port, timeout)
File "/usr/lib/python3.5/telnetlib.py", line 234, in open
self.sock = socket.create_connection((host, port), timeout)
File "/usr/lib/python3.5/socket.py", line 693, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
File "/usr/lib/python3.5/socket.py", line 732, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known