From: Leeuw v. d. T. <tim...@nl...> - 2006-09-11 09:48:14
|
Hi all, I have a somewhat related question. I don't mind the error log file being created, but I'd like to suppress the box that pops up at the end of the program. In my case my program will *always* generate some sort of error on sys.stderr, because Amara XML cannot find a catalog file and prints a message about that. It's annoying that this box pops up every time the user quits the application, just for this reason. Is there a reasonably neat way to disable just that popup-box? Cheers, --Tim -----Original Message----- From: py2...@li... [mailto:py2...@li...] On Behalf Of Mark Hammond Sent: vrijdag 8 september 2006 8:07 To: 'flyaflya'; py2...@li... Subject: Re: [Py2exe-users] How to disable the error log? > When the exe program crashed, a file "xxxx.exe.log" will > be created, how to disable the log file creating? The file is only created if an exception is unhandled - so you can prevent it by creating your own exception handler that catches *all* exception, and does whatever you feel is more appropriate. [...] |