[Koha] Please Help: Authority Search - Not returning Result. Zebra Index Picks up 4 Authority Records
Susan Mustafa
susan.mustafa at gmail.com
Mon Nov 2 17:18:22 NZDT 2009
Hi,
Actually that is the the issue in my case. This bug is fixed on my version
of Koha, since in the code, I only see "Heading", not "Main Heading".
I am really unsure of what to do? For some reason, it is not picking up from
the database. The biblios work, but the Authorities don't...why? I don't
know.
The export from rebuild_zebra exports 4 records [Which is how many
authorities I have]
Hope someone can help me out with this,
On Mon, Nov 2, 2009 at 12:13 AM, Bernardo Gonzalez Kriegel <
gonzalez at famaf.unc.edu.ar> wrote:
> This is an old bug.
> Not as a fix, but to do that authorities search work do the following:
>
> Edit AuthoritiesMarc.pm (usually at
> /usr/share/koha/lib/C4/AuthoritiesMarc.pm), search for "Heading-Main" (on
> koha 3.0.3 is on line 223) and replace with "Heading", same value as 2 lines
> below ( it looks like '$attr =" \@attr 1=Heading ";'), and voilà!
> authorities search work.
>
> works for me.
> bgk
>
> PS: This a "solution" that I find googling around. Perhaps there is no many
> people that use authorities with koha, or we are doing things very bad, or I
> don't know how to work out a proper solution.
>
>
> 2009/11/1 Susan Mustafa <susan.mustafa at gmail.com>
>
>>
>> Hi everyone,
>>
>> I hope I can get a reply soon as it seems this is a very urgent issue and
>> stopping me from going live.
>>
>> Please note the following problem:
>>
>> Simple Explanation: I create a new "Personal Name" authority framework,
>> add only enter "Susan M" in Tab 1, Tag @a --Save
>>
>> Do rebuild_zebra -a -r <-- For rebuilding Authority Indexes. It says
>> exported 4 records, which is correct. I created 4 Authority Records in
>> Koha.
>>
>> Search Authority in Koha - Drop down [Personal Name]-Contains- Susan <--
>> Returns Nothing.
>>
>>
>> -----------------------
>> Biblios works perfectly fine. Only Authorities do not show in Koha. I
>> really did do my best, but I can't seem to solve it on my own. So any help
>> is greatly appreciated.
>>
>>
>> Tail - Copy/Paste of koha-err.log
>> [Sun Nov 01 16:22:41 2009] [error] [client 172.21.255.32] [Sun Nov 1
>> 16:22:41 2009] authorities-home.pl: oAuth error: Database unavailable
>> (109) authorities Bib-1, referer:
>> http://172.21.236.24:8080/cgi-bin/koha/authorities/detail.pl?authid=4
>> mistuser at MIST-Koha-Dev-V2:/$
>>
>> From zebraquedaemon
>>
>> <Susan-Dev> 13:53:59-15/11 zebrasrv(107) [request] Search authorities
>> ERROR 109 1 1+0 RPN @attrset Bib-1 @or @attr "1=Heading" @attr 7=1 0 @attr
>> 4=6 @attr 5=1 @attr "1=Heading" susan 13:54:00-15/11 zebrasrv(107) [session]
>> Connection closed by client 14:04:21-15/11 zebrasrv(108) [session] Session -
>> OK 108 unix:/var/run/koha/zebradb/authoritysocket 369 14:04:21-15/11
>> zebrasrv(108) [log] User perm for perm.koha: rw 14:04:21-15/11 zebrasrv(108)
>> [request] Auth idPass koha - 14:04:21-15/11 zebrasrv(108) [request] Init OK
>> - ID:81/81 Name:ZOOM-C/YAZ Version:1.116/2.1.54 14:04:21-15/11 zebrasrv(108)
>> [warn] zebra_lock_create fail
>> fname=/var/lock/koha/zebradb/authorities/norm..LCK [Permission denied]
>> 14:04:21-15/11 zebrasrv(108) [warn] zebra_lock_create fail
>> fname=/var/lock/koha/zebradb/authorities/shadow..LCK [Permission denied]
>> 14:04:21-15/11 zebrasrv(108) [request] Search authorities ERROR 109 1 1+0
>> RPN @attrset Bib-1 @or @attr 2=103 @attr "1=_ALLRECORDS" '' @attr
>> "1=Heading" @attr 7=1 0 14:04:21-15/11 zebrasrv(108) [session] Connection
>> closed by client mistuser at MIST-Koha-Dev-V2:/var/lock/koha/zebradb$
>>
>>
>> Hope someone can help me. Please do try :) Don't mind the timestamp
>> differences. I just copied the errors at different times.
>>
>> I hope someone can help me.
>>
>> Thank you,
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Koha mailing list
>> Koha at lists.katipo.co.nz
>> http://lists.katipo.co.nz/mailman/listinfo/koha
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20091102/f419ff9e/attachment.htm
More information about the Koha
mailing list