Re: [PyQt] Problem catching exception from SIP-wrapped function

2009-09-24 Thread Phil Thompson
On Thu, 24 Sep 2009 20:05:06 +0200, Arve Knudsen wrote: > Hi Phil > > On Wed, Sep 23, 2009 at 9:43 PM, Phil Thompson > wrote: > >> On Tue, 22 Sep 2009 20:28:09 +0200, Arve Knudsen >> wrote: >> > On Tue, Sep 22, 2009 at 7:27 PM, Phil Thompson >> > wrote: >> > >> >> On Tue, 22 Sep 2009 19:17:12 +

Re: [PyQt] Problem catching exception from SIP-wrapped function

2009-09-24 Thread Arve Knudsen
Hi Phil On Wed, Sep 23, 2009 at 9:43 PM, Phil Thompson wrote: > On Tue, 22 Sep 2009 20:28:09 +0200, Arve Knudsen > wrote: > > On Tue, Sep 22, 2009 at 7:27 PM, Phil Thompson > > wrote: > > > >> On Tue, 22 Sep 2009 19:17:12 +0200, Arve Knudsen > > >> wrote: > >> > On Tue, Sep 22, 2009 at 6:28 PM,

Re: [PyQt] Problem catching exception from SIP-wrapped function

2009-09-23 Thread Phil Thompson
On Tue, 22 Sep 2009 20:28:09 +0200, Arve Knudsen wrote: > On Tue, Sep 22, 2009 at 7:27 PM, Phil Thompson > wrote: > >> On Tue, 22 Sep 2009 19:17:12 +0200, Arve Knudsen >> wrote: >> > On Tue, Sep 22, 2009 at 6:28 PM, Phil Thompson >> > wrote: >> > >> >> On Mon, 21 Sep 2009 18:40:35 +0200, Arve Kn

Re: [PyQt] Problem catching exception from SIP-wrapped function

2009-09-22 Thread Arve Knudsen
On Tue, Sep 22, 2009 at 7:27 PM, Phil Thompson wrote: > On Tue, 22 Sep 2009 19:17:12 +0200, Arve Knudsen > wrote: > > On Tue, Sep 22, 2009 at 6:28 PM, Phil Thompson > > wrote: > > > >> On Mon, 21 Sep 2009 18:40:35 +0200, Arve Knudsen > > >> wrote: > >> > Hi > >> > > >> > I have run into this pro

Re: [PyQt] Problem catching exception from SIP-wrapped function

2009-09-22 Thread Arve Knudsen
Sorry, don't know how the last mail got sent twice. Arve On Tue, Sep 22, 2009 at 8:28 PM, Arve Knudsen wrote: > On Tue, Sep 22, 2009 at 7:27 PM, Phil Thompson < > p...@riverbankcomputing.com> wrote: > >> On Tue, 22 Sep 2009 19:17:12 +0200, Arve Knudsen >> wrote: >> > On Tue, Sep 22, 2009 at 6:2

Re: [PyQt] Problem catching exception from SIP-wrapped function

2009-09-22 Thread Arve Knudsen
On Tue, Sep 22, 2009 at 7:27 PM, Phil Thompson wrote: > On Tue, 22 Sep 2009 19:17:12 +0200, Arve Knudsen > wrote: > > On Tue, Sep 22, 2009 at 6:28 PM, Phil Thompson > > wrote: > > > >> On Mon, 21 Sep 2009 18:40:35 +0200, Arve Knudsen > > >> wrote: > >> > Hi > >> > > >> > I have run into this pro

Re: [PyQt] Problem catching exception from SIP-wrapped function

2009-09-22 Thread Phil Thompson
On Tue, 22 Sep 2009 19:17:12 +0200, Arve Knudsen wrote: > On Tue, Sep 22, 2009 at 6:28 PM, Phil Thompson > wrote: > >> On Mon, 21 Sep 2009 18:40:35 +0200, Arve Knudsen >> wrote: >> > Hi >> > >> > I have run into this problem where a C++ exception is not correctly >> > translated into Python on L

Re: [PyQt] Problem catching exception from SIP-wrapped function

2009-09-22 Thread Arve Knudsen
On Tue, Sep 22, 2009 at 6:28 PM, Phil Thompson wrote: > On Mon, 21 Sep 2009 18:40:35 +0200, Arve Knudsen > wrote: > > Hi > > > > I have run into this problem where a C++ exception is not correctly > > translated into Python on Linux (it works under VC++ on Windows). The > > exception is apparentl

Re: [PyQt] Problem catching exception from SIP-wrapped function

2009-09-22 Thread Phil Thompson
On Mon, 21 Sep 2009 18:40:35 +0200, Arve Knudsen wrote: > Hi > > I have run into this problem where a C++ exception is not correctly > translated into Python on Linux (it works under VC++ on Windows). The > exception is apparently not caught as it should, but looking at the > SIP-generated source

[PyQt] Problem catching exception from SIP-wrapped function

2009-09-21 Thread Arve Knudsen
Hi I have run into this problem where a C++ exception is not correctly translated into Python on Linux (it works under VC++ on Windows). The exception is apparently not caught as it should, but looking at the SIP-generated sourcecode I cannot see why (there is a try/catch block for the exception).