Tkinter Error ?

Hey Community :slight_smile:,
I know, that Tkinter has its own Community to ask such questions, but it seems, that this error only occurs, when using the Panda3d Tkinter “version”. I don’t know if it’s a mistake in the code, or just a bug.

When using

tkSimpleDialog.askstring("TITLE", "HEY TYPE SOMETHING")

(Should open a Dialog with an Entry Field)

this error occurs:

Traceback (most recent call last):
  File "C:/Users/Daniel/Google Drive/Game Engine/Geometry/GeometryMain.py", line 24, in <module>
    Engine().run()
  File "C:/Users/Daniel/Google Drive/Game Engine/Geometry/GeometryMain.py", line 19, in __init__
    self.ui = GeoUI.UI(self)
  File "C:\Users\Daniel\Google Drive\Game Engine\Geometry\engine\GeoUI.py", line 14, in __init__
    tkSimpleDialog.askstring("TITLE", "HEY TYPE SOMETHING")
  File "C:\Panda3D-1.9.3\python\lib\lib-tk\tkSimpleDialog.py", line 313, in askstring
    d = _QueryString(title, prompt, **kw)
  File "C:\Panda3D-1.9.3\python\lib\lib-tk\tkSimpleDialog.py", line 291, in __init__
    _QueryDialog.__init__(self, *args, **kw)
  File "C:\Panda3D-1.9.3\python\lib\lib-tk\tkSimpleDialog.py", line 189, in __init__
    Dialog.__init__(self, parent, title)
  File "C:\Panda3D-1.9.3\python\lib\lib-tk\tkSimpleDialog.py", line 47, in __init__
    Toplevel.__init__(self, parent)
  File "C:\Panda3D-1.9.3\python\lib\lib-tk\Tkinter.py", line 2142, in __init__
    self.title(root.title())
TypeError: 'str' object is not callable

Process finished with exit code 1

It seams to be a problem in the Toplevel class.
They want to call a string like a function?
Is this a mistake in the code or am I just using it the wrong way?
Is Tkinter not installed properly?

Yes, I do think this is a really annoying tkInter error.
I’m also experiencing it.
Did you manage to solve it?