Forum OpenACS Q&A: acs-mail-lite failing install oacs-5-2

I've been tracking the oacs-5-2 branch, and things were going
along pretty well, but I just installed a fresh system and
acs-mail-lite won't install.  Has anyone seen this?  Is it
a known problem, or should I file a bug.

Errors below:

[19/Sep/2005:02:54:30][1558.8][-conn:openACS::4] Notice: dbdrv: opening database 'postgres:localhost::acs'
[19/Sep/2005:02:54:30][1558.8][-conn:openACS::4] Notice: Opening acs on localhost
[19/Sep/2005:02:54:30][1558.8][-conn:openACS::4] Notice: Ns_PgOpenDb(postgres):  Openned connection to localhost::acs.
[19/Sep/2005:02:54:30][1558.8][-conn:openACS::4] Notice: <p>Installed Mail Services Lite, version 1.0b2.</p>
[19/Sep/2005:02:54:30][1558.8][-conn:openACS::4] Notice: <p>Package enabled.
[19/Sep/2005:02:54:30][1558.8][-conn:openACS::4] Notice: apm_invoke_callback_proc: invoking callback after-install with command acs_mail_lite::after_install 
[19/Sep/2005:02:54:30][1558.8][-conn:openACS::4] Error: GET http://clara.webrelay.net/acs-admin/install/install-3?repository%5furl=
referred by "http://clara.webrelay.net/acs-admin/install/install-2?repository_url=&package_key=bug-tracker&package_key=calendar&package_key=contacts"
invalid command name "acs_mail_lite::after_install"
    while executing
"acs_mail_lite::after_install "
    ("eval" body line 1)
    invoked from within
"eval $command"
    (procedure "apm_invoke_callback_proc" line 37)
    invoked from within
"apm_invoke_callback_proc -version_id $version_id -type after-install"
    (procedure "apm_package_install" line 146)
    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::/home/docs/OpenACS/openACS/packages/acs-admin/www..." 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..."
Collapse
Posted by Torben Brosten on
Looks like its related to bug 2568[1] TclLib is required for oacs-5-3 per tip 85[2]. Since the 5.2 release has been delayed, maybe tcllib is practically required for 5.2 also? The bug comments explain how to install.

1. https://openacs.org/bugtracker/openacs/bug?f%5fcomponent=56181&format=table&f%5fstate=8&bug%5fnumber=2568&project%5fid=56106

2. https://openacs.org/forums/message-view?message%5fid=298282

Collapse
Posted by Malte Sussdorff on
Strange. I thought I had written a wrapper that checks if TCLLIB is installed and if not that it loads the mime procedures in mime-procs.tcl, making them available in acs-mail-lite. Either way, the best thing to do is to install tcllib.
Collapse
Posted by Sam Nicholson on
Indeed! TCLlib is the answer, and I had even found that earlier. I'm stumped with why I didn't find it last night. How was I able to search earlier and find it in bugtracker, but not last night?

I'm pretty certain I had more to do with my deranged state of mind, than with errors in the oacs website!!!

But I should have found that. And I am thankful that you both so kindly reminded me.

Thanks!