Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4a69baf98af5de291fc3b10cc1b1c183ff317578c7dbb78fbb64847ae4bf8807
Ticket: c1c4daae0e9821d75597754c1887f435db6b9152
may be error in "namespace eval"
User & Date: anonymous on 2022-10-16 20:25:17
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-plain"
  4. comment changed to:
    ########################################################
    # It may be error in "namespace eval".
    # Why such output??????????????
    ########################################################
    if { [info exists ::tk_version] } { console show; console eval { font configure TkConsoleFont -size 20 } }
    
    set tli {::auto_mkindex_parser ::mk ::oo::InfoObject ::oo::Obj1 
             ::pkg ::tcl ::tcl::Pkg ::tcl::array ::tcl::dict ::tcl::file 
             ::ttk::treeview ::vfs ::vfs::mk4 ::zlib }
    foreach ns $tli {
      set str { set tli [info vars];   set tli [lmap x $tli { namespace which -variable $x }] }
      if { [catch { namespace eval $ns $str} res] } {
        puts "=== error in $ns, $res"
      } 
    }
    ########################################################
    # Output:
    #=== error in ::mk, view index is out of range
    #=== error in ::oo::InfoObject, wrong # args: should be "namespace objName"
    #=== error in ::tcl::array, can't set "tli(tcl_rcFileName)": variable isn't array
    #=== error in ::tcl::dict, missing value to go with key
    ########################################################
    
  5. is_private changed to: "0"
  6. login: "anonymous"
  7. priority changed to: "5 Medium"
  8. private_contact changed to: "011cf1866dfa8bb09f711926168b65e59e21409c"
  9. resolution changed to: "None"
  10. severity changed to: "Severe"
  11. status changed to: "Open"
  12. submitter changed to: "anonymous"
  13. subsystem changed to: "21. [namespace]"
  14. title changed to: "may be error in "namespace eval""
  15. type changed to: "Bug"