|| Tkinter - filedialog - begginer got stuck || Qt: Untested Windows version 10.0 detected! ||

Firstly I would like to say hello!
I’m new in GitHub community and I hope I’ll stay for some time :slight_smile:

I’ve been learning python for 2 months or so and I decided to learn Tkinter dictionery a little.

I would like someone to give me a hand I got stuck.
While I’m running the program the error appears:

Qt: Untested Windows version 10.0 detected!
log4cplus:ERROR No appenders could be found for logger (AdSyncNamespace).
log4cplus:ERROR Please initialize the log4cplus system properly.
Qt: Untested Windows version 10.0 detected!
log4cplus:ERROR No appenders could be found for logger (AdSyncNamespace).
log4cplus:ERROR Please initialize the log4cplus system properly.
Qt: Untested Windows version 10.0 detected!
log4cplus:ERROR No appenders could be found for logger (AdSyncNamespace).
log4cplus:ERROR Please initialize the log4cplus system properly.
Qt: Untested Windows version 10.0 detected!
log4cplus:ERROR No appenders could be found for logger (AdSyncNamespace).
log4cplus:ERROR Please initialize the log4cplus system properly.
Qt: Untested Windows version 10.0 detected!
log4cplus:ERROR No appenders could be found for logger (AdSyncNamespace).
log4cplus:ERROR Please initialize the log4cplus system properly.
Qt: Untested Windows version 10.0 detected!
log4cplus:ERROR No appenders could be found for logger (AdSyncNamespace).
log4cplus:ERROR Please initialize the log4cplus system properly.
Qt: Untested Windows version 10.0 detected!
log4cplus:ERROR No appenders could be found for logger (AdSyncNamespace).
log4cplus:ERROR Please initialize the log4cplus system properly.
Qt: Untested Windows version 10.0 detected!
log4cplus:ERROR No appenders could be found for logger (AdSyncNamespace).
log4cplus:ERROR Please initialize the log4cplus system properly.

from tkinter import *
from PIL import ImageTk, Image
import os

from tkinter import filedialog

os.chdir(os.path.dirname(os.path.abspath( __file__ )))
(filepath, filename) = os.path.split( __file__ )
d = os.getcwd()

list_of_files = []

for f in os.listdir(d):
    if os.path.isfile(os.path.join(d, f)):
        (sn, et) = os.path.splitext(os.path.join(d, f))
        if et == ".jpg":
            list_of_files.append(f)
print(list_of_files)

root = Tk()
root.title("Open Files / Dialog Box")
root.iconbitmap("ikona.ico")

root.filename = filename = filedialog.askopenfilename(
    initialdir=d,
    title="Select a File!",
    filetypes=(
        ("jpg files", "*.jpg"),
        ("all files", "*.*")
    )
)



mainloop()

Program is still running but doesn’t work properly, I can’t open any file.
I found information that it can be caused by autodesk, but I don’t want to sacrefice it.
Any Ideas guys?

I can confirm that after unistalling all autodesk package program started work correctly.