Am 12.01.22 um 22:14 schrieb
[email protected]:
Greetings,
I am seeing an error with Tcl/Tk 8.6.12 that was not there in the
previous version 8.6.10. It seems to be related to Tablelist. Here is
the error message. None of the quoted calls or procs are in my own code:
invalid command name "styleConfig" -errorcode NONE -errorinfo {invalid command name "styleConfig"
while executing
"styleConfig ."
(procedure "setThemeDefaults" line 14)
invoked from within
"setThemeDefaults "
(procedure "tablelist::handleThemeChangedEvent" line 45)
invoked from within
"tablelist::handleThemeChangedEvent"
("after" script)} -code 1 -level 0 -errorstack {INNER {invokeStk1 setThemeDefaults} CALL tablelist::handleThemeChangedEvent} -errorline 1
You seem to use the Tablelist package (via "package require tablelist")
rather than Tablelist_tile (via "package require tablelist_tile") and to
change the theme explicitly. This is a rather unusual combination.
OTOH, Tablelist should be able to handle it correctly, hence the bug is
in Tablelist, indeed. Many thanks for your bug report!
I will fix this bug for the next Tablelist release. In the meantime you
can either use Tablelist_tile (this is the recommended way) or (as a workaround) insert the following line after loading Tablelist:
tablelist::createTileAliases
--
Csaba Nemethi
https://www.nemethi.de mailto:
[email protected]
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)