Re: [PyQt] PyQt4 window not properly closing with signals From.close

2012-06-11 Thread Ganesh Kumar
Hi David, Thanks man, I learn some new thing from yours, I got some idea. thanks helping out. I followed you have mentioned tutorials links it's very useful to me. -Ganesh. Did I learn something today? If not, I wasted it. On Tue, Jun 12, 2012 at 1:09 AM, David Boddie wrote: > On Mon, 11 Jun

Re: [PyQt] PyQt4 window not properly closing with signals From.close

2012-06-11 Thread David Boddie
On Mon, 11 Jun 2012 15:45:53 +0530, Ganesh Kumar wrote: > I am new to pyqt, I try two qt designer files one is main window > second sub window, > Load main window click button open new window > user clicks exit on that window close sub window return to main window > I am tried with Form.close , w

Re: [PyQt] multiprocessing with QApplication

2012-06-11 Thread Jeremy Sanders
Luke Campagnola wrote: > I agree with you about the multiprocessing package--I really only use it > for the ease of passing python objects between processes. (I use > multiprocessing.Pipe(), which I believe uses the Listener/Client system > you mentioned). I'll definitely try using this with subpr

Re: [PyQt] multiprocessing with QApplication

2012-06-11 Thread Luke Campagnola
Thanks, Kovid! I had no idea multiprocessing uses fork(); this explains everything. It also seems there is no way to get rid of the copied QApplication after forking. There is a patch to allow forkless-multiprocessing on unix, but I think it might be for python 3 only. On Mon, Jun 11, 2012 at 1:15

Re: [PyQt] multiprocessing with QApplication

2012-06-11 Thread Kovid Goyal
Don't use multiprocessing. multiprocessing is not thread safe, on unix it uses fork() without exec() which means that it inherits *everything* from the parent process including locks (which are in an invalid state in the child process), file handles, global objects like QApplication and so on. Just

[PyQt] multiprocessing with QApplication

2012-06-11 Thread Luke Campagnola
Howdy, I am trying to use multiprocessing in a PyQt application to spawn an extra process with its own GUI. The problem I am running into is that the child process seems to be instantiated with a broken QApplication instance that causes the child to crash. If I understand multiprocessing correctly

[PyQt] PyQt4 window not properly closing with signals From.close

2012-06-11 Thread Ganesh Kumar
Hi Guys, I am new to pyqt, I try two qt designer files one is main window second sub window, Load main window click button open new window user clicks exit on that window close sub window return to main window I am tried with Form.close , window.deletelater Not working for me. I have attached my

[PyQt] Pyqt for embedded Board

2012-06-11 Thread Ganesh Kumar
Hi Guys, I have developed one small application, It's tested working good in x86 processor. My target run this application on embedded board, BeagleBoard Devkit-8000 model. I have installed debian squeeze, python and pyqt library. I have copied source the embedded board, it's though segmentation f