Forum OpenACS Q&A: Error installing 5.01beta gzip on aolserver4.0

Got this error when installing any package. CVS'ed HEAD and things were fine ...

could not read "": no such file or directory
    while executing
"file mtime $path"
    (procedure "apm_read_package_info_file" line 6)
    invoked from within
"apm_read_package_info_file $spec_file_path"
    (procedure "apm_package_install" line 4)
    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 47)
    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/execusite/openacs/packages/acs-admin/www/in..." 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 7)
    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([ad_conn url]) [ad_conn path_inf..."

Collapse
Posted by Chris Davies on
that's really funny because I reported the same identical issue weeks ago -- with no response.

However, in my situation, CVS didn't work and only the tarball worked.  I still have never successfully gotten a CVS version to install, but what I have to do is install the tarball, then  use CVS to get the modules that are not in the tarball that I want to use.

I have no idea what the error is from -- I just worked around it and figured I was the only one that hit it since noone ever responded.

Collapse
Posted by Alfred Werner on
I guess this will be the mystery bug :) Since I worked around it and have no idea what caused it I guess it's just there for head scratching purposes ... I posted it because I thought maybe the distro was broken somehow.