C:\Python36\python.exe C:/Users/vsriram1/PycharmProjects/IBM_PC_Connection/connectivity.py
[WinError 10061] No connection could be made because the target machine actively refused it
[WinError 10061] No connection could be made because the target machine actively refused it
[WinError 10061] No connection could be made because the target machine actively refused it
[WinError 10061] No connection could be made because the target machine actively refused it
[WinError 10061] No connection could be made because the target machine actively refused it
[WinError 10061] No connection could be made because the target machine actively refused it
[WinError 10061] No connection could be made because the target machine actively refused it
[WinError 10061] No connection could be made because the target machine actively refused it
[WinError 10061] No connection could be made because the target machine actively refused it
[WinError 10061] No connection could be made because the target machine actively refused it
[WinError 10061] No connection could be made because the target machine actively refused it
[WinError 10061] No connection could be made because the target machine actively refused it
[WinError 10061] No connection could be made because the target machine actively refused it
[WinError 10061] No connection could be made because the target machine actively refused it
[WinError 10061] No connection could be made because the target machine actively refused it
Traceback (most recent call last):
File "C:/Users/vsriram1/PycharmProjects/IBM_PC_Connection/connectivity.py", line 13, in <module>
em.fill_field(10, 26, 'rauihq5', 7)
File "C:\Python36\lib\site-packages\py3270-0.3.5-py3.6.egg\py3270\__init__.py", line 493, in fill_field
self.move_to(ypos, xpos)
File "C:\Python36\lib\site-packages\py3270-0.3.5-py3.6.egg\py3270\__init__.py", line 397, in move_to
self.exec_command("MoveCursor({0}, {1})".format(ypos, xpos).encode("ascii"))
File "C:\Python36\lib\site-packages\py3270-0.3.5-py3.6.egg\py3270\__init__.py", line 308, in exec_command
c.execute()
File "C:\Python36\lib\site-packages\py3270-0.3.5-py3.6.egg\py3270\__init__.py", line 68, in execute
self.app.write(self.cmdstr + b"\n")
File "C:\Python36\lib\site-packages\py3270-0.3.5-py3.6.egg\py3270\__init__.py", line 239, in write
self.socket_fh.flush()
File "C:\Python36\lib\socket.py", line 604, in write
return self._sock.send(b)
OSError: [WinError 10057] A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied
Exception ignored in: <bound method Emulator.__del__ of <py3270.Emulator object at 0x006715F0>>
Traceback (most recent call last):
File "C:\Python36\lib\site-packages\py3270-0.3.5-py3.6.egg\py3270\__init__.py", line 285, in __del__
File "C:\Python36\lib\site-packages\py3270-0.3.5-py3.6.egg\py3270\__init__.py", line 323, in terminate
File "C:\Python36\lib\site-packages\py3270-0.3.5-py3.6.egg\py3270\__init__.py", line 308, in exec_command
File "C:\Python36\lib\site-packages\py3270-0.3.5-py3.6.egg\py3270\__init__.py", line 68, in execute
File "C:\Python36\lib\site-packages\py3270-0.3.5-py3.6.egg\py3270\__init__.py", line 239, in write
File "C:\Python36\lib\socket.py", line 604, in write
OSError: [WinError 10057] A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied
Process finished with exit code 1
Thanks in advance.