Forum OpenACS Development: Re: Error in OpenFTS 0.3.1

Collapse
4: Re: Error in OpenFTS 0.3.1 (response to 1)
Posted by Dave Bauer on
Ok, The problem was openfts-driver was loading openfts 0.2 tcl code instead of 0.3. I submitted a bug report and patch here: Now I am getting this error in the OpenFTS code:
[15/Nov/2002:23:33:33][16489.32771][-sched-] Error: invalid command name "end_pa
rse"
invalid command name "end_parse"
    while executing
"end_parse"
    (procedure "Search::OpenFTS::Parser::end_parser" line 2)
    invoked from within
"Search::OpenFTS::Parser::end_parser"
    (procedure "Search::OpenFTS::Index::_addtxt" line 30)
    invoked from within
"Search::OpenFTS::Index::_addtxt self struct $title"
    (procedure "Search::OpenFTS::Index::index" line 7)
    invoked from within
"Search::OpenFTS::Index::index idx $tid $txt $title"
    (procedure "openfts_driver__index" line 12)
    invoked from within
"openfts_driver__index $object_id $txt $title $keywords"
    (procedure "AcsSc.FtsEngineDriver.index.openfts-driver" line 1)
    invoked from within
"AcsSc.FtsEngineDriver.index.openfts-driver 3155 {Here is the latest test.} {Tes
t 3 i think} {}"
    ("uplevel" body line 1)
    invoked from within
"uplevel $func_and_args"
    (procedure "apply" line 3)
    invoked from within
"apply $proc_name $arguments"
    (procedure "acs_sc_call" line 6)
    invoked from within
"acs_sc_call FtsEngineDriver index [list $datasource(object_id) $txt $datasource
(title) $datasource(keywords)] $driver"
    ("INSERT" arm line 7)
    invoked from within
"switch $event {
            INSERT {
                set object_type [acs_object_type $object_id]
                if {[acs_sc_binding_exists_p FtsCont..."
    ("uplevel" body line 3)
    invoked from within
"uplevel 1 $code_block "
    ("1" arm line 1)
    invoked from within
"switch $errno {
:
It looks like it is trying to INSERT the content of the item into the index.