FS#28490 - [sword] xiphos fails to index (+ ICU issues that may be related)
Attached to Project:
Community Packages
Opened by Andrei Arici (distrohopperarched) - Friday, 17 February 2012, 15:59 GMT
Last edited by Alexander F. Rødseth (xyproto) - Monday, 21 May 2012, 10:25 GMT
Opened by Andrei Arici (distrohopperarched) - Friday, 17 February 2012, 15:59 GMT
Last edited by Alexander F. Rødseth (xyproto) - Monday, 21 May 2012, 10:25 GMT
|
Details
Description:
Trying to index Bibles results in "Index failed". Starting from a terminal will fill it with messages like: UTF8Transliterator: ICU: no resource index to load UTF8Transliterator: ICU: status U_MISSING_RESOURCE_ERROR Additional info: * package version(s) - current Steps to reproduce: Install latest Xiphos, start Xiphos from the command line, try to index. |
This task depends upon
Closed by Alexander F. Rødseth (xyproto)
Monday, 21 May 2012, 10:25 GMT
Reason for closing: Upstream
Additional comments about closing: The problems with xiphos and/or sword doesn't look like they will be fixed any time soon.
Monday, 21 May 2012, 10:25 GMT
Reason for closing: Upstream
Additional comments about closing: The problems with xiphos and/or sword doesn't look like they will be fixed any time soon.
Which version of xiphos is this? I assume it is 3.1.4-9? Some times mirrors are slow to update packages. The version number is good to have in the bug report in any case, for the future.
Which version of the icu package do you have? Here it's 4.8.1.1-1.
What happens if you start xiphos like this:
LC_ALL=C xiphos
Thanks for reporting.
extra/icu 4.8.1.1-1 [installed]
Module Manager (F4) - Mantainance - Selecting certain Bibles - Hitting Index/Delete Index will result in an error.
I pulled one single Bible after installing, didn't move a folder from another folder just to make sure I don't mess anything up.
This is needed so that you can search STRONGS number with lemma:H1234. This disables fast searching, as well as searching in depth. Clucene indexing is needed for both.
I'm no programmer but looking around the web, I found similar issues and maybe all is missing is an --with-icusword switch.
Here's the output you requested. Even without LC-ALL=C, it's full with ICU errors.
LC_ALL=C xiphos
** Message: MAINTAINER_MODE
** Message: /usr/share/xiphos/languages
UTF8Transliterator: ICU: no resource index to load
UTF8Transliterator: ICU: status U_MISSING_RESOURCE_ERROR
** Message: create main_mgr time is 0.025178
Number of Text modules = 1
Number of Commentary modules = 0
Number of Dict/lex modules = 0
Number of Book modules = 0
Number of Percomm modules = 0
Number of Devotion modules = 0
Number of Prayer modules = 0
Starting xiphos-3.1.4
Building Xiphos interface
** Message: MAINTAINER_MODE
** Message: MAINTAINER_MODE
** Message: /usr/share/xiphos/navbar_versekey.glade
** Message: context_id: 1
message: Welcome to Xiphos
UTF8Transliterator: ICU: no resource index to load
UTF8Transliterator: ICU: status U_MISSING_RESOURCE_ERROR
** Message: create main_mgr time is 0.001237
Starting sword-1.6.2
Initiating SWORD
path to sword: /home/flow/.sword/
SWORD locale is en
Checking for SWORD Modules
Number of Text modules = 1
Number of Commentary modules = 0
Number of Dict/lex modules = 0
Number of Book modules = 0
Number of Percomm modules = 0
Number of Devotion modules = 0
Number of Prayer modules = 0
Initiating Xiphos
UTF8Transliterator: ICU: no resource index to load
UTF8Transliterator: ICU: status U_MISSING_RESOURCE_ERROR
** Message: create SWMgr time is 0.001321
UTF8Transliterator: ICU: no resource index to load
UTF8Transliterator: ICU: status U_MISSING_RESOURCE_ERROR
** Message: create main_mgr time is 0.001194
Displaying Xiphos
** Message: on_notebook_main_switch_page
** Message: mod_name = HebModern
done
total time is 1.224118
** Message: MAINTAINER_MODE
** Message: /usr/share/xiphos/module-manager.glade
UTF8Transliterator: ICU: no resource index to load
UTF8Transliterator: ICU: status U_MISSING_RESOURCE_ERROR
** Message: create SWMgr time is 0.000524
UTF8Transliterator: ICU: no resource index to load
UTF8Transliterator: ICU: status U_MISSING_RESOURCE_ERROR
** Message: create SWMgr time is 0.000745
UTF8Transliterator: ICU: no resource index to load
UTF8Transliterator: ICU: status U_MISSING_RESOURCE_ERROR
** Message: total time is 0.518057
UTF8Transliterator: ICU: no resource index to load
UTF8Transliterator: ICU: status U_MISSING_RESOURCE_ERROR
** Message: create main_mgr time is 0.018867
Number of Text modules = 1
Number of Commentary modules = 0
Number of Dict/lex modules = 0
Number of Book modules = 0
Number of Percomm modules = 0
Number of Devotion modules = 0
Number of Prayer modules = 0
UTF8Transliterator: ICU: no resource index to load
UTF8Transliterator: ICU: status U_MISSING_RESOURCE_ERROR
** Message: create SWMgr time is 0.001186
UTF8Transliterator: ICU: no resource index to load
UTF8Transliterator: ICU: status U_MISSING_RESOURCE_ERROR
** Message: create SWMgr time is 0.001320
** Message: total time is 0.082957
index HebModern
UTF8Transliterator: ICU: no resource index to load
UTF8Transliterator: ICU: status U_MISSING_RESOURCE_ERROR
** Message: create SWMgr time is 0.003168
UTF8Transliterator: ICU: no resource index to load
UTF8Transliterator: ICU: status U_MISSING_RESOURCE_ERROR
** Message: create SWMgr time is 0.001324
** Message: on_destroy
UTF8Transliterator: ICU: no resource index to load
UTF8Transliterator: ICU: status U_MISSING_RESOURCE_ERROR
** Message: create main_mgr time is 0.003227
Number of Text modules = 1
Number of Commentary modules = 0
Number of Dict/lex modules = 0
Number of Book modules = 0
Number of Percomm modules = 0
Number of Devotion modules = 0
Number of Prayer modules = 0
UTF8Transliterator: ICU: no resource index to load
UTF8Transliterator: ICU: status U_MISSING_RESOURCE_ERROR
** Message: create SWMgr time is 0.001804
** Message: on_destroy
UTF8Transliterator: ICU: no resource index to load
UTF8Transliterator: ICU: status U_MISSING_RESOURCE_ERROR
** Message: create main_mgr time is 0.007117
Number of Text modules = 1
Number of Commentary modules = 0
Number of Dict/lex modules = 0
Number of Book modules = 0
Number of Percomm modules = 0
Number of Devotion modules = 0
Number of Prayer modules = 0
UTF8Transliterator: ICU: no resource index to load
UTF8Transliterator: ICU: status U_MISSING_RESOURCE_ERROR
** Message: create SWMgr time is 0.001271
I'm working on packaging 3.1.5, but it doesn't compile as of yet.
http://xiphos.org/development/release-notes/
(search for 3022383)
I'm in contact with one of the Xiphos developers and have just tested a patch for compiling the new Xiphos with the current version of Sword, but it didn't compile.
I'll close this bug when I can release Xiphos 3.1.5.
xiphos-svn will not help here and should be removed.
sword-svn: https://aur.archlinux.org/packages.php?ID=56768
xiphos-webkit-svn: https://aur.archlinux.org/packages.php?ID=53578
xiphos-svn: https://aur.archlinux.org/packages.php?ID=24878
I can also confirm that Stefan Husmann's xiphos-webkit-svn version does the trick.
Not only are errors gone with the webkit version, but there are icons that are displaying the un/indexed state of a Bible. So I guess it's all related.
Given that the functionality is there, (it doesn't need to be coded), this fracture, essentially makes Xiphos into a pocket knife that won't draw, for no obvious reason, because the webkit version is fixed.
As far as I can tell, the functionality in question is missing from the official release of Xiphos.
If waiting for an update to the official package becomes unbearable (I don't think it is, yet), the usual course of action is to move the package to unsupported (AUR) instead of packaging the development versions as the official package.
Restless users can use the packages from AUR or nag upstream (preferable) :)
Hope that was clarifying.