Пример #1
0
 def run(self):
     try:
         dbbuilder.build()
         self.emit(SIGNAL("buildsuccess()"))
     except Exception, e:
         log.exception("Suppressed exception in database build process")
         self.emit(SIGNAL("buildfailure(PyQt_PyObject)"), sys.exc_info())
Пример #2
0
 def run(self):
     # NB: do not use suppressexceptions because throwing an exception at this point
     # can cause segfaults in PyQt4 -- we better suppress the exception for developers too!
     try:
         dbbuilder.build()
         self.emit(SIGNAL("buildsuccess()"))
     except:
         log.exception("Suppressed exception in database build process")
         self.emit(SIGNAL("buildfailure(PyQt_PyObject)"), sys.exc_info())
Пример #3
0
 def run(self):
     try:
         dbbuilder.build()
         self.emit(SIGNAL("buildsuccess()"))
     except Exception, e:
         log.exception(
             "Suppressed exception in database build process")
         self.emit(SIGNAL("buildfailure(PyQt_PyObject)"),
                   sys.exc_info())
Пример #4
0
 def run(self):
     # NB: do not use suppressexceptions because throwing an exception at this point
     # can cause segfaults in PyQt4 -- we better suppress the exception for developers too!
     try:
         dbbuilder.build()
         self.emit(SIGNAL("buildsuccess()"))
     except:
         log.exception(
             "Suppressed exception in database build process")
         self.emit(SIGNAL("buildfailure(PyQt_PyObject)"),
                   sys.exc_info())