Does connection hold up Dire Wolf at all? #42

Open
opened 2023-12-13 12:08:40 -06:00 by W1CDN · 0 comments
Owner

Got this error and then DW stopped responding/digipeating to RF packets or logging them. But after restarting this tool (and not restarting DW), DW came back.

2023-12-13 11:42:36,332 - Parsing: W0RFP-1>APMI06,TCPIP,K0RQ-1*:T#215,188,026,015,070,127,00000000
2023-12-13 11:42:36,335 - Error with aprslib:
Traceback (most recent call last):
  File "kiss_and_db.py", line 68, in main
    a = aprslib.parse(str(frame))
  File "/home/pi/.local/lib/python3.7/site-packages/aprslib/parsing/__init__.py", line 134, in parse
    _try_toparse_body(packet_type, body, parsed)
  File "/home/pi/.local/lib/python3.7/site-packages/aprslib/parsing/__init__.py", line 167, in _try_toparse_body
    body, result = parse_thirdparty(body)
  File "/home/pi/.local/lib/python3.7/site-packages/aprslib/parsing/thirdparty.py", line 15, in parse_thirdparty
    subpacket = parse(body)
  File "/home/pi/.local/lib/python3.7/site-packages/aprslib/parsing/__init__.py", line 134, in parse
    _try_toparse_body(packet_type, body, parsed)
  File "/home/pi/.local/lib/python3.7/site-packages/aprslib/parsing/__init__.py", line 162, in _try_toparse_body
    raise UnknownFormat("Format is not supported: '{}' {}".format(packet_type, unsupported_formats[packet_type]))
aprslib.exceptions.UnknownFormat: Format is not supported: 'T' telemetry report
2023-12-13 11:44:29,349 - Ignore frame AX.25 decode error b'\x00\xa8p\xa0\xael\xa8`\x96\x84`\xaa\x8e\x8c\xe0\x82\x8aj\x8a@@\xee\xae\x92\x88\x8ab@\xe0\x96\x84`\xaa\x8e\x8c\xe6\xae\x92\x88\x8ad@\xe1\x03\xf0`|&Yl!hk/]"7h}=\r'
Traceback (most recent call last):
  File "/home/pi/.local/lib/python3.7/site-packages/aprs/position.py", line 190, in from_bytes_with_data_and_remainder
    ) = PositionFormat.Uncompressed, decode_position_uncompressed(raw[:19])
  File "/home/pi/.local/lib/python3.7/site-packages/aprs/position.py", line 31, in decode_position_uncompressed
    raise ValueError("{!r} is not an uncompressed position".format(data[:19]))
ValueError: b'hk/]"7h}=' is not an uncompressed position

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/.local/lib/python3.7/site-packages/aprs/kiss.py", line 28, in decode_frames
    yield APRSFrame.from_bytes(kiss_frame)
  File "/home/pi/.local/lib/python3.7/site-packages/ax253/frame.py", line 178, in from_bytes
    info=ax25_bytes[info_start:],
  File "<attrs generated init aprs.classes.APRSFrame>", line 8, in __init__
    _setattr('info', __attr_converter_info(info))
  File "/home/pi/.local/lib/python3.7/site-packages/aprs/classes.py", line 100, in from_any
    return cls.from_bytes(obj)
  File "/home/pi/.local/lib/python3.7/site-packages/aprs/classes.py", line 80, in from_bytes
    return PositionReport.from_bytes(found_data_type + data)
  File "/home/pi/.local/lib/python3.7/site-packages/aprs/classes.py", line 135, in from_bytes
    position, data, comment = Position.from_bytes_with_data_and_remainder(remainder)
  File "/home/pi/.local/lib/python3.7/site-packages/aprs/position.py", line 197, in from_bytes_with_data_and_remainder
    ) = PositionFormat.Compressed, decode_position_compressed(raw[:13])
  File "/home/pi/.local/lib/python3.7/site-packages/aprs/position.py", line 92, in decode_position_compressed
    long = Decimal(str(decompress_long(text[5:9])))
  File "/home/pi/.local/lib/python3.7/site-packages/aprs/position.py", line 76, in decompress_long
    return -180 + to_decimal(data) / 190463
  File "/home/pi/.local/lib/python3.7/site-packages/aprs/base91.py", line 39, in to_decimal
    raise ValueError("invalid character in sequence")
ValueError: invalid character in sequence
Got this error and then DW stopped responding/digipeating to RF packets or logging them. But after restarting this tool (and not restarting DW), DW came back. ``` 2023-12-13 11:42:36,332 - Parsing: W0RFP-1>APMI06,TCPIP,K0RQ-1*:T#215,188,026,015,070,127,00000000 2023-12-13 11:42:36,335 - Error with aprslib: Traceback (most recent call last): File "kiss_and_db.py", line 68, in main a = aprslib.parse(str(frame)) File "/home/pi/.local/lib/python3.7/site-packages/aprslib/parsing/__init__.py", line 134, in parse _try_toparse_body(packet_type, body, parsed) File "/home/pi/.local/lib/python3.7/site-packages/aprslib/parsing/__init__.py", line 167, in _try_toparse_body body, result = parse_thirdparty(body) File "/home/pi/.local/lib/python3.7/site-packages/aprslib/parsing/thirdparty.py", line 15, in parse_thirdparty subpacket = parse(body) File "/home/pi/.local/lib/python3.7/site-packages/aprslib/parsing/__init__.py", line 134, in parse _try_toparse_body(packet_type, body, parsed) File "/home/pi/.local/lib/python3.7/site-packages/aprslib/parsing/__init__.py", line 162, in _try_toparse_body raise UnknownFormat("Format is not supported: '{}' {}".format(packet_type, unsupported_formats[packet_type])) aprslib.exceptions.UnknownFormat: Format is not supported: 'T' telemetry report 2023-12-13 11:44:29,349 - Ignore frame AX.25 decode error b'\x00\xa8p\xa0\xael\xa8`\x96\x84`\xaa\x8e\x8c\xe0\x82\x8aj\x8a@@\xee\xae\x92\x88\x8ab@\xe0\x96\x84`\xaa\x8e\x8c\xe6\xae\x92\x88\x8ad@\xe1\x03\xf0`|&Yl!hk/]"7h}=\r' Traceback (most recent call last): File "/home/pi/.local/lib/python3.7/site-packages/aprs/position.py", line 190, in from_bytes_with_data_and_remainder ) = PositionFormat.Uncompressed, decode_position_uncompressed(raw[:19]) File "/home/pi/.local/lib/python3.7/site-packages/aprs/position.py", line 31, in decode_position_uncompressed raise ValueError("{!r} is not an uncompressed position".format(data[:19])) ValueError: b'hk/]"7h}=' is not an uncompressed position During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/.local/lib/python3.7/site-packages/aprs/kiss.py", line 28, in decode_frames yield APRSFrame.from_bytes(kiss_frame) File "/home/pi/.local/lib/python3.7/site-packages/ax253/frame.py", line 178, in from_bytes info=ax25_bytes[info_start:], File "<attrs generated init aprs.classes.APRSFrame>", line 8, in __init__ _setattr('info', __attr_converter_info(info)) File "/home/pi/.local/lib/python3.7/site-packages/aprs/classes.py", line 100, in from_any return cls.from_bytes(obj) File "/home/pi/.local/lib/python3.7/site-packages/aprs/classes.py", line 80, in from_bytes return PositionReport.from_bytes(found_data_type + data) File "/home/pi/.local/lib/python3.7/site-packages/aprs/classes.py", line 135, in from_bytes position, data, comment = Position.from_bytes_with_data_and_remainder(remainder) File "/home/pi/.local/lib/python3.7/site-packages/aprs/position.py", line 197, in from_bytes_with_data_and_remainder ) = PositionFormat.Compressed, decode_position_compressed(raw[:13]) File "/home/pi/.local/lib/python3.7/site-packages/aprs/position.py", line 92, in decode_position_compressed long = Decimal(str(decompress_long(text[5:9]))) File "/home/pi/.local/lib/python3.7/site-packages/aprs/position.py", line 76, in decompress_long return -180 + to_decimal(data) / 190463 File "/home/pi/.local/lib/python3.7/site-packages/aprs/base91.py", line 39, in to_decimal raise ValueError("invalid character in sequence") ValueError: invalid character in sequence ```
W1CDN added the
question
label 2023-12-13 12:08:40 -06:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: W1CDN/aprs_tool#42
No description provided.