Hmm...in a fresh install (oacs-5-2, xowiki 0.36, xotcl-core 0.43), there is something weird going on. The main xowiki page generates this server error:
invalid command name "::xowiki::Package"
while executing
"::xowiki::Package initialize -ad_doc {
This is the resolver for this package. It turns a request into
an object and executes the object with the ..."
(file "/web/oacs52/packages/xowiki/www/index.vuh" line 2)
invoked from within
"source [ad_conn file]"
(procedure "rp_handle_tcl_request" line 3)
invoked from within
"$handler"
("uplevel" body line 2)
invoked from within
"uplevel $code"
invoked from within
"ad_try {
$handler
} ad_script_abort val {
# do nothing
}"
invoked from within
"rp_serve_concrete_file [ad_conn file]"
(procedure "rp_serve_abstract_file" line 60)
invoked from within
"rp_serve_abstract_file "$root/$path""
("uplevel" body line 2)
invoked from within
"uplevel $code"
invoked from within
"ad_try {
rp_serve_abstract_file "$root/$path"
set tcl_url2file([ad_conn url]) [ad_conn file]
set tcl_url2path_info..."
And looking through the xotcl classes in the API browser (/xotcl/), ::xowiki::Package no longer appears in the list. Somehow it's not getting initialized even though it appears to be defined in /xowiki/tcl/package-procs.tcl. The error log during installation shows this problem sourcing that file, though:
[17/Aug/2006:17:20:59][11723.2684358124][-main-] Error: Error sourcing /web/oacs52/packages/xowiki/tcl/package-procs.tcl:
invalid command name "::xo::PackageMgr"
while executing
"::xo::PackageMgr create Package -superclass ::xo::Package -parameter {{folder_id "[::xo::cc query_parameter folder_id 0]"}}"
(in namespace eval "::xowiki" script line 3)
invoked from within
"namespace eval ::xowiki {
::xo::PackageMgr create Package \
-superclass ::xo::Package \
-parameter {{folder_id "[::xo::cc query_paramet..."
(file "/web/oacs52/packages/xowiki/tcl/package-procs.tcl" line 1)
...etc
And indeed, I can't grep any definition of ::xo::PackageMgr in either xotcl-core or xowiki.
There's another problem in the error log during installation:
[17/Aug/2006:17:20:59][11723.2684358124][-main-] Error: Error sourcing /web/oacs52/packages/xowiki/tcl/xowiki-portlet-procs.tcl:
expected a list of classes but got ::xo::Context
::xowiki::Portlet ::xotcl::Class->superclass
::xowiki::Portlet ::xotcl::Object->configure
::xotcl::Class ::xotcl::Class->create
invoked from within
"Class create ::xowiki::Portlet -superclass ::xo::Context -parameter {{name ""} {title ""} {__decoration "portlet"}}"
(in namespace eval "::xowiki::portlet" script line 2)
...etc
Not sure what this means.
Gustaf, before you go on your well-deserved holiday, can you have a look at this? Many thanks!