Bug 912481

Summary: TypeError: not enough arguments for format string
Product: [Fedora] Fedora Reporter: René Genz <liebundartig>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: anaconda-maint-list, g.kaviyarasu, jonathan, sbueno, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:e534de7fc8bd341d9487ffca14463d6ed003f8a7b7d8d80709ee5b34887da0f7
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-21 16:24:50 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: ifcfg.log
none
File: ks.cfg
none
File: packaging.log
none
File: program.log
none
File: storage.log
none
File: syslog none

Description René Genz 2013-02-18 18:55:59 UTC
Description of problem:
I am fiddling with the kickstart file

last thing I changed before the reinstall that crashed was expanding %packages section
with group names and lines starting with #

not really sure what caused the problem
I'll try to reproduce the problem.
The following was filed automatically by anaconda:
anaconda 18.37.11 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/logging/__init__.py", line 328, in getMessage
    msg = msg % self.args
  File "/usr/lib64/python2.7/logging/__init__.py", line 464, in format
    record.message = record.getMessage()
  File "/usr/lib64/python2.7/logging/__init__.py", line 723, in format
    return fmt.format(record)
  File "/usr/lib64/python2.7/logging/handlers.py", line 791, in emit
    msg = self.format(record) + '\000'
  File "/usr/lib64/python2.7/site-packages/pyanaconda/anaconda_log.py", line 114, in emit
    SysLogHandler.emit(self, record)
  File "/usr/lib64/python2.7/logging/__init__.py", line 748, in handle
    self.emit(record)
  File "/usr/lib64/python2.7/logging/__init__.py", line 1308, in callHandlers
    hdlr.handle(record)
  File "/usr/lib64/python2.7/logging/__init__.py", line 1268, in handle
    self.callHandlers(record)
  File "/usr/lib64/python2.7/logging/__init__.py", line 1258, in _log
    self.handle(record)
  File "/usr/lib64/python2.7/logging/__init__.py", line 1184, in critical
    self._log(CRITICAL, msg, args, **kwargs)
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 3693, in selectGroup
    self.logger.critical(_('Group %s does have %u conditional packages, which may get installed.'), count_cond_test)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1070, in _selectYumGroup
    self._yum.selectGroup(groupid, group_package_types=pkg_types)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1198, in _applyYumSelections
    self._selectYumGroup(group.name, default=default, optional=optional)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1229, in checkSoftwareSelection
    self._applyYumSelections()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1316, in preInstall
    self.checkSoftwareSelection()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 124, in doInstall
    payload.preInstall(packages=packages, groups=payload.languageGroups(ksdata.lang.lang))
  File "/usr/lib64/python2.7/threading.py", line 504, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 91, in run
    threading.Thread.run(self, *args, **kwargs)
TypeError: not enough arguments for format string

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.6.10-4.fc18.x86_64
other involved packages: 
package:        anaconda-18.37.11
product:        Fedora
release:        Cannot get release name.
type:           libreport
version:        18

Comment 1 René Genz 2013-02-18 18:56:04 UTC
Created attachment 699044 [details]
File: anaconda-tb

Comment 2 René Genz 2013-02-18 18:56:06 UTC
Created attachment 699045 [details]
File: anaconda.log

Comment 3 René Genz 2013-02-18 18:56:08 UTC
Created attachment 699046 [details]
File: environ

Comment 4 René Genz 2013-02-18 18:56:10 UTC
Created attachment 699047 [details]
File: ifcfg.log

Comment 5 René Genz 2013-02-18 18:56:13 UTC
Created attachment 699048 [details]
File: ks.cfg

Comment 6 René Genz 2013-02-18 18:56:15 UTC
Created attachment 699049 [details]
File: packaging.log

Comment 7 René Genz 2013-02-18 18:56:17 UTC
Created attachment 699050 [details]
File: program.log

Comment 8 René Genz 2013-02-18 18:56:20 UTC
Created attachment 699051 [details]
File: storage.log

Comment 9 René Genz 2013-02-18 18:56:22 UTC
Created attachment 699052 [details]
File: syslog

Comment 10 René Genz 2013-02-18 22:23:58 UTC
the '@graphics' group in the local copy of the fedora repository is the cause of the crash

in case you want to investigate the problem again I will rename the folder for reinvestigation
meanwhile that I try to sync a different mirror

Comment 11 René Genz 2013-02-21 16:24:50 UTC
@graphics group is not present in F18 anymore!

After some reading I switched from wget to rsync for the local mirror repo sync and use the provided repodata files instead of recreating them with createrepo. The wget/createrepo combination put all core repo files in a single directory and was in use from F8 till F16.

In case you want to have have a look at the previous script in order to reproduce the problem, send me an e-mail, please.
The downloaded files have been deleted already.

Anyway, now there is no more crash and I get a proper error message "@graphics group is not present".

I am closing this bug :)