Forum OpenACS Q&A: Re: Unable to login after upgrade to OpenACS 5.1
[07/May/2004:12:15:49][10003.1024][-main-] Error: Error sourcing /var/lib/aolserver/ibr/packages/acs-automated-testing/tcl/test/acs-automated-testing-procs.tcl:
Invalid switch: "-libraries"
while executing
"aa_register_case__arg_parser"
(procedure "aa_register_case" line 1)
invoked from within
"aa_register_case -cats {web smoke} -libraries tclwebtest tclwebtest_example {
A simple test case demonstrating the use of tclwebtest (HTTP level t..."
(file "/var/lib/aolserver/ibr/packages/acs-automated-testing/tcl/test/acs-automated-testing-procs.tcl" line 9)
invoked from within
"source $__file "
[07/May/2004:12:15:49][10003.1024][-main-] Error: Error sourcing /var/lib/aolserver/ibr/packages/acs-lang/tcl/test/acs-lang-test-procs.tcl:
Invalid switch: "-procs"
while executing
"aa_register_case__arg_parser"
(procedure "aa_register_case" line 1)
invoked from within
"aa_register_case \
-procs {
lang::util::replace_temporary_tags_with_lookups
lang::catalog::export_messages_to_file
lang::catalog::parse
lang::..."
(file "/var/lib/aolserver/ibr/packages/acs-lang/tcl/test/acs-lang-test-procs.tcl" line 467)
invoked from within
"source $__file "
[07/May/2004:12:15:49][10003.1024][-main-] Error: Error sourcing /var/lib/aolserver/ibr/packages/acs-tcl/tcl/test/acs-tcl-test-procs.tcl:
Invalid switch: "-error_level"
while executing
"aa_register_case__arg_parser"
(procedure "aa_register_case" line 1)
invoked from within
"aa_register_case -cats {} -error_level notice acs_tcl__tcl_file_common_errors {
Test all known tcl files for successful parsing "(in the [info com..."
(file "/var/lib/aolserver/ibr/packages/acs-tcl/tcl/test/acs-tcl-test-procs.tcl" line 719)
invoked from within
"source $__file "
[07/May/2004:12:15:49][10003.1024][-main-] Error: Error sourcing /var/lib/aolserver/ibr/packages/acs-
tcl/tcl/test/html-conversion-procs.tcl:
Invalid switch: "-bugs"
while executing
"aa_register_case__arg_parser"
(procedure "aa_register_case" line 1)
invoked from within
"aa_register_case -cats {api smoke} -bugs 386 -error_level warning \
ad_html_to_text_clipped_link {
Test if it converts clipped links.
} {
..."
(file "/var/lib/aolserver/ibr/packages/acs-tcl/tcl/test/html-conversion-procs.tcl" line 24)
invoked from within
"source $__file "
[07/May/2004:12:16:05][10003.1024][-main-] Error: Error sourcing /var/lib/aolserver/ibr/packages/acs-
service-contract/tcl/acs-service-contract-init.tcl:
wrong # args: should be "acs_sc_proc contract operation impl"
while executing
"acs_sc_proc $impl_contract_name $impl_operation_name $impl_name $impl_alias $impl_pl"
("uplevel" body line 3)
invoked from within
"uplevel 1 $code_block "
("1" arm line 1)
invoked from within
"switch $errno {
0 {
# TCL_OK
}
1 {
# TCL_ERROR
..."
("while" body line 20)
invoked from within
"while { [db_getrow $db $selection] } {
incr counter
if { [info exists array_val] } {
unset array_val
..."
("uplevel" body line 5)
invoked from within
"uplevel 1 $code_block "
invoked from within
"db_with_handle -dbn $dbn db {
set selection [db_exec select $db $full_statement_name $sql]
set counter 0
while { [db_getrow $..."
(procedure "db_foreach" line 36)
invoked from within
"db_foreach impl_operation {
select ia.impl_contract_name,
ia.impl_operation_name,
ia.impl_name,
ia.impl_alias,
..."
(file "/var/lib/aolserver/ibr/packages/acs-service-contract/tcl/acs-service-contract-init.tcl" li
ne 2)
invoked from within
"source $__file "
[07/May/2004:12:16:05][10003.1024][-main-] Error: Error sourcing /var/lib/aolserver/ibr/packages/lars
-blogger/tcl/blogger-api-init.tcl:
invalid command name "xmlrpc::register_proc"
while executing
"xmlrpc::register_proc blogger.newPost"
(file "/var/lib/aolserver/ibr/packages/lars-blogger/tcl/blogger-api-init.tcl" line 9)
invoked from within
"source $__file "
[07/May/2004:12:16:05][10003.1024][-main-] Error: Error sourcing /var/lib/aolserver/ibr/packages/lars
-blogger/tcl/metaweblog-api-init.tcl:
invalid command name "xmlrpc::register_proc"
while executing
"xmlrpc::register_proc metaWeblog.newPost"
(file "/var/lib/aolserver/ibr/packages/lars-blogger/tcl/metaweblog-api-init.tcl" line 10)
invoked from within
"source $__file "
[07/May/2004:12:16:13][10003.1024][-main-] Error: Error sourcing /var/lib/aolserver/ibr/packages/acs-
tcl/tcl/test/acs-tcl-test-procs.tcl:
Invalid switch: "-error_level"
while executing
"aa_register_case__arg_parser"
(procedure "aa_register_case" line 1)
invoked from within
"aa_register_case -cats {} -error_level notice acs_tcl__tcl_file_common_errors {
Test all known tcl files for successful parsing "(in the [info com..."
(file "/var/lib/aolserver/ibr/packages/acs-tcl/tcl/test/acs-tcl-test-procs.tcl" line 719)
invoked from within
"source $__file "
[07/May/2004:12:16:13][10003.1024][-main-] Error: Error sourcing /var/lib/aolserver/ibr/packages/acs-
tcl/tcl/test/html-conversion-procs.tcl:
Invalid switch: "-bugs"
while executing
"aa_register_case__arg_parser"
(procedure "aa_register_case" line 1)
invoked from within
"aa_register_case -cats {api smoke} -bugs 386 -error_level warning \
ad_html_to_text_clipped_link {
Test if it converts clipped links.
} {
..."
(file "/var/lib/aolserver/ibr/packages/acs-tcl/tcl/test/html-conversion-procs.tcl" line 24)
invoked from within
"source $__file "
[07/May/2004:12:16:15][10003.1024][-main-] Notice: Loading messages in file /var/lib/aolserver/ibr/pa
ckages/acs-kernel/catalog/acs-kernel.en_US.ISO-8859-1.xml
WARNING: Error occurred while executing PL/pgSQL function apm_package_version__new
WARNING: line 34 at SQL statement
[07/May/2004:12:16:18][10003.1024][-main-] Error: Ns_PgExec: result status: 7 message: ERROR: Cannot
insert a duplicate key into unique index apm_package_vers_ver_uri_un
[07/May/2004:12:16:18][10003.1024][-main-] Error: apm_package_install: Error installing Kernel versio
n 5.0.4: Database operation "0or1row" failed (exception NSDB, "Query was not a statement returning ro
ws.")
ERROR: Cannot insert a duplicate key into unique index apm_package_vers_ver_uri_un
SQL:
select apm_package_version__new(
NULL,
'acs-kernel',
'5.0.4',
'https://openacs.org/repository/download/apm/acs-kernel-5.0.4.apm';,
'Routines and data models providing the foundation for OpenACS-based Web serv
ices.',
'text/html',
'The OpenACS kernel contains the core datamodel create and drop scripts for s
uch things as objects, groups, partiies and the supporting PL/SQL and PL/pgSQL procedures.',
'2004-03-10',
'OpenACS',
'http://openacs.org';,
NULL,
't',
't'
);
Database operation "0or1row" failed (exception NSDB, "Query was not a statement returning rows.")
ERROR: Cannot insert a duplicate key into unique index apm_package_vers_ver_uri_un
SQL:
select apm_package_version__new(
NULL,
'acs-kernel',
'5.0.4',
'https://openacs.org/repository/download/apm/acs-kernel-5.0.4.apm';,
'Routines and data models providing the foundation for OpenACS-based Web serv
ices.',
'text/html',
'The OpenACS kernel contains the core datamodel create and drop scripts for s
uch things as objects, groups, partiies and the supporting PL/SQL and PL/pgSQL procedures.',
'2004-03-10',
'OpenACS',
'http://openacs.org';,
NULL,
't',
't'
);
while executing
"ns_pg_bind 0or1row nsdb0 {
select apm_package_version__new(
:version_id,
:package_key,
:version_name,
:version_uri,
:summary,
:des..."
("uplevel" body line 1)
invoked from within
"uplevel $ulevel [list ns_pg_bind $type $db $sql]"
("postgresql" arm line 2)
invoked from within
"switch $driverkey {
oracle {
return [uplevel $ulevel [list ns_ora $type $db $sql] $args]
}
..."
invoked from within
"db_exec 0or1row $db $full_statement_name $sql"
invoked from within
"if {[regexp -nocase -- {^\s*select} $test_sql match]} {
ns_log Debug "PLPGSQL: bypassed anon function"
etc.
same thing for acs-lang
same thing for acs-service-contract
Now I'm trying to hack my site so that I can login in and get around the service contract issue, which is what this seems to be?