Tcl Library Source Code

View Ticket
Login
Ticket UUID: e3a6e3e02a9a787d3bac706513e7d06db50246ba
Title: Huddle: creating a list with quote as element fails
Type: Bug Version:
Submitter: anonymous Created on: 2014-08-25 16:18:03
Subsystem: huddle Assigned To:
Priority: 5 Medium Severity: Critical
Status: Open Last Modified: 2026-11-16 00:06:15
Resolution: None Closed By: nobody
    Closed on:
Description:
The following fails:

package require huddle
huddle list \"

unmatched open quote in list
    while executing
"lindex $arg 0"
    (procedure "isHuddle" line 2)
    invoked from within
"isHuddle $src"
    (procedure "::huddle::to_node" line 3)
    invoked from within
"::huddle::$command {*}$args"
    (procedure "huddle" line 6)
    invoked from within
"huddle to_node $value"
    (procedure "::huddle::_list_setting" line 58)
    invoked from within
"$huddle::methods($command) $command {*}$args"
    (procedure "huddle" line 4)
    invoked from within
"huddle list \""
User Comments: serhiy.storchaka added on 2026-11-16 00:06:15:

Proposed fix in branch huddle-isHuddle-nonlist: isHuddle checks string is list before applying list commands. Test huddle-3.7.


ethanp added on 2018-12-06 18:31:20:
Error is due shimmering \" as a list, as seen in the following:
  llength \"
  lindex \" 0