aprs icon indicating copy to clipboard operation
aprs copied to clipboard

TypeError: unsupported operand type(s) for +: 'Frame' and 'bytes'

Open ampledata opened this issue 8 years ago • 1 comments

2017-10-11 11:35:26,856 aprs INFO aprs.classes.start:304 - Connect To 129.15.108.112:14580
2017-10-11 11:35:27,022 aprs INFO aprs.classes.start:311 - Connect Result "b'# aprsc 2.1.4-g408ed49'"
2017-10-11 11:35:27,024 aprs INFO aprs.classes.start:315 - Auth To 129.15.108.112:14580
2017-10-11 11:35:27,099 aprs INFO aprs.classes.start:323 - Auth Result "b'# logresp W2GMD verified, server FOURTH'"
W2GMD>APRS:>Hello World!
2017-10-11 11:35:27,100 aprs INFO aprs.classes.send:340 - Sending frame="W2GMD>APRS:>Hello World!"
Traceback (most recent call last):
  File "aprscmd.py", line 10, in <module>
    a.send(frame)
  File "/Users/gba/p/undef.net/aprs/aprs/classes.py", line 343, in send
    _frame = bytes(frame + b'\n\r')
TypeError: unsupported operand type(s) for +: 'Frame' and 'bytes'

ampledata avatar Oct 11 '17 18:10 ampledata

I submitted a fix

#24

budude2 avatar Nov 22 '17 21:11 budude2