15 Jul
2011
15 Jul
'11
11:32 a.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