Forum OpenACS Q&A: Response to troubles with openfts

Collapse
Posted by Kevin Lange on
Hey all, I'm getting the same error message as above (I'll post it in a nicer format below). I checked what Dan mentions in his response and my path to OpenFTS seems to be fine but since the original poster never responds I can't verify that is what his problem was. I'm still getting used to reading these error messages so please bear with my ignorance. It appears that the error is it can't find a definition for the subroutine start_parse_str which is located in file fts_parser.tcl. I've checked all the other files in the Search-OpenFTS-tcl-0.2 directory but this subroutine is not defined anywhere that I can see. Is that a correct assessment of the problem? If so, where should the logic for this reside? I thought I had followed the instructions for installation of the driver strictly so am not sure where I might have strayed from the path.

I've looked around at the forums and the only other post that I could see that was similar was. But, the solution here was they reinstalled which I'd prefer not to do since I've got everything else pretty much setup and working nicely. Thanks.

invalid command name "start_parse_str"
    while executing
"start_parse_str $rtxt"
    (procedure "Search::OpenFTS::Parser::start_parser" line 5)
    invoked from within
"Search::OpenFTS::Parser::start_parser $sstr"
    (procedure "Search::OpenFTS::get_sql" line 41)
    invoked from within
"Search::OpenFTS::get_sql self $query opt"
    (procedure "openfts_driver__search" line 18)
    invoked from within
"openfts_driver__search $query $offset $limit $user_id $df $dt"
    (procedure "AcsSc.FtsEngineDriver.search.openfts-driver" line 1)
    invoked from within
"AcsSc.FtsEngineDriver.search.openfts-driver try 0 10 2537 {} {}"
    ("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 search [list $q $offset $limit $user_id $df $dt] $driver"
    invoked from within
"array set result [acs_sc_call FtsEngineDriver search [list $q $offset $limit $user_id $df $dt] $driver]"
    ("uplevel" body line 59)
    invoked from within
"uplevel {
    	  ad_page_contract {
    @author Neophytos Demetriou <k2pts@cytanet.com.cy>
    @creation-date September 01, 2001
    @cvs-id $Id: sear..."
    (procedure "code::tcl::/web/testnet/packages/search/www/search" 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 3)
    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..."