Re: [patch] Give feedback if TeXFiles.py fails

2006-08-08 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> The recent reports on the users list showed that we do not give Georg> feedback if TeXFiles.py fails. IMO we should do this, and the Georg> attached patch implements that. With this patch I get an error Georg> dialog for the reported e

Re: [patch] Give feedback if TeXFiles.py fails

2006-07-19 Thread Georg Baum
Bo Peng wrote: >> It would be even better to capture stderr of the script >> and show that in the error dialog, too, but we are currently not able to >> do that. >> Comments? OK to go in? > > This is fine to me. It is now in. Georg Log: Give feedback if TeXFiles.py fails * src/fronte

Re: [patch] Give feedback if TeXFiles.py fails

2006-07-18 Thread Georg Baum
Bo Peng wrote: > As of error messages, I am not sure how startscript handles output (or > does not do it at all). It does not handle it at all. > It is possible to wrap the python script and > direct its output to a log file like this: > > try1.py: > print 'ab' > > try2.py > import sys > err

Re: [patch] Give feedback if TeXFiles.py fails

2006-07-17 Thread Bo Peng
It would be even better to capture stderr of the script and show that in the error dialog, too, but we are currently not able to do that. Comments? OK to go in? This is fine to me. As of error messages, I am not sure how startscript handles output (or does not do it at all). It is possible to w

[patch] Give feedback if TeXFiles.py fails

2006-07-17 Thread Georg Baum
The recent reports on the users list showed that we do not give feedback if TeXFiles.py fails. IMO we should do this, and the attached patch implements that. With this patch I get an error dialog for the reported encoding problem. It would be even better to capture stderr of the script and show