Forum OpenACS Q&A: Search the SDM at OpenACS with htDig

Collapse
Posted by Jerry Asher on
I've added openacs.org/sdm to my htDig & OpenACS demonstration page at http://www.theashergroup.com/demos/openacs/. You can download the htDig & OpenACS 3.2.5 package from my SDM http://www.theashergroup.com/sdm/

I find it useful search bug reports looking for keywords, etc.

The link above takes you to the OpenACS simple site search. It will search much of the OpenACS site: forums, faqs, documentation, sdm, file storage system. To search just the sdm, click on the advanced search button.

Collapse
Posted by Randy O'Meara on
Very slick...
Collapse
Posted by amit singh on
How to patch the aolserver. I have the rpm install of aolserver on RH 7.0. Things are working but with errors. Like
[07/Sep/2001:19:00:11]
    Error: called "ns_log" with too many arguments
    called "ns_log" with too many arguments
        while executing
    "ns_log debug newsearch "1" "[set newsearch]""
        invoked from within chunk: 1 of adp: ns_adp_parse

[07/Sep/2001:19:00:11]
    Error: can't read "description": no such variable
    can't read "description": no such variable
        while executing
    "set description"
        invoked from within
    "ns_adp_puts -nonewline  [set description] "
        invoked from within chunk: 3 of adp: ns_adp_parse

[07/Sep/2001:19:00:11]
    Error: can't read "othersearchlink": no such variable
    can't read "othersearchlink": no such variable
        while executing
    "set othersearchlink"
        invoked from within
    "ns_adp_puts -nonewline  [set othersearchlink] "
        invoked from within chunk: 4 of adp: ns_adp_parse

[07/Sep/2001:19:00:11]
    Error: can't read "additional_body": no such variable
    can't read "additional_body": no such variable
        while executing
    "set additional_body"
        invoked from within
    "ns_adp_puts -nonewline  [set additional_body] "
        invoked from within chunk: 5 of adp: ns_adp_parse
    Notice: dbdrv: opening database 'postgres:localhost::acs'

[07/Sep/2001:19:00:18]
    Error: called "ns_log" with too many arguments
    called "ns_log" with too many arguments
        while executing
    "ns_log debug newsearch "" "[set newsearch]""
        invoked from within chunk: 1 of adp: ns_adp_parse

[07/Sep/2001:19:00:18]
    Error: can't read "description": no such variable
    can't read "description": no such variable
        while executing
    "set description"
        invoked from within
    "ns_adp_puts -nonewline  [set description] "
        invoked from within chunk: 3 of adp: ns_adp_parse

[07/Sep/2001:19:00:18]
    Error: can't read "othersearchlink": no such variable
    can't read "othersearchlink": no such variable
        while executing
    "set othersearchlink"
        invoked from within
    "ns_adp_puts -nonewline  [set othersearchlink] "
        invoked from within chunk: 4 of adp: ns_adp_parse

[07/Sep/2001:19:00:18]
    Error: can't read "additional_body": no such variable
    can't read "additional_body": no such variable
        while executing
    "set additional_body"
        invoked from within
    "ns_adp_puts -nonewline  [set additional_body] "
        invoked from within chunk: 5 of adp: ns_adp_parse
    202.88.151.25 - - [07/Sep/2001:19:00:18 +0530] "GET /search/site-wide-dig.tcl?restrict=&exclude=&simple_or_advanced=&collection_list=htdig.tag.tag&words=page&method=and&search_algorithm=exact%3A1+prefix%3A0.2 HTTP/1.0" 200 8125 "http://xxxxx:8000/search/site-wide-dig.tcl" "Mozilla/4.75 [en] (X11; U; Linux 2.2.16-22 i686)"
    
Hope someone can help me sort out the problems
Collapse
Posted by Jerry Asher on
Amit,

I am not familiar with where the rpm version of AOLserver installs the AOLserver source.  (Does it install the source?)  What is the full pathname of the aolserver/nsd directory?

Without the patch, there is no way to get the site wide dig package working.

Collapse
Posted by Jonathan Marsden on
No, the RPM set I created does not install the source.

To apply a patch you would need to grab the SRPM, add the patch file,
add two lines to the .spec file, and rebuild the RPM. I would prefer to spend time on OpenACS4 than on patches to AOlserver myself at this point, but by all means grab my SRPM and add the patchfile, and let me know how you get on.

Collapse
Posted by Jerry Asher on
Amit,

Though I bet it's a five minute task, especially when starting with someone's work to begin with, I'm not really in a position right now to learn about building RPMs and testing them....

If you will install the AOLserver SRPM you'll have the sources you need.  After that, applying the patch is pretty easy, but you will need to be comfortable with building AOLserver from scratch.

Another alternative is to just download the AOLserver ad33.13 source, compile and build the system and install it over where it is right now.  (That should require changing at most, one symbol in one include file.)

Alternatively, if you can find someone to build the SRPM itself, I will be happy to help out and discuss how the patch gets applied.