[Koha-bugs] [Bug 7832] New: Server Z39.50 for Unimarc

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 27 17:35:54 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7832

          Priority: P5 - low
 Change sponsored?: ---
            Bug ID: 7832
          Assignee: gmcharlt at gmail.com
           Summary: Server Z39.50 for Unimarc
        QA Contact: koha.sekjal at gmail.com
          Severity: enhancement
    Classification: Unclassified
                OS: All
          Reporter: dubyk at library.lviv.ua
          Hardware: All
            Status: NEW
           Version: unspecified
         Component: Z39.50 / SRU / OpenSearch Servers
           Product: Koha

I try to setup Z39-50 server for our library with Unimarc-records.
But in result was broken a normal search.

Step by step:

1) Used links as guide:

* [Koha-patches] [PATCH] Bug #3087 - Improve z39.50 server Unimarc support
(http://lists.koha-community.org/pipermail/koha-patches/2009-April/008573.html)

* how to use z39.50 ? 
(http://koha.1045719.n5.nabble.com/how-to-use-z39-50-td3057672.html)

* [Zebralist] Problems with Koha/Zebra as Z39.50 server
(http://lists.indexdata.dk/pipermail/zebralist/2009-March/002138.html)

* Troubleshooting Koha as a Z39.50 server
(http://wiki.koha-community.org/wiki/Troubleshooting_Koha_as_a_Z39.50_server)

2) In /etc/koha/koha-conf.xml uncomment
<listen id="publicserver" >tcp:@:9998</listen>

and 

<server id="publicserver"  listenref="publicserver">.
...
</server>

and

<serverinfo id="publicserver">
...
</serverinfo>


3) Also in file /etc/koha/koha-conf.xml
replace usmarc -> unimarc

4) Create /etc/koha/zebradb/etc/unimarc.mar
with content:

name unimarc
reference Unimarc

5) Replace in  /etc/koha/zebradb/marc_defs/unimarc/biblios/record.abs
as follows:

name unimarc
...
marc unimarc.mar

6) /etc/init.d/koha-zebra-demon restart

7) yaz-client -c /etc/koha/zebradb/ccl.properties localhost:9998/biblios
Connecting...OK.
Sent initrequest.
Connection accepted by v3 target.
ID     : 81
Name   : Zebra Information Server/GFS/YAZ
Version: 4.0.11 e8ca42e680c5e5a644481e5d0b75a0e57c6d3e92
Options: search present delSet triggerResourceCtrl scan sort extendedServices
namedResultSets
Elapsed: 0.001831

7) Look: http://koha.tntu.edu.ua:9998/biblios

8) Try to test with http://www.loc.gov/z3950/test.html
(Enter Term 1: .... [Any])
If port 9998 opened in firewall, we will see something:

Search Results
924 records matched your query [2005].

9) But in OPAC we have

Error:
Can't call method "raw" on an undefined value at
/usr/share/koha/lib/C4/Search.pm line 460. 

on any search.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list