Hide Forgot
Description of problem: My default locale setting is LANG=de_DE.UTF-8 . Since at least today, but maybe since upgrade to cups-1.5.2-1.fc16, "lpstat -t" displays empty lines (the number of lines seems to be the same as before, but they are empty). But "LANG=C lpstat -t" works fine (displays the printer lines). Also works fine: "LANG=en lpstat -t", "LANG=en_US.UTF-8 lpstat -t". But these displays empty lines: "LANG=de lpstat -t", "LANG=de_DE.UTF-8 lpstat -t", "LANG=fr lpstat -t". It seems that any language different from english shows empty lines. It seems that the locale translations are not found??? Version-Release number of selected component (if applicable): cups-1.5.2-1.fc16.x86_64 How reproducible: Always. Steps to Reproduce: 1. Set the locale (e.g. environment LANG) to C or an english language. Then "lpstat -t" displays the lines of the discovered network printers. 2. Set the locale (e.g. environment LANG) to a language not english (e.g. german, frensh, etc.). Then "lpstat -t" display empty lines of the discovered network printers (the line count is the same).
Yes, something is wrong with the po files (/usr/share/locale/<lang>/cups_<lang>.po) because copying the po files from cups-1.5.0 fixes the problem.
Seems that the translations are simply missing. cups-1.5.0/locale/cups_de.po: msgid "printer %s is idle. enabled since %s\n" msgstr "Drucker „%s“ ist inaktiv; aktiviert seit %s\n" msgid "%s/%s accepting requests since %s\n" msgstr "%s/%s akzeptiert Anfragen seit %s\n msgid "system default destination: %s\n" msgstr "System-Standardzielort: %s\n" cups-1.5.2/locale/cups_de.po msgid "printer %s is idle. enabled since %s" msgstr "" msgid "%s accepting requests since %s" msgstr "" msgid "system default destination: %s" msgstr "" #~ msgid "%s accepting requests since %s\n" #~ msgstr "%s akzeptiert Anfragen seit %s\n" #~ msgid "system default destination: %s\n" #~ msgstr "System-Standardzielort: %s\n" --- and so on ...
Reported upstream.
Could you try this build ? https://koji.fedoraproject.org/koji/taskinfo?taskID=3827307 Download all rpms into one directory and update with: su -c 'yum --nogpgcheck localupdate *.rpm'
*** Bug 799217 has been marked as a duplicate of this bug. ***
cups-1.5.2-6.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/cups-1.5.2-6.fc17
cups-1.5.2-6.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/cups-1.5.2-6.fc16
Package cups-1.5.2-6.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing cups-1.5.2-6.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-3811/cups-1.5.2-6.fc17 then log in and leave karma (feedback).
(In reply to comment #7) > cups-1.5.2-6.fc16 has been submitted as an update for Fedora 16. > https://admin.fedoraproject.org/updates/cups-1.5.2-6.fc16 This version fixes the problem. Thanks!
cups-1.5.2-6.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.
cups-1.5.2-6.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.