Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 722e0497fbbc8d17e1c1d6b5a0e2578284adec4d42862388c7e4949e7ad2047c
Ticket: 4e812aadae68af384605a5e78845abe40206fbe9
package require msgcat fails
User & Date: oehhar on 2018-11-15 08:52:43
Changes

  1. icomment:
    I can confirm the bug on windows with current core-8-branch of tcl "3f67becca2" dated 2018-11-15.
    
    The msgcat module file is in lib/tcl/8.7:
    
    <verbatim>
    C:\test\tcl87a1_3f67becca2_2018-11-15\lib\tcl8\8.7\msgcat-1.7.0.tm
    </verbatim>
    
    Here is a log:
    
    <verbatim>
    % package require msgcat
    couldn't read file "C:/test/tcl87a1_3f67becca2_2018-11-15/lib/tcl8.7/msgcat/msgcat.tcl": no such file or directory
    % package require http
    couldn't read file "C:/test/tcl87a1_3f67becca2_2018-11-15/lib/tcl8.7/http/http.tcl": no such file or directory
    % ::tcl::tm::path list
    C:/test/tcl87a1_3f67becca2_2018-11-15/lib/tcl8/site-tcl C:/test/tcl87a1_3f67becca2_2018-11-15/lib/tcl8/8.0 C:/test/tcl87a1_3f67becca2_2018-11-15/lib/tcl8/8.1 C:/test/tcl87a1_3f67becca2_2018-11-15/lib/tcl8/8.2 C:/test/tcl87a1_3f67becca2_2018-11-15/lib/tcl8/8.3 C:/test/tcl87a1_3f67becca2_2018-11-15/lib/tcl8/8.4 C:/test/tcl87a1_3f67becca2_2018-11-15/lib/tcl8/8.5 C:/test/tcl87a1_3f67becca2_2018-11-15/lib/tcl8/8.6 C:/test/tcl87a1_3f67becca2_2018-11-15/lib/tcl8/8.7
    </verbatim>
    
    So, apparently, there is an issue in the module load code:
    The TCL modules are found, but the load is tried in a file: "<Module path>/<Module name>/<Module name>.tcl"
    
    Thank you,
    Harald
    
  2. login: "oehhar"
  3. mimetype: "text/x-fossil-wiki"
  4. username: "oehhar"