Comment 7 for bug 929092

Revision history for this message
James M. Leddy (jm-leddy) wrote :

I'm having trouble reproducing, in any event, something like this should fix it

diff -c /home/james/src/ubiquity/ubiquity/plugins/ubi-wireless.py /tmp/buffer-content-30623O6g
--- /home/james/src/ubiquity/ubiquity/plugins/ubi-wireless.py 2012-03-19 13:47:23.602061000 -0400
+++ /tmp/buffer-content-30623O6g 2012-06-14 12:17:18.309495838 -0400
@@ -131,7 +131,10 @@
     def plugin_on_next_clicked(self):
         frontend = self.controller._wizard
         if frontend.next.get_label() == self.connect_text:
- self.nmwidget.connect_to_ap()
+ try:
+ self.nmwidget.connect_to_ap()
+ except dbus.DBusException:
+ return False
             return True
         else:
             frontend.connecting_spinner.hide()

Diff finished. Thu Jun 14 12:17:18 2012