Bug 162471 - Can't start printconf
Can't start printconf
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: rhpl (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Anaconda Maintenance Team
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-07-05 06:12 EDT by Daniel Malmgren
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-07-08 09:45:32 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Daniel Malmgren 2005-07-05 06:12:43 EDT
Description of problem:
Printconf refuses to start.

Version-Release number of selected component (if applicable):
system-config-printer-0.6.135-1

How reproducible:
100%

Steps to Reproduce:
1. Try to start system-config-printer or printconf
  
Actual results:
Traceback (most recent call last):
  File "/usr/sbin/printconf", line 9, in ?
    import queueTree
  File "/usr/share/printconf/util/queueTree.py", line 32, in ?
    translate.textdomain (domain)
  File "/usr/lib/python2.4/site-packages/rhpl/translate.py", line 213, in textdomain
    cat.setDomain(domain)
  File "/usr/lib/python2.4/site-packages/rhpl/translate.py", line 106, in setDomain
    self.updateCachedCatPaths()
  File "/usr/lib/python2.4/site-packages/rhpl/translate.py", line 133, in
updateCachedCatPaths
    catalog = gettext.GNUTranslations(mofile)
  File "/usr/lib/python2.4/gettext.py", line 177, in __init__
    self._parse(fp)
  File "/usr/lib/python2.4/gettext.py", line 257, in _parse
    buf = fp.read()
  File "/usr/lib/python2.4/gzip.py", line 217, in read
    self._read(readsize)
  File "/usr/lib/python2.4/gzip.py", line 260, in _read
    self._read_gzip_header()
  File "/usr/lib/python2.4/gzip.py", line 161, in _read_gzip_header
    raise IOError, 'Not a gzipped file'
IOError: Not a gzipped file
Comment 1 Tim Waugh 2005-07-05 06:39:44 EDT
What does 'rpm -V system-config-printer' say?
Comment 2 Daniel Malmgren 2005-07-06 01:26:26 EDT
(In reply to comment #1)
> What does 'rpm -V system-config-printer' say?

Nothing at all.
Comment 3 Tim Waugh 2005-07-06 04:14:34 EDT
What does 'locale' say?
Comment 4 Daniel Malmgren 2005-07-06 04:58:10 EDT
Yep. That's it. Locale says:

LANG=sv_SE
LC_CTYPE="sv_SE"
LC_NUMERIC="sv_SE"
LC_TIME="sv_SE"
LC_COLLATE="sv_SE"
LC_MONETARY="sv_SE"
LC_MESSAGES="sv_SE"
LC_PAPER="sv_SE"
LC_NAME="sv_SE"
LC_ADDRESS="sv_SE"
LC_TELEPHONE="sv_SE"
LC_MEASUREMENT="sv_SE"
LC_IDENTIFICATION="sv_SE"
LC_ALL=

...but a simple "export LANG=C" makes printconf work again.

(Hmmm... Suddenly I can't change status to assigned anymore. Guess I'll just
leave it as needinfo.)
Comment 5 Tim Waugh 2005-07-06 05:21:55 EDT
I think that /usr/share/locale/sv/LC_MESSAGES/printconf.mo is unchanged since
FC4, so this seems to be an rhpl bug.
Comment 6 Daniel Malmgren 2005-07-06 05:39:57 EDT
Yep. At a closer examination I get the same error on all the system-config-*
stuff when my locale is set to swedish.
Comment 7 Daniel Malmgren 2005-07-08 09:45:32 EDT
Ok. Fixed in rhpl 0.169. Closing.

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