Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-04-05
08:23 • Ticket [217895ffff] Tcl Shell doesn't refer to registry entry when loading</... artifact: 5e5fbeb34f user: dgp
2000-10-26
08:09 • Closed ticket [217895ffff]. artifact: 4edfc875d3 user: welch
00:45 • New ticket [217895ffff]. artifact: 19891c75f1 user: nobody

Tcl Shell doesn't refer to registry entry when loading

Closed / Fixed217895ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:45:33
OriginalBugID: 2506 Bug
Version: 8.1
SubmitDate: '1999-08-05'
LastModified: '1999-12-14'
Severity: SER
Status: Closed
Submitter: techsupp
ChangedBy: hobbs
RelatedBugIDs: 3854
OS: Windows 95
Machine: X86
FixedDate: '2000-10-25'
ClosedDate: '1999-12-14'


Name:
Hardev Soor

Extensions:
Tcl-Dp, Tix4.1.0 (and planning to use Expect, iTcl3.0 and BLT)

CustomShell:
No.

Comments:
This used to work in Tcl 8.0. Why has it changed in 8.1. This makes
    Tcl8.1 totally useless. How am I supposed to take advantage of the new
    Tcl versions if it is not compatible with old versions ?

ReproducibleScript:
I install Tcl8.1 under C:\Program Files\Tcl.
    
    Then I have a new directory C:\XYZ under which I have Bin
    and lib. Under lib I have my own Tcl directory called myTclExt
    with its own pkg_Index file and everything. So I copy the tcl8.1
    and tk8.1 directories from C:\Program Files\Tcl\lib to C:\XYZ\lib
    and I change my registry entry to be C:\XYZ.
    
    When I try to launch tclsh81.exe it says
    application-specific initialization failed: Can't find a usable init.tcl
    in
    the
    following directories:
        {C:\Tcl\lib\tcl8.0} C:/Tcl/lib/tcl8.1 C:/XYZ/lib/tcl8.1
    C:/IXIA/lib/tcl8.1
    C:/lib/tcl8.1 C:/lib/tcl8.1/library C:/library C:/../tcl8.1/library
    ../tcl8.1/library
    
    It cannot even find the init.tcl because it is NOT LOOKING at the
    registry
    entry.
    If I set the TCL_LIBRARY to C:\XYZ, it works!!

ObservedBehavior:
The registry entry is not looked at when launching Tcl/Wish shells for
    8.1.
    
    application-specific initialization failed: Can't find a usable init.tcl
    in
    the
    following directories:
        {C:\Tcl\lib\tcl8.0} C:/Tcl/lib/tcl8.1 C:/XYZ/lib/tcl8.1
    C:/IXIA/lib/tcl8.1
    C:/lib/tcl8.1 C:/lib/tcl8.1/library C:/library C:/../tcl8.1/library
    ../tcl8.1/library

DesiredBehavior:
The registry entry should be looked at and shell should launch.
welch Closed ticket [217895ffff]. [History diff]2000-10-26 08:09:11
dgp Ticket [217895ffff]: 3 changes [History diff]2001-04-05 08:23:13
Log in (anonymous is fine) to add a comment.