Skip to content

_tkinter.TclError: missing close-brace #1

@WK-GiHu

Description

@WK-GiHu

The command that is causing the error is os.environ.get("TKTABLE_LIBRARY") returning a None value.

No, using "TKTABLE_LIBRARY" is optional, to point to the library.
But for your issue, it's worth to try and use it.
Look at Line 134, there is a comment warning about TclError: table


File "C:\...AppData\Local\Programs\Python\Python37-32\Lib\lib-tk\tktable.py", line 126, in __init__ 
'global auto_path; lappend auto_path {%s}' % tktable_lib) 
_tkinter.TclError: missing close-brace
        master.tk.eval(
           'global auto_path; lappend auto_path {%s}' % tktable_lib)

Braces are there…. Any ideas?

Without knowing the value of tkable_lib can't tell anything.
Add a print(tkable_lib) before line 126.

Please, remember to delete the SO Answer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions