Forum OpenACS Development: invalid command name calling clock format

Request notifications

After updating to Naviserver 4.99.17 one of my projects throws this error:

invalid command name "::tcl::clock::format"
while executing
"clock format [clock seconds] -format "%Y""

The clock command exists, and clock seconds works.

It did not exhibit this behavior on Naviserver 4.99.16. Another OpenACS project works fine on 4.99.16 and 4.99.17.

I am using Tcl 8.5.19 ( I did not compile the new Tcl yet, as I wanted to reduce the number of variables).

Any advice on how to debug this? I don't see any code that is replacing the clock command with a Tcl procedure.

Posted by Gustaf Neumann on
all of our installations are on tcl 8.6, so there seems to be an issue with blueprints and tcl 8.5. As a quick check, you might change this line for the tcl 8.5 version.

Posted by Dave Bauer on
That is it! Thank you again for your assistance.