Skip to content

_tkinter.TclError: wrong # args: should be "wm iconbitmap window ?bitmap?" #1

@jayvdb

Description

@jayvdb

From what I read on stackoverflow , this might need an .xbm on Unix

Traceback (most recent call last):
  File "main.py", line 5, in <module>
    app = gui.main()
  File "postgres-gui/gui.py", line 20, in __init__
    tk.Tk.iconbitmap(self, default='./icons/now-black.ico')
  File "/usr/lib64/python3.8/tkinter/__init__.py", line 2069, in wm_iconbitmap
    return self.tk.call('wm', 'iconbitmap', self._w, '-default', default)
_tkinter.TclError: wrong # args: should be "wm iconbitmap window ?bitmap?"

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