OpenMarine
Problem with kplex TCP or UDP out - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: Bug Reports (https://forum.openmarine.net/forumdisplay.php?fid=4)
+--- Thread: Problem with kplex TCP or UDP out (/showthread.php?tid=3601)



Problem with kplex TCP or UDP out - kste - 2021-08-28

I tried to use the same configuration with Openplotter 2 that I used in the past with the previous version, the one I indicated here:
https://forum.openmarine.net/showthread.php?tid=753
Unfortunately it doesn't seem to work and gives me errors. this is the screen if I perform diagnosis from the terminal:

Code:
pi@ET:~ $ openplotter-kplex
No Inputs!
Traceback (most recent call last):
 File "/usr/lib/python3/dist-packages/openplotterKplex/diagnostic-NMEA.py", line 108, in connect
   self.s2.connect(("localhost", port))
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
 File "/usr/lib/python3/dist-packages/openplotterKplex/diagnostic-NMEA.py", line 120, in timer_act
   self.connect()
 File "/usr/lib/python3/dist-packages/openplotterKplex/diagnostic-NMEA.py", line 112, in connect
   self.status= _('Failed to connect with localhost:10113. Error: ').decode('utf8')+ str(error_msg[0])+_(', trying to reconnect...')
AttributeError: 'str' object has no attribute 'decode'