• Error with Tcl8.6.12 and Tablelist

    From saitology9@gmail.com@21:1/5 to All on Wed Jan 12 16:14:21 2022
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Christian Gollwitzer@21:1/5 to All on Wed Jan 12 22:18:55 2022
    Am 12.01.22 um 22:14 schrieb saitology9@gmail.com:
    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"

    Quick question: Are you on macOS by chance? I had similar strange issues
    with tablelist on macOS, when the columns are changed. It works with
    8.6.11 but fails with 8.6.12, eventually leading to segfaults. There
    seems to be some change which leads to "update" being called
    unexpectedly. I'm trying to pinpoint it, but it is very hard to debug.
    Csaba has modified tablelist in version 6.17 to circumvent the problem,
    but it did so far not help completely.

    Christian

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From saitology9@gmail.com@21:1/5 to Christian Gollwitzer on Wed Jan 12 18:38:14 2022
    On 1/12/22 4:18 PM, Christian Gollwitzer wrote:

    Quick question: Are you on macOS by chance? I had similar strange issues
    with tablelist on macOS, when the columns are changed. It works with
    8.6.11 but fails with 8.6.12, eventually leading to segfaults. There
    seems to be some change which leads to "update" being called
    unexpectedly. I'm trying to pinpoint it, but it is very hard to debug.
    Csaba has modified tablelist in version 6.17 to circumvent the problem,
    but it did so far not help completely.

        Christian

    Thank you Christian. I am on Windows 10 and as far as I know, it has all
    the MS Windows updates installed. The error did not seem to stop one
    from proceeding. It is interesting that it may lead to a segfault later on.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Christian Gollwitzer@21:1/5 to All on Thu Jan 13 08:03:56 2022
    Am 13.01.22 um 00:38 schrieb saitology9@gmail.com:
    On 1/12/22 4:18 PM, Christian Gollwitzer wrote:

    Quick question: Are you on macOS by chance? I had similar strange
    issues with tablelist on macOS, when the columns are changed. It works
    with 8.6.11 but fails with 8.6.12, eventually leading to segfaults.
    There seems to be some change which leads to "update" being called
    unexpectedly. I'm trying to pinpoint it, but it is very hard to debug.
    Csaba has modified tablelist in version 6.17 to circumvent the
    problem, but it did so far not help completely.

         Christian

    Thank you Christian. I am on Windows 10

    Then maybe it is a different error. The error I got is specific to Tk on
    the Mac. Sorry for the confusion.

    Christian

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From nemethi@21:1/5 to All on Thu Jan 13 10:17:12 2022
    Am 12.01.22 um 22:14 schrieb saitology9@gmail.com:
    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:csaba.nemethi@t-online.de

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From saitology9@gmail.com@21:1/5 to nemethi on Thu Jan 13 17:37:05 2022
    On 1/13/22 4:17 AM, nemethi wrote:

    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!


    Thank you for the wonderful package and the incredible support.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)