mbridak / not1mm

Not1MM != N1MM, An amateur radio contest logger for Linux.
GNU General Public License v3.0
93 stars 20 forks source link

Bandmap crashing when bandwidth returned is NONE. #17

Closed mbridak closed 1 year ago

mbridak commented 1 year ago

Hi Mike,

I'm having trouble with the bandmap window crashing on the latest version of Not1MM. It shows this in the terminal window when it crashes:

[09:09:07] WARNING bandmap - Line 754: debugging off Traceback (most recent call last): File "/home/daniel/.local/lib/python3.9/site-packages/not1mm/bandmap.py", line 308, in watch_udp self.bandwidth = int(packet.get("bw", "0")) ValueError: invalid literal for int() with base 10: 'NONE'

73, Daniel NC8R

mbridak commented 1 year ago

I believe this is resolved with https://github.com/mbridak/not1mm/commit/2b50eae4140d39830aab2cdd3e98c579fcb572c6

mbridak commented 1 year ago

confirmed.