pyqt - IPython GUI event loop exception hook -


Is it possible to get the notification of the exception, which happens during the internal GUI-event-loop of the epithon? Here is an example where an exception is raised but the user is not displayed.

: Def __init __ (self): QtGui.QDialog .__ init __ (self) self.timer = QtCore.QTimer () self.timer.timeout.connect (self.timeout) self.timer.start (1000) self.show () def timeout (self): "Exception before" print exception ("Do you see me are you? ") after the print" exception "w = TestDialog ()

on IPython console follows:

 % GUI qt runfile ( 'minimum. Py ')  

Output is:

  Before the exception before the exception. .  

My system configuration:

  win-64 Python 2.7 ipathon 2.1.0  

< / Html>

Comments

Popular posts from this blog

winforms - C# Form - Property Change -

java - Messages from .properties file do not display UTF-8 characters -

javascript - amcharts makechart not working -