| Ticket UUID: | 1560851 | |||
| Title: | sak fails with Tcl 8.5 | |||
| Type: | Bug | Version: | None | |
| Submitter: | dgp | Created on: | 2006-09-18 16:06:53 | |
| Subsystem: | Development Tools | Assigned To: | andreas_kupries | |
| Priority: | 5 Medium | Severity: | ||
| Status: | Closed | Last Modified: | 2006-09-20 01:55:40 | |
| Resolution: | Fixed | Closed By: | andreas_kupries | |
| Closed on: | 2006-09-19 18:55:40 | |||
| Description: |
/usr/local/bin/tclsh8.5 `echo ./sak.tcl` test run
command "::tie::std::file::normalize" already exists
while executing
"error "command \"$name\" already exists""
(procedure "::snit::RT.type.typemethod.create" line 22)
invoked from within
"::snit::RT.type.typemethod.create ::tie::std::file
normalize ~/.Tcllib/Registry"
("uplevel" body line 1)
with lots more stack trace to follow.
Will post if it helps.
| |||
| User Comments: |
andreas_kupries added on 2006-09-20 01:55:40:
Logged In: YES user_id=75003 Fix committed. andreas_kupries added on 2006-09-20 00:57:00: Logged In: YES
user_id=75003
Uh. This seems to a something with the new 8.5 ensemble
and/or namespace path stuff snit v2 uses.
The constructor of tie::std::file has a call
[file normalize $thepath]
and this seems to be interpreted as call into the class or
constructed instance now. In snit v1 this resolves to the
global command.
For now I will fix this using ::file, however I wonder if
that is something which is a snit problem and not of the
defined class.
It is an incompat for sure.
andreas_kupries added on 2006-09-20 00:44:14: Logged In: YES user_id=75003 Confirming. andreas_kupries added on 2006-09-18 23:10:25: Logged In: YES user_id=75003 I have a tclsh 8.5 and can see what this is about. In the meantime use Tcl 8.4 to run sak and specify the shell to use for the testsuite itself using "test run -s SHELL ...". | |||
Home
Blog
Docs
Downloads
Tickets
Timeline
Branches
Tags
Wiki