Forum OpenACS Q&A: xotcl installation problem

Collapse
Posted by damon pin on
Hi all,

I installed xotcl 1.4.0 binary per instruction
then xotcl-core 0.37
xowiki 0.24

now that when I go to any openacs page, it only shows a file not found message, what didi I do wrong ,how can I fix it?

Thanks for yor help

I check the error log, there are problems during xotcl installation.

[04/May/2006:18:46:12][2880.3062307760][-conn:elshk::3] Notice: Installing xotcl-core
[04/May/2006:18:46:12][2880.3062307760][-conn:elshk::3] Notice: <h3>Installing XOTcl Core 0.37</h3>
[04/May/2006:18:46:12][2880.3062307760][-conn:elshk::3] Notice: Loading packages/xotcl-core/tcl/01-debug-procs.tcl...
[04/May/2006:18:46:12][2880.3062307760][-conn:elshk::3] Error: Error sourcing /var/lib/aolserver/elshk/packages/xotcl-core/tcl
/01-debug-procs.tcl:
invalid command name "::Serializer"
while executing
"::Serializer exportMethods {
::xotcl::Object instproc log
::xotcl::Object instproc debug
::xotcl::Object instproc contains
}"
(file "/var/lib/aolserver/elshk/packages/xotcl-core/tcl/01-debug-procs.tcl" line 3)
invoked from within
"source $__file "
[04/May/2006:18:46:12][2880.3062307760][-conn:elshk::3] Notice: Loaded packages/xotcl-core/tcl/01-debug-procs.tcl.
[04/May/2006:18:46:12][2880.3062307760][-conn:elshk::3] Notice: Loading packages/xotcl-core/tcl/05-doc-procs.tcl...
[04/May/2006:18:46:13][2880.3062307760][-conn:elshk::3] Error: Error sourcing /var/lib/aolserver/elshk/packages/xotcl-core/tcl
/05-doc-procs.tcl:
invalid command name "Class"
while executing
"Class ::Test -ad_doc {
Test Class for the documentation of
Classes,
Objects,
instprocs, and
..."
(file "/var/lib/aolserver/elshk/packages/xotcl-core/tcl/05-doc-procs.tcl" line 291)
invoked from within
"source $__file "
[04/May/2006:18:46:13][2880.3062307760][-conn:elshk::3] Notice: Loaded packages/xotcl-core/tcl/05-doc-procs.tcl.
[04/May/2006:18:46:13][2880.3062307760][-conn:elshk::3] Notice: Loading packages/xotcl-core/tcl/10-recreation-procs.tcl...
[04/May/2006:18:46:13][2880.3062307760][-conn:elshk::3] Notice: -- softrecreate
[04/May/2006:18:46:13][2880.3062307760][-conn:elshk::3] Error: Error sourcing /var/lib/aolserver/elshk/packages/xotcl-core/tcl
/10-recreation-procs.tcl:
invalid command name "Class"
while executing
"Class RR -instproc recreate args {
my log "-- [self args]"; next
} -instproc create args {
my log "-- [self args]"; next
}"
invoked from within
"if {[string match "1.3.*" $version]} {
Class ad_proc recreate {obj args} {
The re-definition of recreate makes reloading of class definitions v..."
(file "/var/lib/aolserver/elshk/packages/xotcl-core/tcl/10-recreation-procs.tcl" line 104)
invoked from within
"source $__file "
[04/May/2006:18:46:13][2880.3062307760][-conn:elshk::3] Notice: Loaded packages/xotcl-core/tcl/10-recreation-procs.tcl.
[04/May/2006:18:46:13][2880.3062307760][-conn:elshk::3] Notice: Loading packages/xotcl-core/tcl/20-Ordered-Composite-procs.tcl
...
[04/May/2006:18:46:13][2880.3062307760][-conn:elshk::3] Error: Error sourcing /var/lib/aolserver/elshk/packages/xotcl-core/tcl
/20-Ordered-Composite-procs.tcl:
invalid command name "Class"
while executing
"Class OrderedComposite "
(in namespace eval "::xo" script line 2)
invoked from within
"namespace eval ::xo {
Class OrderedComposite

OrderedComposite instproc show {} {
next
foreach child [my children] {
$child show
..."
(file "/var/lib/aolserver/elshk/packages/xotcl-core/tcl/20-Ordered-Composite-procs.tcl" line 12)
invoked from within
"source $__file "
[04/May/2006:18:46:13][2880.3062307760][-conn:elshk::3] Notice: Loaded packages/xotcl-core/tcl/20-Ordered-Composite-procs.tcl.
[04/May/2006:18:46:13][2880.3062307760][-conn:elshk::3] Notice: Loading packages/xotcl-core/tcl/30-widget-procs.tcl...
[04/May/2006:18:46:13][2880.3062307760][-conn:elshk::3] Error: Error sourcing /var/lib/aolserver/elshk/packages/xotcl-core/tcl
/30-widget-procs.tcl:
invalid command name "Object"
while executing
"Object instproc asHTML {{-master defaultMaster} -page:switch} {
require_html_procs
dom createDocument html doc
set root [$doc documentElement]
..."
(file "/var/lib/aolserver/elshk/packages/xotcl-core/tcl/30-widget-procs.tcl" line 14)
invoked from within
"source $__file "
[04/May/2006:18:46:13][2880.3062307760][-conn:elshk::3] Notice: Loaded packages/xotcl-core/tcl/30-widget-procs.tcl.
[04/May/2006:18:46:13][2880.3062307760][-conn:elshk::3] Notice: Loading packages/xotcl-core/tcl/bgdelivery-procs.tcl...
[04/May/2006:18:46:13][2880.3062307760][-conn:elshk::3] Error: Error sourcing /var/lib/aolserver/elshk/packages/xotcl-core/tcl
/bgdelivery-procs.tcl:
invalid command name "::xotcl::THREAD"
while executing
"::xotcl::THREAD create bgdelivery {
###############
# File delivery
###############
set ::delivery_count 0

proc deliver {ch filename contex..."
(file "/var/lib/aolserver/elshk/packages/xotcl-core/tcl/bgdelivery-procs.tcl" line 10)
invoked from within
"source $__file "
[04/May/2006:18:46:13][2880.3062307760][-conn:elshk::3] Notice: Loaded packages/xotcl-core/tcl/bgdelivery-procs.tcl.
[04/May/2006:18:46:13][2880.3062307760][-conn:elshk::3] Notice: Loading packages/xotcl-core/tcl/chat-procs.tcl...
[04/May/2006:18:46:13][2880.3062307760][-conn:elshk::3] Error: Error sourcing /var/lib/aolserver/elshk/packages/xotcl-core/tcl
/chat-procs.tcl:
invalid command name "Class"
while executing
"Class Message -parameter {time user_id msg color}"
(in namespace eval "::xo" script line 2)
invoked from within
"namespace eval ::xo {
Class Message -parameter {time user_id msg color}
Class Chat -superclass ::xo::OrderedComposite \
-parameter {chat_id ..."
(file "/var/lib/aolserver/elshk/packages/xotcl-core/tcl/chat-procs.tcl" line 9)
invoked from within
"source $__file "
[04/May/2006:18:46:13][2880.3062307760][-conn:elshk::3] Notice: Loaded packages/xotcl-core/tcl/chat-procs.tcl.
[04/May/2006:18:46:13][2880.3062307760][-conn:elshk::3] Notice: Loading packages/xotcl-core/tcl/generic-procs.tcl...
[04/May/2006:18:46:13][2880.3062307760][-conn:elshk::3] Error: Error sourcing /var/lib/aolserver/elshk/packages/xotcl-core/tcl
/generic-procs.tcl:
invalid command name "Class"
while executing
"Class CrClass -superclass Class -parameter {
pretty_name
pretty_plural
{supertype content_revision}
table_name
id_column
{cr_a..."
(in namespace eval "::Generic" script line 3)
invoked from within
"namespace eval ::Generic {

Class CrClass -superclass Class -parameter {
pretty_name
pretty_plural
{supertype content_revision}
tabl..."
(file "/var/lib/aolserver/elshk/packages/xotcl-core/tcl/generic-procs.tcl" line 9)
invoked from within
"source $__file "
[04/May/2006:18:46:13][2880.3062307760][-conn:elshk::3] Notice: Loaded packages/xotcl-core/tcl/generic-procs.tcl.
[04/May/2006:18:46:13][2880.3062307760][-conn:elshk::3] Notice: Loading packages/xotcl-core/tcl/html-procs.tcl...
[04/May/2006:18:46:13][2880.3062307760][-conn:elshk::3] Notice: Loaded packages/xotcl-core/tcl/html-procs.tcl.
[04/May/2006:18:46:13][2880.3062307760][-conn:elshk::3] Notice: Loading packages/xotcl-core/tcl/install-check-procs.tcl...
[04/May/2006:18:46:13][2880.3062307760][-conn:elshk::3] Notice: Loaded packages/xotcl-core/tcl/install-check-procs.tcl.
[04/May/2006:18:46:13][2880.3062307760][-conn:elshk::3] Notice: Loading packages/xotcl-core/tcl/thread_mod-procs.tcl...
[04/May/2006:18:46:13][2880.3062307760][-conn:elshk::3] Error: Error sourcing /var/lib/aolserver/elshk/packages/xotcl-core/tcl
/thread_mod-procs.tcl:
invalid command name "Class"
while executing
"Class create ::xotcl::THREAD \
-parameter {{persistent 0}}"
(file "/var/lib/aolserver/elshk/packages/xotcl-core/tcl/thread_mod-procs.tcl" line 104)
invoked from within
"source $__file "
[04/May/2006:18:46:13][2880.3062307760][-conn:elshk::3] Notice: Loaded packages/xotcl-core/tcl/thread_mod-procs.tcl.
[04/May/2006:18:46:13][2880.3062307760][-conn:elshk::3] Notice: reading /var/lib/aolserver/elshk/packages/xotcl-core/catalog/x
otcl-core.en_US.ISO-8859-1.xml in ISO-8859-1
[04/May/2006:18:46:13][2880.3062307760][-conn:elshk::3] Notice: encoding: loaded: iso8859-1
[04/May/2006:18:46:13][2880.3062307760][-conn:elshk::3] Notice: Loading messages in file /var/lib/aolserver/elshk/packages/xot
cl-core/catalog/xotcl-core.en_US.ISO-8859-1.xml
[04/May/2006:18:46:13][2880.3062307760][-conn:elshk::3] Notice: reading /var/lib/aolserver/elshk/packages/xotcl-core/catalog/x
otcl-core.de_DE.ISO-8859-1.xml in ISO-8859-1
[04/May/2006:18:46:13][2880.3062307760][-conn:elshk::3] Notice: Loading messages in file /var/lib/aolserver/elshk/packages/xot
cl-core/catalog/xotcl-core.de_DE.ISO-8859-1.xml
[04/May/2006:18:46:13][2880.3062307760][-conn:elshk::3] Notice:

Installed XOTcl Core, version 0.37.

[04/May/2006:18:46:13][2880.3062307760][-conn:elshk::3] Notice:

Package enabled.
NOTICE: adding missing FROM-clause entry for table "acs_object_id_seq"
CONTEXT: PL/pgSQL function "acs_object__new" line 12 at select into variables
PL/pgSQL function "site_node__new" line 23 at assignment
[04/May/2006:18:46:14][2880.3062307760][-conn:elshk::3] Notice:

Mounted an instance of the package at /xotcl

[04/May/2006:18:46:19][2880.3064404912][-conn:elshk::1] Notice: apm_scan_packages: Scanning for new unregistered packages...
[04/May/2006:18:46:19][2880.3064404912][-conn:elshk::1] Warning: Unable to locate specification file for package catalog: The
/var/lib/aolserver/elshk/packages/catalog/catalog.info/catalog does not contain a package specification file (catalog.info).
[04/May/2006:18:46:19][2880.3064404912][-conn:elshk::1] Warning: Unable to locate specification file for package tcl: The /var
/lib/aolserver/elshk/packages/tcl/tcl.info/tcl does not contain a package specification file (tcl.info).
[04/May/2006:18:46:19][2880.3064404912][-conn:elshk::1] Warning: Unable to locate specification file for package www: The /var
/lib/aolserver/elshk/packages/www/www.info/www does not contain a package specification file (www.info).
[04/May/2006:18:46:20][2880.3065453488][-conn:elshk::0] Notice: apm_scan_packages: Scanning for new unregistered packages...
[04/May/2006:18:46:20][2880.3065453488][-conn:elshk::0] Warning: Unable to locate specification file for package catalog: The
/var/lib/aolserver/elshk/packages/catalog/catalog.info/catalog does not contain a package specification file (catalog.info).
[04/May/2006:18:46:20][2880.3065453488][-conn:elshk::0] Warning: Unable to locate specification file for package tcl: The /var
/lib/aolserver/elshk/packages/tcl/tcl.info/tcl does not contain a package specification file (tcl.info).
[04/May/2006:18:46:20][2880.3065453488][-conn:elshk::0] Warning: Unable to locate specification file for package www: The /var
/lib/aolserver/elshk/packages/www/www.info/www does not contain a package specification file (www.info).
[04/May/2006:18:46:21][2880.3065453488][-conn:elshk::0] Notice: Installing xowiki
[04/May/2006:18:46:21][2880.3065453488][-conn:elshk::0] Notice: <h3>Installing xowiki 0.24</h3>
[04/May/2006:18:46:21][2880.3065453488][-conn:elshk::0] Notice: Loading packages/xowiki/tcl/category-procs.tcl...
[04/May/2006:18:46:21][2880.3065453488][-conn:elshk::0] Error: Error sourcing /var/lib/aolserver/elshk/packages/xowiki/tcl/cat
egory-procs.tcl:
invalid command name "Class"
while executing
"Class CatTree -superclass ::xo::OrderedComposite -parameter {name ""}"
(in namespace eval "::xowiki" script line 6)
invoked from within
"namespace eval ::xowiki {
#
# ::xowiki::CatTree (category tree)
#

Class CatTree -superclass ::xo::OrderedComposite -parameter {name ""}

C..."
(file "/var/lib/aolserver/elshk/packages/xowiki/tcl/category-procs.tcl" line 1)
invoked from within
"source $__file "
[04/May/2006:18:46:21][2880.3065453488][-conn:elshk::0] Notice: Loaded packages/xowiki/tcl/category-procs.tcl.
[04/May/2006:18:46:21][2880.3065453488][-conn:elshk::0] Notice: Loading packages/xowiki/tcl/chat-procs.tcl...
[04/May/2006:18:46:21][2880.3065453488][-conn:elshk::0] Error: Error sourcing /var/lib/aolserver/elshk/packages/xowiki/tcl/cha
t-procs.tcl:
invalid command name "::xo::ChatClass"
while executing
"::xo::ChatClass Chat -superclass ::xo::Chat"
(in namespace eval "::xowiki" script line 2)
invoked from within
"namespace eval ::xowiki {
::xo::ChatClass Chat -superclass ::xo::Chat

Chat instproc render {} {
my orderby time
set result ""
foreach..."
(file "/var/lib/aolserver/elshk/packages/xowiki/tcl/chat-procs.tcl" line 8)
invoked from within
"source $__file "
[04/May/2006:18:46:21][2880.3065453488][-conn:elshk::0] Notice: Loaded packages/xowiki/tcl/chat-procs.tcl.
[04/May/2006:18:46:21][2880.3065453488][-conn:elshk::0] Notice: Loading packages/xowiki/tcl/link-procs.tcl...
[04/May/2006:18:46:21][2880.3065453488][-conn:elshk::0] Error: Error sourcing /var/lib/aolserver/elshk/packages/xowiki/tcl/lin
k-procs.tcl:
invalid command name "Class"
while executing
"Class create Link -parameter {type title lang stripped_name label folder_id package_id}"
(in namespace eval "::xowiki" script line 7)
invoked from within
"namespace eval ::xowiki {

#
# generic links
#

Class create Link -parameter {type title lang stripped_name label folder_id package_id}
Link..."
(file "/var/lib/aolserver/elshk/packages/xowiki/tcl/link-procs.tcl" line 9)
invoked from within
"source $__file "
[04/May/2006:18:46:21][2880.3065453488][-conn:elshk::0] Notice: Loaded packages/xowiki/tcl/link-procs.tcl.
[04/May/2006:18:46:21][2880.3065453488][-conn:elshk::0] Notice: Loading packages/xowiki/tcl/xowiki-procs.tcl...
[04/May/2006:18:46:21][2880.3065453488][-conn:elshk::0] Error: Error sourcing /var/lib/aolserver/elshk/packages/xowiki/tcl/xow
iki-procs.tcl:
invalid command name "::Generic::CrClass"
while executing
"::Generic::CrClass create Page -superclass ::Generic::CrItem -pretty_name "XoWiki Page" -pretty_plural "XoWiki Pages" -tabl
e_name "xowiki_page" -id_..."
(in namespace eval "::xowiki" script line 2)
invoked from within
"namespace eval ::xowiki {
::Generic::CrClass create Page -superclass ::Generic::CrItem \
-pretty_name "XoWiki Page" -pretty_plural "XoWiki Pag..."
(file "/var/lib/aolserver/elshk/packages/xowiki/tcl/xowiki-procs.tcl" line 10)
invoked from within
"source $__file "
Collapse
Posted by Gustaf Neumann on
Dear Damon, you said
I installed xotcl 1.4.0 binary per instruction
Which binary? I am not aware of any binary installing xotcl as a openacs module. After the installation of xotcl (i.e. after the make install-aol, you should have a file .../aolserver4/modules/tcl/xotcl.tcl and .../aolserver4/lib/libxotcl* and in the same directory the directory with the serializer.

When you start the server, you should see a message like
01/May/2006:23:55:52][15217.2684415384][-main-] Notice: XOTcl version 1.4.1 loaded

The other messages are due to the fact that xotcl is not correctly installed.

Collapse
Posted by damon pin on
Dear Gustaf,

Thanks a lot for your quick reply, I unpacked the xotcl-1.4.0-bin-linux-i686-glibc.tar.gz binary
to the /usr and didn't install xotcl as a openacs module.

I followed your xowiki doc at

http://www.openacs.org/xowiki/pages/en/xotcl-core

and installation goes smoothly.

XOwiki is a greate package, I am planning to use it for our IT documentaiton. If there is a nice print feature, it will make my life a lot happier 😊