Closed jaredd closed 4 years ago
I realize I'm muddying up this PR but I also found that the sbs1 message was not converted to bytes prior to sending which crashed the modes_rx app when a client connected to the sbs1 server. Quick fix seems to work. This seems just another python2 to python3 issue that hadn't been ported yet.
Thanks Jared. I don't have an SBS1 here to test with, so that's especially appreciated.
Thanks Jared. I don't have an SBS1 here to test with, so that's especially appreciated.
To be clear, I didn't test the validity of the SBS1 message strings, I only corrected the TypeError (if I recall the exception type) that resulted when I tried to connect to the SBS1 server port. I simply ran nc and output the message strings, which seemed reasonable after the fix.
The issue this PR addresses was outlined in #108 . Incidentally, I do not have GR 3.8.2 as in the OP but GR 3.8.1.0-1 from the testing repository channel in Debian Buster. These minor changes fix a recurring SyntaxWarning with screen output as well as the crash due to RuntimeError.