Bug 15146 - msec notifications empty (missing dependency to gettext) in at least KDE and LXDE
Summary: msec notifications empty (missing dependency to gettext) in at least KDE and ...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard: MGA5TOO
Keywords: Junior_job, PATCH
Depends on: 13837
Blocks:
  Show dependency treegraph
 
Reported: 2015-01-27 20:46 CET by Stephane
Modified: 2016-11-01 11:47 CET (History)
6 users (show)

See Also:
Source RPM: msec-1.11-2.mga5
CVE:
Status comment:


Attachments
KDE notifications (19.56 KB, image/png)
2015-01-27 20:47 CET, Stephane
Details

Description Stephane 2015-01-27 20:46:10 CET
KDE notifications produced by msec are empty on Mageia5b2.

I put a screenshot of KDE notifications.

I read logs file /var/log/msec.log which seems correct. I didn't find error produce by msec in /var/log/* or via crontab.

I use M5b2 updated with LANG=fr_FR.UTF-8.

Reproducible: 

Steps to Reproduce:
Comment 1 Stephane 2015-01-27 20:47:56 CET
Created attachment 5840 [details]
KDE notifications

Others KDE notifications are contents.
Comment 2 David Walser 2015-01-27 23:57:39 CET
Just a note that I can't reproduce this with LANG=en_US.UTF-8
Comment 3 Yuri Galitsky 2015-02-04 10:39:05 CET
Seems, msec script 'security.sh' uses 'eval_gettext' function for localized notifications now. This function is a part of 'gettext' package, which is not installed with clean beta2 installation. This issue not depending from system locale. MSEC notifications output is OK if the 'gettext' package is installed.

CC: (none) => ugal12v

Comment 4 Stephane 2015-02-20 21:34:41 CET
I confirm that it is the solution to solve this bug.

Please add gettext rpm in dependency for msec rpm to solve this bug.
Samuel Verschelde 2015-06-01 00:12:40 CEST

Keywords: (none) => Junior_job, PATCH
Summary: msec KDE notifications empty with M5b2 => msec KDE notifications empty (missing dependency to gettext)
Whiteboard: (none) => MGA5TOO FOR_ERRATA

Comment 5 Ben McMonagle 2015-06-05 10:52:59 CEST
still valid for final Mga5final-x86_64-dvd

CC: (none) => westel

Comment 6 Marja Van Waes 2015-06-11 18:53:12 CEST
also valid Mga5final-i586-dvd with LXDE-only Dutch install

gettext is indeed missing.

I'll remove "KDE" from the summary of this bug as soon as I see that installing gettext solved it for me, too

CC: (none) => marja11

Comment 7 Marja Van Waes 2015-06-11 19:03:42 CEST
gettext did indeed solve the problem in LXDE, too

Hardware: x86_64 => All
Summary: msec KDE notifications empty (missing dependency to gettext) => msec notifications empty (missing dependency to gettext) in at least KDE and LXDE
Source RPM: msec-1.5-1.mga5 => msec-1.11-2.mga5

Comment 8 Samuel Verschelde 2015-06-12 09:33:31 CEST
(In reply to Marja van Waes from comment #7)
> gettext did indeed solve the problem in LXDE, too

Could you add a note about that in Errata?
Comment 9 Marja Van Waes 2015-06-15 16:08:24 CEST
(In reply to Samuel VERSCHELDE from comment #8)
> (In reply to Marja van Waes from comment #7)
> > gettext did indeed solve the problem in LXDE, too
> 
> Could you add a note about that in Errata?

I'd rather not.

It would have been very easy to fix this bug. Apparently no one thinks it's much worse than a cosmetic issue.

This bug shows up in the search for packages bug reports that is linked to, here:
https://wiki.mageia.org/en/Mageia_5_Errata#Introduction.

It will automatically disappear from that list, when it gets solved with an update:-)

Whiteboard: MGA5TOO FOR_ERRATA => MGA5TOO

Florian Hubold 2015-06-17 22:05:52 CEST

CC: (none) => doktor5000

Comment 10 Luca Olivetti 2015-06-23 12:36:37 CEST
This bug also causes an error message from cron in a server that I upgraded yesterday from mga4 to mga5:



/etc/cron.daily/msec:
/etc/cron.daily/msec: line 9: gettext.sh: No such file or directory
/etc/cron.daily/msec: línea 127: eval_gettext: no s'ha trobat l'ordre
/etc/cron.daily/msec: línea 138: eval_gettext: no s'ha trobat l'ordre
/etc/cron.daily/updates:
Unable to get Terminal Size. The TIOCGWINSZ ioctl didn't work. The COLUMNS and LINES environment variables didn't work. The resize program didn't work. The stty program didn't work. at /usr/lib/perl5/vendor_perl/5.20.1/x86_64-linux-thread-multi/Term/ReadKey.pm line 451.
Unable to get Terminal Size. The TIOCGWINSZ ioctl didn't work. The COLUMNS and LINES environment variables didn't work. The resize program didn't work. The stty program didn't work. at /usr/lib/perl5/vendor_perl/5.20.1/x86_64-linux-thread-multi/Term/ReadKey.pm line 451.



I just installed gettext, let's see if this message disappears tomorrow.

CC: (none) => luca

Comment 11 David GEIGER 2015-08-02 19:50:10 CEST
Just for reference it is now fixed for Cauldron adding gettext as a requirement.

- msec-1.13-2.mga6

CC: (none) => geiger.david68210

Comment 12 David GEIGER 2015-08-05 15:56:45 CEST
Just fixed for mga5 too, see:

https://bugs.mageia.org/show_bug.cgi?id=13837#c75

Depends on: (none) => 13837

Comment 13 Samuel Verschelde 2016-11-01 11:47:57 CET
(In reply to David GEIGER from comment #12)
> Just fixed for mga5 too, see:
> 
> https://bugs.mageia.org/show_bug.cgi?id=13837#c75

Thanks David :)

You just forgot to close the bug report. Closing now.

Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.