Re: [PyQt] graphical file tail

2013-06-25 Thread Eric Frederich
Thanks David, This example works nicely. It's nice to find out what you did wrong, but I'm always open to new implementations. In fact that is what I wanted, was someone to do it their way so I could compare. I'm sure I was doing something terribly wrong but didn't want to post a "do it for me" em

Re: [PyQt] graphical file tail

2013-06-25 Thread Eric Frederich
Calling t.wait() directly after t.foo() seems to have solved the problem. I don't need to pass in self to the QTextBrowser constructor because I added it to a layout and set the layout on the TailWidget so it happens implicitly. So, if I put this t.wait() call right after the t.foo() call is there

Re: [PyQt] graphical file tail

2013-06-25 Thread David Boddie
On Mon Jun 24 20:24:25 BST 2013, Eric Frederich wrote: > I'm trying to tail several files graphically. > I have been trying to find a way to tail several files in a GUI > without much luck at all. [...] > Basically, I want to graphically tail files and when the GUI closes > the tail subprocesses

Re: [PyQt] graphical file tail

2013-06-24 Thread Eric Frederich
Thanks for the suggestions. Unfortunately I do need to use Qt 4.6.2 from RHEL 6. This will also be on an NFS mounted drive. This is for a GUI that monitors the output of jobs run on Sun Grid Engine (SGE). So its not that the files _happen_ to be on NFS, it's actually _required_ that they are :-

Re: [PyQt] graphical file tail

2013-06-24 Thread John Lee
On Mon, 24 Jun 2013, Eric Frederich wrote: I'm trying to tail several files graphically. I have been trying to find a way to tail several files in a GUI without much luck at all. I get errors from tail saying broken pipe. I get PyQt errors saying underlying C++ objects have been destroyed. I get

[PyQt] graphical file tail

2013-06-24 Thread Eric Frederich
I'm trying to tail several files graphically. I have been trying to find a way to tail several files in a GUI without much luck at all. I get errors from tail saying broken pipe. I get PyQt errors saying underlying C++ objects have been destroyed. I get other Qt errors saying that threads are still