Forum .LRN Q&A: Re: Assessment package

Collapse
9: Re: Assessment package (response to 8)
Posted by Gustaf Neumann on
I don't know where the error comes from, but i know, i does not come from xotcl.

What troubles do you have installing xotcl?

Collapse
10: Re: Assessment package (response to 9)
Posted by Matthew Coupe on
Hi Gustaf,

I've installed xotcl 1.5.2 on the server, configured and make-aol'd it.

I've upgraded everything to OpenACS 5.2.3 and dotLRN 2.2.0 except XOTCL which I haven't been able to install. I get the error message I reported earlier when I try and do things such as add a new class, create an assessment etc.

Errors I get with XOTCL include

[-conn:upgrade::1] Error: during '::xotcl::Object instproc'
during '::xotcl::Object instproc'
::xotcl::Object ::xotcl::Object->configure
invoked from within
"::xotcl::Object configure \
-instproc contains {{-withnew:boolean true} -object {-class ::xotcl::Object} cmds} {
if {![info exists object]} {set obje..."

On boot up....

Error: Error sourcing /var/lib/aolserver/upgrade/packages/xotcl-core/tcl/generic-procs.tcl:
during '::Generic::CrClass ad_doc'
::Generic::CrClass ::xotcl::Object->configure
::xotcl::Class ::xotcl::Class->recreate
::xotcl::Class ::xotcl::Class->create
::xotcl::Class ::xotcl::Class->unknown
invoked from within
"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/upgrade/packages/xotcl-core/tcl/generic-procs.tcl" line 9)
invoked from within

Error: Error sourcing /var/lib/aolserver/upgrade/packages/xml-rpc/tcl/test/xml-rpc-test-procs.tcl:
::ad_proc: unable to dispatch method '-private'
while executing
"ad_proc -private _${package_key}__$testcase_id {} "
# make sure errorlevel gets through. this is not 100% cleaned up.
global error..."
(procedure "aa_register_case" line 104)
invoked from within
"aa_register_case -cats script xml_rpc_mounted {
Test to make sure the xml-rpc package has been mounted
} {
aa_run_with_teardown -rollback -tes..."
(file "/var/lib/aolserver/upgrade/packages/xml-rpc/tcl/test/xml-rpc-test-procs.tcl" line 9)
invoked from within
"source $__file "

Collapse
11: Re: Assessment package (response to 9)
Posted by Matthew Coupe on
Once I'm booted up I'm now getting

invalid command name "auth::require_login"
while executing
"auth::require_login"
(procedure "ad_maybe_redirect_for_registration" line 2)
invoked from within
"ad_maybe_redirect_for_registration"
invoked from within
"set user_id [ad_maybe_redirect_for_registration]"
("uplevel" body line 40)
invoked from within
"uplevel {
#

Collapse
12: Re: Assessment package (response to 11)
Posted by Roel Canicula on
I encountered the same problems when I upgraded to Fedora Core 6.

I tried different combinations of AOLServer 4.0.10, 4.5.x, from CVS and tcl <= 8.4.6, 8.4.13, .14, CVS but never got xowiki working and got intermittent server crashes.

Here's how I solved it:

- Downgraded bash (FC6 comes with bash-3.1, I downloaded the bash-3.0.x source, compiled it, symlinked /bin/sh to the compiled bash binary)

- Used tcl-8.4.6 instead of tcl-8.4.13 that comes with FC6 (it's unfortunate coz the tcl in FC6 already has threads enabled)

Now everything works perfectly with aolserver-4.0.10, xotcl-1.5.2 and the latest xowiki and xotcl-core from HEAD.