Home
The Toolkit for Online Communities
17464 Community Members, 1 member online, 1876 visitors today
Log In Register
OpenACS Home : Forums : OpenACS Development : xotcl-core doesn't load on HEAD

Forum OpenACS Development: xotcl-core doesn't load on HEAD

Icon of envelope Request notifications

Collapse
Posted by Dave Bauer on
I installed from HEAD today. xotcl-core does not seem to work.

[25/Jan/2008:15:13:59][13860.18446744072774785792][-main-] Error: Error sourcing
/var/lib/aolserver/openacs-core/packages/xotcl-core/tcl/00-serializer-procs.tcl
:
can't read "::xotcl::version": no such variable
while executing
"if {$::xotcl::version > 1.4} return"
(file "/var/lib/aolserver/openacs-core/packages/xotcl-core/tcl/00-serializer
-procs.tcl" line 2)
invoked from within
"source $__file "
[25/Jan/2008:15:13:59][13860.18446744072774785792][-main-] Notice: Loaded packag
es/xotcl-core/tcl/00-serializer-procs.tcl.

I have xotcl 1.5.4 installed.

% package require XOTcl
1.5.4

Collapse
Posted by Gustaf Neumann on
Hmm, this code (checking the xotcl version) is unmodified since a long time (16 months) and is part the stable version in the oacs-5-3 branch. This variable is set by xotcl by versions since 2001.

I have the suspicion that you have multiple versions of xotcl installed on your system, or that your xotcl installation is broken. What do you see if you "fgrep XOTcl .../log/error.log"? Did you make an "make install-aol"?

Btw, the head version requires XOTcl 1.5.* or newer (1.5.6 recommended). The code in the serializer tests for backward compatibility for versions before 1.4, and can be mostly dropped (which i will do now).

Collapse
Posted by Dave Bauer on
dave@escher:/var/lib/aolserver/openacs-core/log$ frep XOTcl error.log
bash: frep: command not found
dave@escher:/var/lib/aolserver/openacs-core/log$ fgrep XOTcl error.log
[25/Jan/2008:15:08:15][11657.1086343488][-conn:openacs-core::2] Notice:

Installing XOTcl Core 0.80


# XOTcl 1.5 comes already with a predefined, more powerful
[25/Jan/2008:15:08:15][11657.1086343488][-conn:openacs-core::2] Notice: XOTcl 1.5.4 appears to be installed on your system.
[25/Jan/2008:15:08:15][11657.1086343488][-conn:openacs-core::2] Notice:

Installed XOTcl Core, version 0.80.

# XOTcl 1.5 comes already with a predefined, more powerful
# XOTcl 1.5 comes already with a predefined, more powerful
[25/Jan/2008:15:15:11][13910.18446744072070712064][-main-] Notice: we have a version ot XOTcl older than 1.5
# XOTcl 1.5 comes already with a predefined, more powerful
[25/Jan/2008:15:15:55][13959.1579453184][-main-] Notice: we have a version ot XOTcl older than 1.5
# XOTcl 1.5 comes already with a predefined, more powerful

Looks like it found 1.5.4 but it then can't get past the version check.

Collapse
Posted by Dave Bauer on
Those Tcl comments in the log are from the error stack trace when it tries to load xotcl-core.

I had not done make install-aol for some reason when I installed XoTcl. After doing that it works great!