I am developing a python tkinter application using PyCharm 2017.1.2 Community Edition
and package the SW with pyinstaller 3.2.1
.
During application run-time, from time to time (didn't find the root cause event yet) i get this info/warning messages into the running console.
D_Lib: debug printing for files [.*] and level [100] is turned on
D_Lib: debug printing for files [.*] and level [200] is turned on
D_Lib: debug printing for files [.*] and level [300] is turned on
17004:vf_shex.cpp(84): INFO: DllCanUnloadNow returned S_OK.
This can be seen within PyCharm
console (Both in Debug and Run modes), and while executing the pyinstaller
exe file, at the windows cmd shell.
How to remove/disable these lines?
EDIT
I've read the error when calling QtGui.QFileDialog.getExistingDirectory post - it identifies ViewFinity agent SW installation as prime suspect for changing default dialogs behavior. While ViewFinity agent is indeed installed on my machine, i can't remove it (IT restriction).
Is there a way to disable the usage of Native dialog box (as suggested in the other post for Qt
) in tkinter
? (i couldn't find such)
I presume you're opening a file in Tkinter
? According to this this question, Tkinter
will natively use the file dialogs of the system if they're available:
when there is a native file dialog on the operating system,
tk_getSaveFile
uses them (e.g.GetSaveFileName
is used on Windows). It could be possible to add widgets there, but not without tampering with C sources of Tk.
But Viewfinity
alters those native file dialogs according to this question.
Unless you can come up with some other way of accessing files that isn't through Tkinter
's tkFileDialog
in your application, you're stuck having those info/warning messages on your system when the app is run there.