Forum OpenACS Q&A: site node not found at url ""

Collapse
Posted by Jade Rubick on
I've uploaded a bunch of changes to project-manager, so I wanted to test it out on a fresh install.

I set up the install from the 4-6 branch from CVS.

Then loaded the project-manager package.

The data model seems to load okay, then:

[...]

CREATE FUNCTION
define_function_args
----------------------
                    1
(1 row)
CREATE FUNCTION

Package enabled.HTTP/1.0 200 OK Server: AOLserver/3.3.1+ad13 Content-Type: text/html; charset=iso-8859-1 MIME-Version: 1.0 Date: Wed, 30 Jul 2003 21:00:55 GMT Content-Length: 3035 Connection: close

Request Error

site node not found at url ""
    while executing
"error "site node not found at url \"$url\"""
    (procedure "get_from_url" line 33)
    invoked from within
"get_from_url -url $url"
    (procedure "site_node::get" line 12)
    invoked from within
"site_node::get -url "/${priority_mount_path}""
    (procedure "apm_package_install" line 130)
    invoked from within
"apm_package_install  -enable=$enable_p  -install_path $install_path  -callback apm_ns_write_callback  -load_data_model  -data_model_files $data_model_..."
    ("foreach" body line 45)
    invoked from within
"foreach pkg_info $pkg_install_list {
    set spec_file [pkg_info_spec $pkg_info]
    if { [catch {
        array set version [apm_read_package_info_file $spe..."
    ("uplevel" body line 36)
    invoked from within
"uplevel {
          ad_page_contract {

    Installs the packages.

    @author Bryan Quinn (mailto:bquinn@arsdigita.com)
    @creation-date Mon Oct  9 00:22:31..."
    (procedure "code::tcl::/web/openacs-4-6-branch/packages/acs-admin/www/ap..." 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..."

This looks to me like a problem with the .info file, perhaps because of the fact that I included an auto-mount location at /project-manager?

I've searched and looked, but can't figure it out. Any help, please?

Collapse
Posted by Randy O'Meara on
I'm stretching my memory here but it seems that I ran into a problem like this right after I added the automount entry to an info file. I can't tell from your error output above, but be certain that it doesn't contain a leading '/'. Just a thought...

Randy

Collapse
Posted by Jade Rubick on
You're right, there was a leading /

THANK YOU!

Collapse
Posted by Randy O'Meara on
I'm glad that the time I spent on the same problem could benefit someone else. You're welcome.