Forum OpenACS Q&A: xowiki 0.49 error

Collapse
Posted by Carlos Eduardo Lazarini on
Hi Folks,

I´ve upgraded my system to PostgreSQL to 8.2, AOLserver 4.5, and OpenACS 5.3. All worked fine with xowiki 0.38. After installing the head version of xotcl-core 0.48 and xowiki 0.49, I get the following error message:

can't read "references": no such variable
while executing
"lang::util::localize ${references}"
("uplevel" body line 1)
(procedure "template::code::adp::/var/lib/aolserver/kaduradio/packages/x..." line 1)
invoked from within
"template::code::${template_extension}::$__adp_stub"
invoked from within
"template::adp_parse [template::util::url_to_file $src] $varlist"
(procedure "template::adp_include" line 8)
invoked from within
"template::adp_include $adp $__vars"
(procedure "return_page" line 29)
::857 ::xowiki::Package->return_page
invoked from within
"$package_id return_page -adp $template_file -variables {
name title item_id page context header_stuff return_url
content package_i..."
(procedure "view" line 108)
::882 ::xowiki::Page->view
invoked from within
"$object $method"
(procedure "call" line 7)
::857 ::xowiki::Package->call
invoked from within
"my call $page $method"
(procedure "invoke" line 8)
::857 ::xowiki::Package->invoke
invoked from within
"::$package_id invoke -method $m"
invoked from within
"::$package_id reply_to_user [::$package_id invoke -method $m]"
(file "/var/lib/aolserver/kaduradio/packages/xowiki/www/index.vuh" line 21)
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..."

I´d appreciated it if someboby out there could help me on solving this puzle.

Thanks,
Carlos Lazarini

Collapse
2: Re: xowiki 0.49 error (response to 1)
Posted by Gustaf Neumann on
The error message says that the adp-variable \@references\@ is used in your adp-file, but it is not provided. The adp-managemet has undergone a substantial change in the last week (see e.g. adp-generator-procs, a lot of redundancy removed), and this variable is indeed gone. Can it be that you have a custom template file still refering to that variable?
Collapse
3: Re: xowiki 0.49 error (response to 2)
Posted by Carlos Eduardo Lazarini on
Thanks Gustaf. Just replaced view-dafault.adp with a newer version and I was back on the road again.
Collapse
4: Re: xowiki 0.49 error (response to 3)
Posted by Gustaf Neumann on
when you do an update from cvs, do always a full update of packages/xowiki. The full update contains view-default.adp.