Forum .LRN Q&A: A couple of basic questions

Collapse
Posted by David Cotter on
Regarding .lrn 1.0.1 I have 2 question that I hope you can help me with. I have installed it for the first time.

1) Do I install it in conjuction with openacs - what I did was just install it without any openacs stuff. I am assuming that all required openacs functionality it is with .lrn

2) More seecifically when I try to add a class to a subject I get the following db (postgres) error. I would have thought this is a failry basic thing to do so I'm assuming I have done something wrong with the install of set up.

Database operation "0or1row" failed (exception NSDB, "Query was not a statement returning rows.")
    while executing
"ns_pg_bind 0or1row nsdb0 {
            select value
            from portal_element_parameters
            where element_id = :element_id
            ..."
    ("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
"set selection [db_exec 0or1row $db $full_statement_name $sql]"
    ("uplevel" body line 2)
    invoked from within
"uplevel 1 $code_block "
    invoked from within
"db_with_handle db {
    set selection [db_exec 0or1row $db $full_statement_name $sql]
    }"
    (procedure "db_0or1row" line 22)

Collapse
Posted by Carl Robert Blesius on
David,

the .LRN 1.0.1 tarball does come with the required OpenACS packages (you can easily add any other packages you need later). I was not able to reproduce the error you posted on our installations of .LRN 1.0.1. Did you figure it out?

Carl

Collapse
Posted by David Cotter on
> I was not able to reproduce the error you posted on our
> installations of .LRN 1.0.1. Did you figure it out?

No - could this be because I'm using pg 7.2.3 instead of 7.2.4?