[PyQt] QThread not forcibly terminating as expected

2012-03-02 Thread Brian Knudson
Hello all, Apologies for the lengthy mail. The last paragraph is the important one, but everything else helps explain. I'm writing a PyQt interface for a networking system (3rd party application) via its API. The 3rd party API calls don't have a configurable timeout. So that my interfac

Re: [PyQt] Problem with passing QString

2012-03-02 Thread Jarosław Białas
I found out what the problem was. In configure.py I have: # Run SIP to generate the code. os.system(" ".join([config.sip_bin, "-c", ".", "-I/usr/share/sip -I/usr/include/QtGui/ -I/usr/include/QtCore/ -t WS_X11 -t Qt_4_6_0" , "-b", I changed Qt_4_6_0 to Qt_4_7_4 and now it works. Thanks for help

Re: [PyQt] Fwd: Bug#661854: python-qt4: segfault calling family() on QFontInfo object

2012-03-02 Thread Scott Kitterman
On Friday, March 02, 2012 02:18:23 PM Phil Thompson wrote: > On Fri, 02 Mar 2012 08:30:39 -0500, Scott Kitterman > > wrote: > > This is a user reported bug. I get the same segmentation fault. I > > tried > > > the > > sample program with 4.8.5 and 4.9.1 (both python and python3) on Debian >

Re: [PyQt] Fwd: Bug#661854: python-qt4: segfault calling family() on QFontInfo object

2012-03-02 Thread Phil Thompson
On Fri, 02 Mar 2012 08:30:39 -0500, Scott Kitterman wrote: > This is a user reported bug. I get the same segmentation fault. I tried > the > sample program with 4.8.5 and 4.9.1 (both python and python3) on Debian > and > Ubuntu with the same results. > > Scott K It's a bug in the test - crea

Re: [PyQt] Problem with passing QString

2012-03-02 Thread Phil Thompson
On Fri, 2 Mar 2012 13:59:30 +0100, Jarosław Białas wrote: > Hi, > > I have a library in C++ which use opencv-2.3.1. There is a function > that open image using path to file (I am using QString because it is > easier than converting to char*). Then I use some functions to > manipulate image. Final

[PyQt] Fwd: Bug#661854: python-qt4: segfault calling family() on QFontInfo object

2012-03-02 Thread Scott Kitterman
This is a user reported bug. I get the same segmentation fault. I tried the sample program with 4.8.5 and 4.9.1 (both python and python3) on Debian and Ubuntu with the same results. Scott K -- Forwarded Message -- Subject: Bug#661854: python-qt4: segfault calling family() o

[PyQt] Problem with passing QString

2012-03-02 Thread Jarosław Białas
Hi, I have a library in C++ which use opencv-2.3.1. There is a function that open image using path to file (I am using QString because it is easier than converting to char*). Then I use some functions to manipulate image. Finally I want to show image in GUI, so I implemented function which convert

Re: [PyQt] Bug of PyQt 4.9.1?

2012-03-02 Thread zw g
Same result using regular Python. (not ipython) Any clue? On Fri, Mar 2, 2012 at 6:44 PM, Phil Thompson wrote: > On Fri, 2 Mar 2012 18:19:40 +0800, zw g wrote: > > Thanks for your reply. > > Same result with the "--gui qt" switch. > > > > Still "Segmentation fault: 11". > > > > > > On Fri,

Re: [PyQt] Bug of PyQt 4.9.1?

2012-03-02 Thread Phil Thompson
On Fri, 2 Mar 2012 18:19:40 +0800, zw g wrote: > Thanks for your reply. > Same result with the "--gui qt" switch. > > Still "Segmentation fault: 11". > > > On Fri, Mar 2, 2012 at 5:50 PM, Luca Beltrame > wrote: > >> In data venerdì 2 marzo 2012 17:45:26, zw g ha scritto: >> >> > I made a scree

Re: [PyQt] Bug of PyQt 4.9.1?

2012-03-02 Thread zw g
Thanks for your reply. Same result with the "--gui qt" switch. Still "Segmentation fault: 11". On Fri, Mar 2, 2012 at 5:50 PM, Luca Beltrame wrote: > In data venerdì 2 marzo 2012 17:45:26, zw g ha scritto: > > > I made a screenshot of the crashing window, and it was enclosed. > > Anyone help me

Re: [PyQt] Bug of PyQt 4.9.1?

2012-03-02 Thread Luca Beltrame
In data venerdì 2 marzo 2012 17:45:26, zw g ha scritto: > I made a screenshot of the crashing window, and it was enclosed. > Anyone help me? You might try first by using ipython's native support for PyQt: run it with the "--gui qt" switch. signature.asc Description: This is a digitally signed me