Menu

#75 Error: can't read S(0, 8)

open
nobody
None
5
2005-02-24
2005-02-24
Anonymous
No

I am john at jsjf.demon.co.uk

I downloaded the tarball version of tclhttpd 3.5.1 and
tried to run it in the "out of the box" mode. That's to
say, I did nothing except to unpack the tarball, cd to
its directory and type

bin/httpd.tcl

It gave a stack dump, which began:

can't read "S(0, 8)": no such element in array

The problem was in line 250 of lib/tclcrypt.tcl, which was:

set k $S($j, [expr {

Note the space after the comma. I edited the file to
remove the space, so that the line then read

set k $S($j,[expr {

and I was then able to run the server.

This all seems very odd, because the problem prevented
the server from running at all, yet presumably it has
worked for everyone else.

John Foster

Discussion


Log in to post a comment.