Forum OpenACS Q&A: Random Errors in XoWiki

Collapse
Posted by Nima Mazloumi on
For some reason I get the following error accessing an existing page in xowiki. Sometimes a refresh works in most cases I need to restart the server.

Any idea?

invalid command name "::39444"
while executing
"::[my folder_id] get_payload $attribute"
(procedure "get_parameter" line 5)
::39419 ::xowiki::Package->get_parameter
invoked from within
"$id get_parameter index_page "index""
(procedure "resolve_page" line 28)
::39419 ::xowiki::Package->resolve_page
invoked from within
"my resolve_page [my set object] method"
(procedure "invoke" line 4)
::39419 ::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 "/www/dotlrn-2.4.0/packages/xowf/www/index.vuh" line 18)
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..."

Collapse
Posted by Gustaf Neumann on
Dear Nima,

i have not seen this error so far. I am inclined to believe
that this is due to a local modification or extension of 
xowiki. 

The error was caused in 
  Package ad_instproc get_parameter ...
and seems due to the fact that 
  Package instproc require_folder_object ...
was not executed as it should from 
  Package instproc init

The "randomness" can be due to the fact that some
connection threads might contain broken objects
which are for some unknown reasons not cleaned
up after some requests.

greetings from key west
-gustaf neumann
Collapse
Posted by Nima Mazloumi on
Thank you for your reply. Actually I use dotlrn 2.4.0 tar ball with latest xo* packages from openacs-4 HEAD. I don't have any modifications. Could it be that watching files might cause problems?
Collapse
Posted by Gustaf Neumann on
possible, especially with some older xotcl versions (pre 1.6.0)