I recently installed CoolTerm and am trying to use its Python functionality. After installing CoolTerm, I found the python examples in the "Scripting" folder in CoolTermMac.dmg. I moved these to a different location and moved the CoolTerm.py file into the same folder as the example .py files (I did this because otherwise I would get the error "CoolTerm module not found". After running Introduction.py, I get the following error:
Code: Select all
ERROR: Could not connect to CoolTerm Traceback (most recent call last): File "/Users/caleb/tempPain/Examples/Example 1 - Introduction.py", line 11, in <module> count = s.WindowCount() File "/Users/caleb/tempPain/Examples/CoolTerm.py", line 324, in WindowCount return self.GetWindowCount() File "/Users/caleb/tempPain/Examples/CoolTerm.py", line 317, in GetWindowCount Response = self._SendPacket(Packet) File "/Users/caleb/tempPain/Examples/CoolTerm.py", line 229, in _SendPacket self.skt.sendall(Packet) BrokenPipeError: [Errno 32] Broken pipe
Any help would be greatly appreciated.