ISO: sdx modification

lvirden <[email protected]> Wed, 11 Jul 2007 05:40:48 -0700
Newsgroups gmane.comp.lang.tcl.starkit
Message-ID <[email protected]>
The sdx.kit "update" function is currently not working, at least for
me.

$ sdx.kit update /projects/sprs_lwv/bin/tdom.kit
 TDOM: updating from http://mini.net/sync.cgi ...
unexpected reply: HTTP/1.0 404 Not Found
    while executing
"error $r"
    (procedure "rpc" line 8)
    invoked from within
"rpc $url [vfs::zip -mode c [kit2cat $path <D/$v::vers> $id $fake]]"
    (procedure "starsync::request" line 15)
    invoked from within
"starsync::request $server $path $fake"
    invoked from within
"set catalog [starsync::request $server $path $fake]"
    (file "/projects/sprs_lwv/tcl85/bin/sdx.kit/lib/app-sdx/
update.tcl" line 49)
    invoked from within
"source /projects/sprs_lwv/tcl85/bin/sdx.kit/lib/app-sdx/update.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 "/projects/sprs_lwv/tcl85/bin/sdx.kit/lib/app-sdx/sdx.tcl"
line 59)
    invoked from within
"source /projects/sprs_lwv/tcl85/bin/sdx.kit/lib/app-sdx/sdx.tcl"
    ("package ifneeded" script)
    invoked from within
"package require app-sdx"
    (file "/projects/sprs_lwv/tcl85/bin/sdx.kit/main.tcl" line 8)
    invoked from within
"source /projects/sprs_lwv/tcl85/bin/sdx.kit/main.tcl"
    ("uplevel" body line 1)
    invoked from within
"uplevel [list source [file join $self main.tcl]]"


My guess is that the situation is that the mini.net URL needs to be
modified to point somewhere else.

I took a look at sdx.kit, and made a change to sdx.vfs/libapp-sdx/
update.tcl .
While that changed the above slightly, what I get now is:

$ ./sdx.kit update /projects/sprs_lwv/bin/tdom.kit
 TDOM: updating from http://tcl.tk/sync.cgi ...
load error
    while executing
"mk::file load $db $fd"
    (procedure "memvfs" line 11)
    invoked from within
"memvfs <diff> $data"
    (procedure "applydiffs" line 2)
    invoked from within
"applydiffs $data $path"
    (procedure "starsync::request" line 19)
    invoked from within
"starsync::request $server $path $fake"
    invoked from within
"set catalog [starsync::request $server $path $fake]"
    (file "/tmp/.lwv/sdx.kit/lib/app-sdx/update.tcl" line 50)
    invoked from within
"source /tmp/.lwv/sdx.kit/lib/app-sdx/update.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 "/tmp/.lwv/sdx.kit/lib/app-sdx/sdx.tcl" line 59)
    invoked from within
"source /tmp/.lwv/sdx.kit/lib/app-sdx/sdx.tcl"
    ("package ifneeded" script)
    invoked from within
"package require app-sdx"
    (file "./sdx.kit/main.tcl" line 8)
    invoked from within
"source ./sdx.kit/main.tcl"
    ("uplevel" body line 1)
    invoked from within
"uplevel [list source [file join $self main.tcl]]"

So I don't know if I have the wrong URL, or if something else is wrong.