[Koha-devel] Enabling Arabic and Kurdish Indexing

MHE I.T. Admin (DRR) admin at mhe-krg.org
Wed Dec 21 14:16:06 CET 2016


I added Kurdish to this Wiki site

https://wiki.koha-community.org/wiki/ICU_Chains_Library#Kurdish_.28.DA.A9.D9.88.D8.B1.D8.AF.DB.8C.29

On 21 December 2016 at 12:00, MHE I.T. Admin (DRR) <admin at mhe-krg.org>
wrote:

> Now it passed I think, with 0777 permission but still the search does not
> work
>
> root at koyauniversity ~ # koha-restart-zebra library
> Restarting Zebra server for library
> root at koyauniversity ~ # sudo koha-rebuild-zebra -f library
> Warning: You passed -x which is already the default and is now deprecated
> item-level_itypes set but no itemtype set for item (10) at
> /usr/share/koha/lib/Koha/Schema/Result/Item.pm line 698.
> item-level_itypes set but no itemtype set for item (718) at
> /usr/share/koha/lib/Koha/Schema/Result/Item.pm line 698.
> item-level_itypes set but no itemtype set for item (41) at
> /usr/share/koha/lib/Koha/Schema/Result/Item.pm line 698.
> item-level_itypes set but no itemtype set for item (42) at
> /usr/share/koha/lib/Koha/Schema/Result/Item.pm line 698.
> item-level_itypes set but no itemtype set for item (1527) at
> /usr/share/koha/lib/Koha/Schema/Result/Item.pm line 698.
> item-level_itypes set but no itemtype set for item (1538) at
> /usr/share/koha/lib/Koha/Schema/Result/Item.pm line 698.
> item-level_itypes set but no itemtype set for item (1766) at
> /usr/share/koha/lib/Koha/Schema/Result/Item.pm line 698.
> item-level_itypes set but no itemtype set for item (1027) at
> /usr/share/koha/lib/Koha/Schema/Result/Item.pm line 698.
> item-level_itypes set but no itemtype set for item (645) at
> /usr/share/koha/lib/Koha/Schema/Result/Item.pm line 698.
> item-level_itypes set but no itemtype set for item (642) at
> /usr/share/koha/lib/Koha/Schema/Result/Item.pm line 698.
> item-level_itypes set but no itemtype set for item (5923) at
> /usr/share/koha/lib/Koha/Schema/Result/Item.pm line 698.
> item-level_itypes set but no itemtype set for item (7968) at
> /usr/share/koha/lib/Koha/Schema/Result/Item.pm line 698.
> item-level_itypes set but no itemtype set for item (7960) at
> /usr/share/koha/lib/Koha/Schema/Result/Item.pm line 698.
> item-level_itypes set but no itemtype set for item (7976) at
> /usr/share/koha/lib/Koha/Schema/Result/Item.pm line 698.
> 00:30:06-21/12 zebraidx(21912) [warn] default.idx:13: Failed to load ICU
> chain words-icu.xml
> root at koyauniversity ~ #
>
>
> On 20 December 2016 at 19:30, MHE I.T. Admin (DRR) <admin at mhe-krg.org>
> wrote:
>
>> Do I need to run this commands as well, when I run the first one, again I
>> get the message that the file does not exist, even though the file is
>> there,
>>
>> /etc/init.d/koha-zebra-daemon restart
>>  /usr/share/koha/bin/migration_tools/rebuild_zebra.pl -b -r -v -w
>>
>> On 20 December 2016 at 18:42, Paul A <paul.a at navalmarinearchive.com>
>> wrote:
>>
>>> At 05:39 PM 12/20/2016 +0000, MHE I.T. Admin (DRR) wrote:
>>>
>>> Hi,Â
>>>
>>> Our Koha is hosted on a dedicated server, Debian 8.6 and the
>>> installation folder is /etc/koha/zebradb/etc , I think as long as they are
>>> in the same folder it should not be an issue. It says that (it can not load
>>> it) not (it can not find it),
>>>
>>>
>>> Intriguing. If you're *not* publicly accessible, I might try resetting
>>> permissions; directory (probably needs 755) and files... work up from 644
>>> ... or "bull in the chinashop" approach, set both to 777 and work back down
>>> to where it fails. If it fails for dir and file at 777, then path is wrong
>>> "somewhere?"
>>>
>>> Best -- P.
>>>
>>>
>>> I did try with bot default and specific language in the file but still
>>> got the same error. I thought if I get it work first then I can add more
>>> language and see Â
>>>
>>>
>>>
>>> On 20 December 2016 at 17:15, Paul A <paul.a at navalmarinearchive.com>
>>> wrote:
>>> At 04:11 PM 12/20/2016 +0000, MHE I.T. Admin (DRR) wrote:
>>>
>>> Than you for the prompt response, Yes they are in the same folder as
>>> (/etc/koha/zebradb/etc) and it is on 0644
>>>
>>>
>>> Is there a typo? (it was suggested that this is crucial)
>>>
>>> Recommended: koha/zebradb/etc ...
>>> Found: /etc/koha/zebradb/etc ... (our system confirmed, and happy with
>>> 644)
>>> /---/
>>> <http://www.indexdata.com/yaz/doc/yaz-icu.html> neither confirms nor
>>> denies that multiple lang options are possible, rather than the default
>>> <icu_chain locale=""> -- if you can get your server to find the file, have
>>> you tried both with and without the default? Maybe putting the default
>>> below specifics?
>>>
>>> Best -- Paul
>>>
>>>
>>> Can you list several languages in words-icu.xml likeÂ
>>>
>>>
>>>
>>> Â  <icu_chain locale="ar">
>>> .
>>>
>>>
>>>
>>>
>>>
>>> .
>>>
>>>
>>>
>>>
>>>
>>> .
>>>
>>>
>>>
>>>
>>>
>>> .
>>> Â  </icu_chain>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> Â  <icu_chain locale="ku">
>>> .
>>>
>>>
>>>
>>>
>>>
>>> .
>>>
>>>
>>>
>>>
>>>
>>> .
>>>
>>>
>>>
>>>
>>>
>>> .
>>> Â  </icu_chain>
>>>
>>>
>>>
>>>
>>>
>>> On 20 December 2016 at 15:57, Barton Chittenden <
>>> barton at bywatersolutions.com> wrote: On Tue, Dec 20, 2016 at 10:15 AM,
>>> MHE I.T. Admin (DRR) <admin at mhe-krg.org> wrote: 15:58:14-20/12
>>> zebraidx(9140) [warn] default.idx:13: Could not load icuchain config
>>> 'words-icu.xml'
>>>
>>>
>>> I see two unrelated issues in your logs. The most crucial was
>>>
>>> Could not load icuchain config 'words-icu.xml'
>>>
>>>
>>> This is what's causing the indexes to fail.
>>>
>>> words-icu.xml should be in the same directory asÂ
>>> koha/zebradb/etc/default.idx. Make sure that it's there, and that it's
>>> readable.
>>>
>>>
>>> See
>>>
>>> https://wiki.koha-community.org/wiki/ICU_chains_configuration
>>>
>>> The second issue is that you don't have item types for some of your
>>> items. That won't cause issues with searching, but it will cause errors
>>> when you try to check the items in or out. The item numbers are given in
>>> the error messages, and you can use sql to find the barcodes.
>>>
>>> --Barton
>>>
>>>
>>>
>>>
>>> -- I.T Admin (Dr. D.R. Roshani)
>>> Ministry of Higher Education <http://www.mhe-krg.org>
>>> T. +964.XXX.XXX XXX | E. admin at mhe-krg.org
>>> _______________________________________________
>>> Koha-devel mailing list
>>> Koha-devel at lists.koha-community.org
>>> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
>>> website : http://www.koha-community.org/
>>> git : http://git.koha-community.org/
>>> bugs : http://bugs.koha-community.org/
>>>
>>> ---
>>> Maritime heritage and history, preservation and conservation,
>>> research and education through the written word and the arts.
>>> <http://NavalMarineArchive.com <http://navalmarinearchive.com/>> and <
>>> http://UltraMarine.ca <http://ultramarine.ca/>>
>>>
>>> _______________________________________________
>>> Koha-devel mailing list
>>> Koha-devel at lists.koha-community.org
>>> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
>>> website : http://www.koha-community.org/
>>> git : http://git.koha-community.org/
>>> bugs : http://bugs.koha-community.org/
>>>
>>>
>>>
>>>
>>> --
>>>
>>> I.T Admin (Dr. D.R. Roshani)
>>> Ministry of Higher Education <http://www.mhe-krg.org>
>>> T. +964.XXX.XXX XXX | E. admin at mhe-krg.org
>>>
>>> ---
>>> Maritime heritage and history, preservation and conservation,
>>> research and education through the written word and the arts.
>>> <http://NavalMarineArchive.com <http://navalmarinearchive.com/>> and <
>>> http://UltraMarine.ca <http://ultramarine.ca/>>
>>>
>>> _______________________________________________
>>> Koha-devel mailing list
>>> Koha-devel at lists.koha-community.org
>>> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
>>> website : http://www.koha-community.org/
>>> git : http://git.koha-community.org/
>>> bugs : http://bugs.koha-community.org/
>>>
>>
>>
>>
>> --
>>
>> *I.T Admin (Dr. D.R. Roshani)*
>> *Ministry of Higher Education <http://www.mhe-krg.org>*
>> T. +964.XXX.XXX XXX *|* E. admin at mhe-krg.org
>>
>
>
>
> --
>
> *I.T Admin (Dr. D.R. Roshani)*
> *Ministry of Higher Education <http://www.mhe-krg.org>*
> T. +964.XXX.XXX XXX *|* E. admin at mhe-krg.org
>



-- 

*I.T Admin (Dr. D.R. Roshani)*
*Ministry of Higher Education <http://www.mhe-krg.org>*
T. +964.XXX.XXX XXX *|* E. admin at mhe-krg.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20161221/18253942/attachment-0001.html>


More information about the Koha-devel mailing list