chiark / gitweb /
Fixed some more problems with first run wizard. Made print window X/Y/Z move buttons...
[cura.git] / Cura / gui / machineCom.py
index 73837d48adf2e3023c27714527dba26c102f9c72..6e6e7e431526660a2f75d9f9eed27bbab634c66c 100644 (file)
@@ -156,10 +156,12 @@ class MachineCom():
                                        print "Connecting to: %s %i" % (port, baudrate)
                                        programmer.connect(port)
                                        programmer.close()
+                                       time.sleep(1)
                                        self.serial = Serial(port, baudrate, timeout=2)
                                        break
-                               except ispBase.IspError:
+                               except ispBase.IspError as (e):
                                        print "Error while connecting to %s %i" % (port, baudrate)
+                                       print e
                                        pass
                                except:
                                        print "Unexpected error while connecting to serial port:" + port, sys.exc_info()[0]