[Eric] Error log

"ΑΝΤΩΝΗΣ ΜΠΟΥΝΤΟΥΒΑΣ" aboudouvas at vodafone.net.gr
Thu Aug 23 13:47:55 BST 2007


Yes, i got this message too but it gives absolutely no info about what went wrong.
Imagine to have a very complex project to terminate with this message...


-----Original Message-----
From: eric-bounces at riverbankcomputing.com [mailto:eric-bounces at riverbankcomputing.com] On Behalf Of Juergen Urner
Sent: Thursday, August 23, 2007 2:25 PM
To: eric-mailing-list
Subject: Re: [Eric] Error log.

ΑΝΤΩΝΗΣ ΜΠΟΥΝΤΟΥΒΑΣ wrote:
> Hi,
>
> i have this code, (using Eric4, latest snapshot):
>
> import sys
> from PyQt4 import QtGui, QtCore
>
> #app = QtGui.QApplication(sys.argv)
>
> workspace = QtGui.QWorkspace()
> workspace.setWindowTitle("example")
>
> for i in range(5):
>     textEdit = QtGui.QTextEdit()
>     textEdit.setPlainText("PyQt4 " * 100)
>     textEdit.setWindowTitle("Document %i" % i)
>     workspace.addWindow(textEdit)
>
> workspace.cascade()
> workspace.show()
>
> sys.exit(app.exec_())
> -----------------------------------------
>
> I have intensionally comment  the line "app = QtGui.QApplication(sys.argv)" so to trigger an error.
> I hit F5 (debug project), I have open the Log viewer and the shell but the error does not displayed anywhere.
> I run the same snippet in Eclipse and i get "QWidget: Must construct a QApplication before a QPaintDevice"
>
> So, how i can see in Eric4 errors like the mentioned one ??
>
> Thanks!
>
>   
At least I get a message box saying:
"The programm being debugged has terminated unexpectedly"

Debug Client Type = Standard

Jurgen





_______________________________________________
Eric mailing list
Eric at riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/eric




More information about the Eric mailing list