I have some warning which pop up on the console when I run my app and would
like to redirect these to either /dev/null or to a log file under /tmp.
I've tried:
if sys.platform == "linux2":
sys.stdout = open('/tmp/InstrumentationBrowser.log', 'w')
sys.stderr = sys.stdout
Unfortunately I still see the warnings:
$ InstrumentationBrowser ~/BB.dat &
[2] 35873
[1] Done InstrumentationBrowser ~/BB.dat
$
(InstrumentationBrowser:35875): Gtk-WARNING **: 11:43:08.556: Could not
load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be
found.
$
Is there anything in pyinstaller which may help me?
thanks!!!
-Jim.
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/pyinstaller/a5905fc3-7c20-497d-8a4d-9209b93621cb%40googlegroups.com.