Forum OpenACS Development: invalid command name calling clock format

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.

Collapse
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.

https://bitbucket.org/naviserver/naviserver/commits/28b0f5cd8a9d49abded0ca7d9a06ca7a4aea900e

Collapse
Posted by Dave Bauer on
That is it! Thank you again for your assistance.
Collapse
Posted by Gustaf Neumann on
Great that it helped. The change included is in NaviServer 4.99.18
all the best!