- Using tclkit-darwin-univ-aqua 8.5.0 with SDX (version: 2007/04/08 18:29:47 31669-75130), I receive the following error when I enter "tclkit sdx.kit fetch" at the command line:
attempt to provide package FTP 1.2 failed: package FTP 1097 provided instead
("package ifneeded FTP 1.2" script)
invoked from within
"package require FTP"
(file "/usr/local/bin/sdx.kit/lib/app-sdx/fetch.tcl" line 5)
invoked from within
"source /usr/local/bin/sdx.kit/lib/app-sdx/fetch.tcl"
("uplevel" body line 1)
invoked from within
"uplevel #0 [list source [file join $b $a.tcl]"
(procedure "run_sdx" line 17)
invoked from within
"run_sdx"
(file "/usr/local/bin/sdx.kit/lib/app-sdx/sdx.tcl" line 59)
invoked from within
"source /usr/local/bin/sdx.kit/lib/app-sdx/sdx.tcl"
("package ifneeded app-sdx 2.0" script)
invoked from within
"package require app-sdx"
(file "/usr/local/bin/sdx.kit/main.tcl" line 8)
invoked from within
"source /usr/local/bin/sdx.kit/main.tcl"
("uplevel" body line 1)
invoked from within
"uplevel [list source [file join $self main.tcl]"
Whereas the same command with tclkit-darwin-univ-aqua 8.4.17 prints the following prompt, as expected:
Usage: fetch url file ?chunksize?
- If I invoke tclkit-darwin-univ-aqua 8.5.0 in the same directory as sdx.kit and issue the following commands (where % is the interactive prompt),
% source sdx.kit % package require sdx % sdx::sdx fetch
I see this error message:
attempt to provide package vfs 1.2 failed: package vfs 1.3 provided instead
rather than the prompt and error message seen as expected with 8.4.17, which is:
Usage: fetch url file ?chunksize? sdx slave interpreter exited abnormally: 1
I am uncertain how or whether to apply the "package ifneeded..." workaround given at http://wiki.tcl.tk/Tclkit.
- 2008-02-11 Jim DeVona
Created
- 2008-02-12 Jim DeVona
The first problem is just the result of [lindex {$Revision: 1097 $} 1] as the package provide FTP version number in sdx.vfs/lib/ftp/ftp_lib.tcl. I'm still stumped by the second issue. (Sorry about the funky formatting of my previous report.)
- 2008-02-18 jcw
yes, thanks - for #1, see http://www.equi4.com/fff/232 - I'll fix this in the coming days
- 2008-02-24 jcw
The revision 1097 bug has been fixed.
- 2008-02-24 jcw
(Changed: stat)
