Forum OpenACS Development: Re: bug fixes from 4.6 merged to HEAD

Collapse
Posted by tammy m on
Hi
I'm running postgres 7.3.1 and OACS that I downloaded from OpenACS.org CVS on 1/14/03.
HEAD of 4.6 development branch.
Downloaded with:
cvs -z3 -d :pserver:mailto:anonymous@openacs.org:/cvsroot co openacs-4

I'm getting lots of errors as well all seeming to be related to the acs-lang package and then the same RestrictToSSL error mentioned as well.

Any help would be most appreciated. I'm trying to use OACS for the first time!

Here go the errors I'm getting:

[16/Jan/2003:17:54:44][2065.6151][-conn3-] Notice: Querying '
      select locale, package_key, message_key, message
      from  lang_messages
      where package_key = acs-templating;'
[16/Jan/2003:17:54:44][2065.6151][-conn3-] Error: Ns_PgExec: result status: 7 message: ERROR:  Attribute "acs" not found

[16/Jan/2003:17:54:44][2065.6151][-conn3-] Error: dbinit: error(myhost.mydomain.com:5432:myserver,ERROR:  Attribute "acs" not found
): '
      select locale, package_key, message_key, message
      from  lang_messages
      where package_key = acs-templating
    '
[16/Jan/2003:17:54:44][2065.6151][-conn3-] Debug: <p>Failed to install ACS Templating, version 4.5.  The following error was generated:
<pre><blockquote>
Database operation &quot;select&quot; failed (exception NSDB, &quot;Query was not a statement returning rows.&quot;)

ERROR:  Attribute &quot;acs&quot; not found

SQL:
      select locale, package_key, message_key, message
      from  lang_messages
      where package_key = acs-templating

</blockquote></pre>

And this occurs later several times:

[16/Jan/2003:18:12:14][2065.3076][-conn0-] Debug: NO FULLQUERY FOR dbqd.acs-bootstrap-installer.installer.site-info-2.main_site_id_select --
<blockquote> using default SQL
</blockquote>
[16/Jan/2003:18:12:14][2065.3076][-conn0-] Notice: Querying '
    select package_id from apm_packages
    where instance_name = 'Main Site';'
[16/Jan/2003:18:12:14][2065.3076][-conn0-] Notice: dbinit: sql(myhost.mydomain.com:5432:myserver): '
    select package_id from apm_packages
    where instance_name = 'Main Site'
'
[16/Jan/2003:18:12:14][2065.3076][-conn0-] Notice: Querying '
            select apm__set_value(
                '641',
                'RestrictToSSL',
                'acs-admin/*'
            );'
[16/Jan/2003:18:12:14][2065.3076][-conn0-] Error: Ns_PgExec: result status: 7 message: ERROR:  -20000: The specified package 641 AND/OR parameter RestrictToSSL do not exist in the system

[16/Jan/2003:18:12:14][2065.3076][-conn0-] Error: dbinit: error(myhost.mydomain.com:5432:myserver,ERROR:  -20000: The specified package 641 AND/OR parameter RestrictToSSL do not exist in the system
): '
            select apm__set_value(
                '641',
                'RestrictToSSL',
                'acs-admin/*'
            );
        '
[16/Jan/2003:18:12:14][2065.3076][-conn0-] Error: Error sourcing /www/nsroot/myserver/packages/acs-bootstrap-installer/installer/site-info-2.tcl:
Database operation "0or1row" failed (exception NSDB, "Query was not a statement returning rows.")

ERROR:  -20000: The specified package 641 AND/OR parameter RestrictToSSL do not exist in the system

SQL:
            select apm__set_value(
                '641',
                'RestrictToSSL',
                'acs-admin/*'
            );

    while executing
"ns_pg_bind 0or1row nsdb0 {
            select apm__set_value(
                :package_id,
                :parameter,
                :value
        ..."
    ("uplevel" body line 1)
    invoked from within
"uplevel $ulevel [list ns_pg_bind $type $db $sql"
    invoked from within
"db_exec 0or1row $db $full_statement_name $sql"
    invoked from within
"if {[regexp -nocase -- {^\s*select} $test_sql match]} {
            db_qd_log QDDebug "PLPGSQL: bypassed anon function"
            set selection [db_..."
    ("uplevel" body line 6)
    invoked from within
"uplevel 1 $code_block "
    invoked from within
"db_with_handle db {
        # plsql calls that are simple selects bypass the plpgsql
        # mechanism for creating anonymous functions (OpenACS - ..."
    (procedure "db_exec_plsql" line 13)
    invoked from within
"db_exec_plsql set_parameter_value {}"
    (procedure "parameter::set_value" line 7)
    invoked from within
"parameter::set_value -package_id $package_id -parameter $name -value $set"
    (procedure "ad_parameter" line 4)
    invoked from within
"ad_parameter -set "acs-admin/*" -package_id $main_site_id RestrictToSSL"
    (file "/www/nsroot/myserver/packages/acs-bootstrap-installer/installer/site-info-2.tcl" line 45)
    invoked from within
"source $__file "

And this as well:

[16/Jan/2003:17:54:43][2065.2051][-sched-] Notice: Running scheduled proc lang::catalog::import_from_all_files_and_cache...
[16/Jan/2003:17:54:43][2065.2051][-sched-] Error: invalid command name "lang::catalog::import_from_all_files_and_cache"
invalid command name "lang::catalog::import_from_all_files_and_cache"
    while executing
"lang::catalog::import_from_all_files_and_cache"
    ("eval" body line 1)
    invoked from within
"eval [concat [list $proc] $args]"
    (procedure "ad_run_scheduled_proc" line 43)
    invoked from within
"ad_run_scheduled_proc {f t 5 lang::catalog::import_from_all_files_and_cache {} 1042768478 0 t}"

Thanks for any help. This is my first attempt to play with OACS and we hope to use it for a production site!