[chirp_devel] [PATCH] [repeaterbook] Handle no channels returned error. #433

Tom Hayward
Wed Jan 16 11:42:31 PST 2013


# HG changeset patch
# User Tom Hayward <tom at tomh.us>
# Date 1358365308 28800
# Node ID 56ac23b3916508664f4170e4afe8aaaf25ab9478
# Parent  7d298d6617e8b3d4128adb3aaa6c773d6e7b5c49
[repeaterbook] Handle no channels returned error. #433

diff -r 7d298d6617e8 -r 56ac23b39165 chirpui/mainapp.py
--- a/chirpui/mainapp.py	Thu Jan 10 20:16:07 2013 -0500
+++ b/chirpui/mainapp.py	Wed Jan 16 11:41:48 2013 -0800
@@ -859,6 +859,10 @@
                                             ("query=%s\n" % query) +
                                             ("\n") +
                                             ("\n".join(radio.errors)))
+        except errors.InvalidDataError, e:
+            common.show_error(str(e))
+            self.window.set_cursor(None)
+            return
         except Exception, e:
             common.log_exception()
 



More information about the chirp_devel mailing list