Overview
| Artifact ID: | bb07e4b161ecc31c973e84d0cd08b7627a25e072 |
|---|---|
| Ticket: | 3587096fffffffffffffffffffffffffffffffff
win vista/7: "can't find init.tcl" when called via junction |
| User & Date: | oehhar on 2012-11-15 16:32:24 |
Changes
- icomment:
To your question, which command fails: as there is no "error" part in the message, only file exists should say 0. I tried it with an initialized wish and a fragment from the script in tclInterp.c (from line 389): (bin) 1 % lappend dirs "C:/test2_junction/tcl860rc0/lib/tcl8.6" C:/test2_junction/tcl860rc0/lib/tcl8.6 (bin) 2 % set tcl_library [lindex $dirs end] C:/test2_junction/tcl860rc0/lib/tcl8.6 (bin) 3 % set tclfile [file join $tcl_library init.tcl] C:/test2_junction/tcl860rc0/lib/tcl8.6/init.tcl (bin) 4 % file exists $tclfile 1 (bin) 5 % source $tclfile (bin) 6 % set errorInfo can't read "::tcl_pkgPath": no such variable while executing "foreach Dir $::tcl_pkgPath { if {$Dir ni $::auto_path} { lappend ::auto_path $Dir } }" So, it is not reproducible by this method. - login: "oehhar"
- mimetype: "text/plain"
- username: "oehhar"