[chirp_devel] [PATCH] Fix clone.py to not attempt to read empty ports list.
15 Jul
2011
15 Jul
'11
1:32 p.m.
Re: http://trac.chirp.danplanet.com/trac/ticket/128 IndexError bug
I said this bug was fixed in changeset:924, but it was actually just masked. If no ports are found, the IndexError still occurs.
I intended to fix this by displaying an error dialog when no ports were auto-detected, but decided to fail quietly instead. The user still has the option to manually type a port location. With this patch, CHIRP handles an empty serial port list without error. The fix prevents CHIRP from blindly attempting to read from an empty list.
Tom KD7LXL
4682
Age (days ago)
4682
Last active (days ago)
4 comments
2 participants
participants (2)
-
Dan Smith -
Tom Hayward