Bug 941490

Summary: gramps reports incomplete locale installation
Product: [openSUSE] openSUSE Tumbleweed Reporter: Olaf Hering <ohering>
Component: GNOMEAssignee: Dominique Leuenberger <dimstar>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: dimstar, schubert.seb
Version: Current   
Target Milestone: ---   
Hardware: x86-64   
OS: Linux   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: gramps.png

Description Olaf Hering 2015-08-12 17:21:08 UTC
Created attachment 643650 [details]
gramps.png

current TW with GNOME desktop.

gramps reports incomplete locale installation. But it does display its menus etc in German anyway. 

See screenshot.

i | gramps      | package | 4.2.0-1.1 | noarch | oss
i | gramps-lang | package | 4.2.0-1.1 | noarch | oss
Comment 1 Olaf Hering 2015-08-12 17:24:20 UTC
olaf@probook:~ $  strace -f -tt -s 123 -o /dev/shm/x gramps
.gramps.gen.utils.grampslocale.WARNING: ICU not loaded because No module named 'PyICU'. Localization will be impaired. Use your package manager to install PyICU
2015-08-12 19:22:21.770: WARNING: grampsgui.py: line 182: GTK translations missing, GUI will be broken, especially for RTL languages!
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.

TW has no pyicu package, but 'osc se -s pyicu' finds some in private homes.
Comment 2 Dominique Leuenberger 2015-08-12 17:34:22 UTC
pyicu and the translation are two independent warnings

gramps has some strange code trying to find out if GTK3 has been installed with translations - but falls flat on the face as it fails to detect that we work with bundle translations (if you install gtk3-lang, it disappears).

I will remove this stupid check from the code.
Comment 3 Dominique Leuenberger 2015-09-16 09:52:50 UTC
That silly check is since gone...
Comment 4 Dominique Leuenberger 2016-10-07 17:32:34 UTC
*** Bug 940543 has been marked as a duplicate of this bug. ***