Forum .LRN Q&A: Re: dotLRN gradebook

Collapse
12: Re: dotLRN gradebook (response to 1)
Posted by Al Guyer on
I did the following:
---------------------
1. stopped the server
2. copied the three directories to /var/www/oacs/packages
3. started the server
4. ran http://localhost/acs-admin/install/
5. sure enough, the "evaluation" package was there
6. approved the install
7. was greeted with server error:

can't read "package_id": no such variable
while executing
"list package_id $package_id "
(procedure "content::template::new" line 3)
invoked from within
"content::template::new -name evaluation-tasks-default -text "@text;noquote@" -is_live t"
invoked from within
"set template_id [content::template::new -name evaluation-tasks-default -text "@text;noquote@" -is_live t]"
("uplevel" body line 30)
invoked from within
"uplevel 1 $transaction_code "
(procedure "db_transaction" line 1)
invoked from within
"db_transaction {

# Create the impl and aliases for one assignment
set impl_id [create_one_assignment_impl]

# Create the notification type..."
(procedure "evaluation::apm::package_install" line 2)
invoked from within
"evaluation::apm::package_install "
("eval" body line 1)
invoked from within
"eval $command"
(procedure "apm_invoke_callback_proc" line 35)
invoked from within
"apm_invoke_callback_proc -version_id $version_id -type after-install"
(procedure "apm_package_install" line 135)
invoked from within
"apm_package_install -enable -package_path $package_path -load_data_model -data_model_files $data_model_files $spec_file"
("foreach" body line 52)
invoked from within
"foreach package_key $install {
ns_log Notice "Installing $package_key"

array unset version
array set version $repository($package_key..."
("uplevel" body line 49)
invoked from within
"uplevel {
ad_page_contract {
Install packages -- actual installation

@param install Tcl list of packages to install in the order in wh..."
(procedure "code::tcl::/var/www/oacs/packages/acs-admin/www/install/inst..." line 2)
invoked from within
"code::tcl::$__adp_stub"
invoked from within
"if { [file exists $__adp_stub.tcl] } {

# ensure that data source preparation procedure exists and is up-to-date
adp_init tcl $__adp_stub
..."
("uplevel" body line 3)
invoked from within
"uplevel {

if { [file exists $__adp_stub.tcl] } {

# ensure that data source preparation procedure exists and is up-to-date
adp_init t..."
(procedure "adp_prepare" line 2)
invoked from within
"adp_prepare "
(procedure "template::adp_parse" line 30)
invoked from within
"template::adp_parse [file root [ad_conn file]] {}"
(procedure "adp_parse_ad_conn_file" line 5)
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..."