Hi, Recently somebody on this list wrote to add the line "encoding utf-8 " to /etc/koha/zebradb/lang_defs/en/sort-string-utf.chr. I just discovered that from that time on I have multiple errors in the log of rebuild_zebra like: [fatal] Bad value-set specification [warn] Failed to read character table sort-string-utf.chr It appears that this file also had latin1 file encoding in my OS. Saving it with utf-8 file encoding seems to resolve the situation.. Regards, Marcel
Hi, Is there a way in Koha to know if a borrower is allowed to check out a book without trying to do it effectively? I would like to be able, given a borrower number, to know immediately if he's blocked. This is related to Koha SIP2 Server. In the protocol, the Self-Check can ask to Koha such a thing and give immediately feedback to the patron. For what I see in C4::Circulation, there is a function named TooMany which verify a borrower's authorization to check out put but with an item number. Do you think that Koha issuing rules would permit to have a IsBorrowerAllowedToCheckout function accepting just a borrower ID parameter? Thanks. -- Frédéric DEMIANS http://www.tamil.fr/u/fdemians.html
Frederic Demians a écrit :
For what I see in C4::Circulation, there is a function named TooMany which verify a borrower's authorization to check out put but with an item number. Do you think that Koha issuing rules would permit to have a IsBorrowerAllowedToCheckout function accepting just a borrower ID parameter?
Hi Frédéric, The problem is that none can say if "this borrower can issue", one can just say "this borrower can issue an item of type X, from branch B", as issuing rules are based on patron categ/itemtype/branch (except if patron is debarred, but that's not your question ;-) ) -- Paul POULAIN http://www.biblibre.com Expert en Logiciels Libres pour l'info-doc Tel : (33) 4 91 81 35 08
The problem is that none can say if "this borrower can issue", one can just say "this borrower can issue an item of type X, from branch B", as issuing rules are based on patron categ/itemtype/branch (except if patron is debarred, but that's not your question ;-) )
That's the answer I was afraid of. Thanks for the confirmation. -- Frédéric
I am the one who wrote about the encoding utf-8 line missing from the file. You are right. You are absolutely correct about converting the file from latin1 to uft-8 as well. We gave up on character mapping as a means of getting Spanish language diacritics to search properly and went with the icu.idx method. The string.chr file that the icu.idx file references was also encoded as latin1 instead of utf-8. The indexing worked, amazingly enough, even though I had more errors of different types than I have ever seen before on a simple reindex of Zebra. Converting the string.chr to utf-8 got rid of the errors. John Chadwick John.Chadwick@state.nm.us ________________________________ From: koha-devel-bounces@lists.koha.org [mailto:koha-devel-bounces@lists.koha.org] On Behalf Of Marcel de Rooy Sent: Thursday, December 17, 2009 4:41 AM To: koha-devel@lists.koha.org Subject: [Koha-devel] sort-string-utf.chr Hi, Recently somebody on this list wrote to add the line "encoding utf-8 " to /etc/koha/zebradb/lang_defs/en/sort-string-utf.chr. I just discovered that from that time on I have multiple errors in the log of rebuild_zebra like: [fatal] Bad value-set specification [warn] Failed to read character table sort-string-utf.chr It appears that this file also had latin1 file encoding in my OS. Saving it with utf-8 file encoding seems to resolve the situation.. Regards, Marcel ________________________________ This inbound email has been scanned for malicious software and transmitted safely to you using Webroot Email Security. ________________________________ Confidentiality Notice: This e-mail, including all attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited unless specifically provided under the New Mexico Inspection of Public Records Act. If you are not the intended recipient, please contact the sender and destroy all copies of this message. -- This email has been scanned by the Sybari - Antigen Email System. ______________________________________________________________________ Confidentiality Notice: This e-mail,including all attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review,use,disclosure or distribution is prohibited unless specifically provided under the New Mexico Inspection of Public Records Act. If you are not the intended recipient, please contact the sender and destroy all copies of this message. This email has been scanned using Webroot Email Security. ______________________________________________________________________
participants (4)
-
Chadwick, John, DCA -
Frederic Demians -
Marcel de Rooy -
Paul Poulain