Tk Library Source Code

View Ticket
Login
Ticket UUID: 3007956
Title: problem loading msgcat
Type: Bug Version: None
Submitter: lvirden Created on: 2010-05-27 13:39:34
Subsystem: doctools Assigned To: andreas_kupries
Priority: 7 High Severity:
Status: Closed Last Modified: 2010-09-08 02:31:18
Resolution: Fixed Closed By: andreas_kupries
    Closed on: 2010-09-07 19:31:18
Description:
platform: sparc solaris 8, sun c compiler
tcl 8.6 cvs head
tcllib cvs head

I decided on a whim to run the tcllib test suite today against tcl 8.6 cvs head. So far, I've encountered about 4 dozen test failures that look something like this:

---- doctools-idx-51.27 start

==== doctools-idx-51.27 doctools::idx deserialize = docidx, incbadcmd, error mes
sage FAILED
==== Contents of test case:

        I deserialize = $data docidx
    
---- Result was:
Unable to locate or load plugin "docidx" (ERROR for slave interp45 : can't find 
package msgcat)
---- Result should have been (exact matching):
"/vol/tclsrcsol/tcl86/tcllib/modules/doctools2idx/tests/data/bad_command" error 
on line 1.4: Wrong#args for "key", need at least 1
==== doctools-idx-51.27 FAILED


If I start up a tclsh8.6 directly, and type in package require msgcat, it is found.
User Comments: andreas_kupries added on 2010-09-08 02:31:18:

allow_comments - 1

andreas_kupries added on 2010-09-08 02:31:17:
This is fixed in the Tcl 8.5 and 8.6 CVS head. An issue with the emulation of the [glob] command by the safe base. I.e. not a tcllib bug, just exposed by it.

andreas_kupries added on 2010-07-07 04:37:45:
Oh, right, this was linux, gcc. OS and compiler apparently do not matter for this.

andreas_kupries added on 2010-07-07 04:36:59:
Note to self: Bisect using
TCLTEST_OPTIONS='-match doctools-idx-50.0.1' ./sak.tcl test run -s /path/to/shell -l Y modules/doctools2idx

Reason: Confirmed that 8.6b1.2 fails. Also found that 8.6b1.1 is ok. Some change in the core has caused this. Some change to the SafeBase most likely.

andreas_kupries added on 2010-05-28 01:26:27:
Ok, I have to look into this. I am using safe slave interpreters to contain the plugins for the formatting backends, and maybe the setup of their package paths (*) is going haywire.

(*) I am using the SafeBase for that.