Re: Catching stderr output from graphical apps

2005-08-13 Thread Bryan Olson
Robert Kern wrote: > Christopher Subich wrote: >> If you can get a cross-platform solution, please re-annoucne it; this >> sounds like a really neat module to have handy for graphical programs. > > > Look at py.io[1]. It seems to have implemented a probably-cross-platform > solution. Please

Re: Catching stderr output from graphical apps

2005-08-12 Thread Robert Kern
Christopher Subich wrote: > Bryan Olson wrote: > >>Thanks. >> >>Yeah, guess I was naive to test on Windows and expect that kind >>of process stuff to be portable. I'll be away from Linux for a >>week or so, so this will take me a while. >> >>Further bulletins as events warrant. > > If you can get

Re: Catching stderr output from graphical apps

2005-08-12 Thread Christopher Subich
Bryan Olson wrote: > > Thanks. > > Yeah, guess I was naive to test on Windows and expect that kind > of process stuff to be portable. I'll be away from Linux for a > week or so, so this will take me a while. > > Further bulletins as events warrant. If you can get a cross-platform solution, plea

Re: Catching stderr output from graphical apps

2005-08-12 Thread Bryan Olson
Thanks. Yeah, guess I was naive to test on Windows and expect that kind of process stuff to be portable. I'll be away from Linux for a week or so, so this will take me a while. Further bulletins as events warrant. -- --Bryan -- http://mail.python.org/mailman/listinfo/python-list

Re: Catching stderr output from graphical apps

2005-08-12 Thread gry
Linux -2.4.20 (x86), Python 2.3.3. I did exactly as you suggested. After the stderr.write, a window pops up with title "Error Stream from run of errorwindow.pyc". The window is otherwise blank. Nothing more happens when I do the "x=7+nosuchvariable", I just get the next python ">>>" prompt, but no

Re: Catching stderr output from graphical apps

2005-08-10 Thread Bryan Olson
gry@ll.mit.edu wrote: > Python 2.3.3, Tkinter.__version__'$Revision: 1.177 $' > > Hmm, the error window pops up with appropriate title, but contains no > text. > I stuck an unbuffered write to a log file in ErrorPipe.write and got > only one line: Traceback (most recent call last):$ > > Any

Re: Catching stderr output from graphical apps

2005-08-10 Thread gry
Python 2.3.3, Tkinter.__version__'$Revision: 1.177 $' Hmm, the error window pops up with appropriate title, but contains no text. I stuck an unbuffered write to a log file in ErrorPipe.write and got only one line: Traceback (most recent call last):$ Any idea what's wrong? -- George -- http://m

Re: Catching stderr output from graphical apps

2005-08-10 Thread Bryan Olson
Peter Hansen wrote: > Bryan Olson wrote: > >> Here's a module to show stderr output from console-less Python >> apps, and stay out of the way otherwise. I plan to make a ASPN >> recipe of it, but I thought I'd run it by this group first. > > For what it's worth, I believe you've basically du

Re: Catching stderr output from graphical apps

2005-08-10 Thread Peter Hansen
Bryan Olson wrote: > Here's a module to show stderr output from console-less Python > apps, and stay out of the way otherwise. I plan to make a ASPN > recipe of it, but I thought I'd run it by this group first. For what it's worth, I believe you've basically duplicated the functionality available

Catching stderr output from graphical apps

2005-08-09 Thread Bryan Olson
Here's a module to show stderr output from console-less Python apps, and stay out of the way otherwise. I plan to make a ASPN recipe of it, but I thought I'd run it by this group first. To use it, import the module. That's it. Upon import it will assign sys.stderr. In the normal case, your code