Overview
| Artifact ID: | 9e3f5a9bba38d95b86d05badf3fe3837e5cec095ae402549ec5c50e7cc5a86d6 |
|---|---|
| Ticket: | 43c94f95988f3057fcabbd2a4b81c6e8ff9909a6
Tcl will not start properly if there is an init.tcl file in the current dir |
| User & Date: | stu on 2024-11-12 04:44:21 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-plain"
- comment changed to:
This on my system. Your auto_paths may vary. $ echo 'puts $::auto_path' | tclsh8.6 /usr/local/lib/tcl/tcl8.6 /usr/local/lib/tcl $ echo 'puts $::auto_path' | tclsh9.0 /usr/local/lib/tcl/tcl9.0 /usr/local/lib/tcl $ echo '' > init.tcl $ echo 'puts $::auto_path' | tclsh8.6 /usr/local/lib/tcl/tcl8.6 /usr/local/lib/tcl $ echo 'puts $::auto_path' | tclsh9.0 can't read "::auto_path": no such variable Wish provides a different error message for the same problem: $ wish9.0 application-specific initialization failed: invalid command name "tcl_findLibrary" And for fun: $ echo 'puts "I like fish!"' > init.tcl $ echo 'puts $::auto_path' | tclsh9.0 I like fish! can't read "::auto_path": no such variable
- foundin changed to: "9.0"
- is_private changed to: "0"
- login: "stu"
- priority changed to: "5 Medium"
- private_contact changed to: "702b65e835b7b4b4720d6e9d37fc582f82909394"
- resolution changed to: "None"
- severity changed to: "Important"
- status changed to: "Open"
- submitter changed to: "stu"
- subsystem changed to: "38. Init - Library - Autoload"
- title changed to:
Tcl will not start properly if there is an init.tcl file in the current dir
- type changed to: "Bug"