Forum OpenACS Q&A: ETP problem in head?

Collapse
Posted by Dave Manginelli on
I did a fresh install of OACS 5.?? from head using the automatic install script.  The install seemed OK but when trying to add content using ETP I get the following error page when trying to set either the release or archive dates:

can't read "datevalue(date)": variable isn't array
    while executing
"set date_string $datevalue(date)"
    invoked from within
"if {[info exists datevalue]} {
    set date_string $datevalue(date)
    # The date is given in YYYY-MM-DD.  Transform to desired format.
    set date_format [e..."
    ("uplevel" body line 4)
    invoked from within
"uplevel #$level $new_data"
    ("1" arm line 598)
    invoked from within
"switch $errno {
                0 {
                    # TCL_OK
                }
                1 {
                    # TCL_ERROR
              ..."
    (procedure "ad_form" line 612)
    invoked from within
"ad_form -export { name attribute  widget} -form $form_list -edit_request {

My db is Postgres.  The page in question is etp-edit.  Is anyone else having similar difficulties?  Should I check my install logs?

TIA

Collapse
2: Re: ETP problem in head? (response to 1)
Posted by Brian Fenton on
In case anyone else needs it, I saw this same error ("can't read .... variable isn't array while executing") the other day and it turned out to be an unclosed property tag in the adp. Took a while to track down.