Summary: | app-misc/tracker-0.12.10: tracker-store: Error initializing libicu support: 'U_ILLEGAL_ARGUMENT_ERROR' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
Component: | Current packages | Assignee: | Freedesktop bugs <freedesktop-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | Bernd.Feige |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugzilla.gnome.org/show_bug.cgi?id=675660 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Juergen Rose
2012-07-12 07:54:05 UTC
Same here. I guess the reason why we see this and others don't (otherwise the response should be more ... overwhelming) is that we both have LANG=de_DE.UTF-8 set (I also have LC_CTYPE=de_DE.UTF-8, LC_NUMERIC=C). System uname: Linux-3.4.5-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9650_@_3.00GHz-with-gentoo-2.1 Timestamp of tree: Fri, 20 Jul 2012 00:45:01 +0000 There was a promising note here: https://bbs.archlinux.org/viewtopic.php?id=140435 It indicated that tracker components somehow require US date format (AM/PM) in the storage. Regarding the error: Tracker is currently completely defunct for me. I don't get the libicu messages in .xsession-errors but in ~/.local/share/tracker/tracker-store.log. Also tracker-search and tracker-needle give these warnings, eg: (tracker-search:14412): Tracker-WARNING **: Error initializing libicu support: 'U_ILLEGAL_ARGUMENT_ERROR' and no result at all even for words I know very well to be present in my files. Is tracker-search functional in any way for you? I removed ~/.local/share/tracker at one point trying to fix things but to no avail. Best regards, Bernd Update: Setting *all of* LANG=C LC_CTYPE=C LC_NUMERIC=C both tracker-store and tracker-search work (needed to remove ~/.local/share/tracker/data though to get any matches despite a quite sizable tracker-store.journal...) Update 2: I think I found the reason for the less-than-overwhelming response now: The problem only occurs with "mixed" LC_* settings such as my own. When not touching LC_NUMERIC (i.e. unset LC_NUMERIC) everything is file also using LANG=de_DE.UTF-8. Now I'm sure that a relatively recent change caused this; could have either been sys-libs/glibc-2.15-r2 or dev-libs/icu-49.1.2 Best regards, Bernd Bernd, so, to summarize, is this correct: to fix the problem, it's sufficient to run tracker with either LC_NUMERIC=C or LC_NUMERIC unset? Looks like running "LC_NUMERIC=de_DE.utf8 tracker-needle" in an otherwise en_US.UTF-8 environment is enough to get the U_ILLEGAL_ARGUMENT_ERROR errors. Should be fixed in tracker-0.12.10-r1 and 0.14.2-r1. Patch submitted upstream at https://bugzilla.gnome.org/show_bug.cgi?id=675660 >*tracker-0.14.2-r1 (20 Jul 2012) >*tracker-0.12.10-r1 (20 Jul 2012) > > 20 Jul 2012; Alexandre Rostovtsev <tetromino@gentoo.org> > +tracker-0.12.10-r1.ebuild, +tracker-0.14.2-r1.ebuild, > +files/tracker-0.14.2-icu-no-LC_ALL.patch: > Fix the "Error initializing libicu support: 'U_ILLEGAL_ARGUMENT_ERROR'" error > (bug #426276; thanks to Juergen Rose and Bernd Feige). Wow, that was quick - Hooray and thanks Alexandre! |