[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] catching exceptions and PyQt
From: "Daniel Eichler" <kugelfischtempura () googlemail ! com>
Date: 2008-09-19 13:46:23
Message-ID: 86d785c40809190646v269c2bc1r397d51fe93aa1d2d () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
2008/9/18 Wim Verhavert <wim.verhavert@gmail.com>
I'm not an expert on this but I have done something like this in the past:
>
> def excepthook(excType, excValue, tracebackobj):
> # do here the things you want when an uncaught exception occurs
> pass
>
Unfortunaly, this does'nt catch the original-exception. Is there way to get
around the PyQt-Standarderror and access the real exception?
[Attachment #5 (text/html)]
<div dir="ltr"><br><br><div class="gmail_quote">2008/9/18 Wim Verhavert <span \
dir="ltr"><<a href="mailto:wim.verhavert@gmail.com" \
target="_blank">wim.verhavert@gmail.com</a>></span><br><br><blockquote \
class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt \
0pt 0.8ex; padding-left: 1ex;">
I'm not an expert on this but I have done something like this in the past:<br>
<br>
def excepthook(excType, excValue, tracebackobj):<br>
# do here the things you want when an uncaught exception occurs<br>
pass<br>
</blockquote></div><br>Unfortunaly, this does'nt catch the original-exception. Is \
there way to get around the PyQt-Standarderror and access the real \
exception?<br></div>
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic