Forum OpenACS Q&A: Response to package require

Collapse
Posted by Dave Bauer on
I have tracked down the offending code. The init.tcl from /usr/lib/tcl8.3 has:
<pre>
set errorCode ""
set errorInfo ""
</pre>
at line 124 or so.

If I comment that out, everything works fine. With is uncommented, when ns_sourceproc tries to do
<pre>
global errorCode errorInfo
</pre> i get:
<pre>
variable "errorCode" already exists
</pre>

This seems like strange behavior. I can't replicate it with any other variable in tcl.