Bug 1066033

Summary: TypeError: not enough arguments for format string
Product: [Fedora] Fedora Reporter: David Shea <dshea>
Component: anacondaAssignee: David Shea <dshea>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: anaconda-maint-list, g.kaviyarasu, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:49af02aa3260d7dad7fccd7a5486e4ef8b2390c0d4d66f738a2b689a3fd2df31
Fixed In Version: anaconda-21.24-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-28 14:23:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: anaconda-tb
none
File: anaconda.log
none
File: environ
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log
none
File: syslog
none
File: ifcfg.log
none
File: packaging.log none

Description David Shea 2014-02-17 14:30:49 UTC
Description of problem:
Choose Bulgarian at the Welcome screen

The problem is the translation of a format string (the source string uses %(name)s format arguments, while the translation only has %s arguments), so the fix would be to be fix the format string, but format string problems are supposed to cause the build to fail and make bcl fix the translation.

This one isn't failing at build time because the string is coming from glade, so gettext doesn't know it's python formatted.

Version-Release number of selected component:
anaconda-21.21-1

The following was filed automatically by anaconda:
anaconda 21.21-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/welcome.py", line 250, in retranslate
    xlated = _(before) % {"name" : productName.upper(), "version" : productVersion}
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/welcome.py", line 297, in on_locale_selection_changed
    self.retranslate(lang)
TypeError: not enough arguments for format string

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img inst.stage2=hd:LABEL=Fedora\x20rawhide\x20x86_64 quiet BOOT_IMAGE=vmlinuz 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.14.0-0.rc2.git3.1.fc21.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        rawhide

Comment 1 David Shea 2014-02-17 14:30:52 UTC
Created attachment 864116 [details]
File: anaconda-tb

Comment 2 David Shea 2014-02-17 14:30:56 UTC
Created attachment 864117 [details]
File: anaconda.log

Comment 3 David Shea 2014-02-17 14:30:58 UTC
Created attachment 864118 [details]
File: environ

Comment 4 David Shea 2014-02-17 14:31:01 UTC
Created attachment 864119 [details]
File: lsblk_output

Comment 5 David Shea 2014-02-17 14:31:03 UTC
Created attachment 864120 [details]
File: nmcli_dev_list

Comment 6 David Shea 2014-02-17 14:31:07 UTC
Created attachment 864121 [details]
File: os_info

Comment 7 David Shea 2014-02-17 14:31:11 UTC
Created attachment 864122 [details]
File: program.log

Comment 8 David Shea 2014-02-17 14:31:13 UTC
Created attachment 864123 [details]
File: storage.log

Comment 9 David Shea 2014-02-17 14:31:15 UTC
Created attachment 864124 [details]
File: syslog

Comment 10 David Shea 2014-02-17 14:31:17 UTC
Created attachment 864125 [details]
File: ifcfg.log

Comment 11 David Shea 2014-02-17 14:31:18 UTC
Created attachment 864126 [details]
File: packaging.log