This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients Pat Thoyts, patthoyts, serhiy.storchaka, terry.reedy
Date 2020-11-14.23:57:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1605398251.94.0.201698497647.issue42328@roundup.psfhosted.org>
In-reply-to
Content
Verified
Traceback (most recent call last):
  File "F:\Python\a\tem4.py", line 5, in <module>
    style.map('Custom.TNotebook.Tab', **style.map('TNotebook.Tab'))
  File "C:\Program Files\Python310\lib\tkinter\ttk.py", line 403, in map
    self.tk.call(self._name, "map", style, *_format_mapdict(kw)),
  File "C:\Program Files\Python310\lib\tkinter\ttk.py", line 111, in _format_mapdict
    _format_optvalue(_mapdict_values(value), script)))
  File "C:\Program Files\Python310\lib\tkinter\ttk.py", line 85, in _mapdict_values
    state[0] # raise IndexError if empty
IndexError: list index out of range
>>> 

PS. Pat, please don't indent code that someone might reasonably copy and paste to run.
History
Date User Action Args
2020-11-14 23:57:31terry.reedysetrecipients: + terry.reedy, serhiy.storchaka, Pat Thoyts, patthoyts
2020-11-14 23:57:31terry.reedysetmessageid: <1605398251.94.0.201698497647.issue42328@roundup.psfhosted.org>
2020-11-14 23:57:31terry.reedylinkissue42328 messages
2020-11-14 23:57:31terry.reedycreate