Bug 912481 - TypeError: not enough arguments for format string
Summary: TypeError: not enough arguments for format string
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:e534de7fc8bd341d9487ffca144...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-18 18:55 UTC by René Genz
Modified: 2013-02-21 16:24 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-02-21 16:24:50 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (282.97 KB, text/plain)
2013-02-18 18:56 UTC, René Genz
no flags Details
File: anaconda.log (7.72 KB, text/plain)
2013-02-18 18:56 UTC, René Genz
no flags Details
File: environ (831 bytes, text/plain)
2013-02-18 18:56 UTC, René Genz
no flags Details
File: ifcfg.log (633 bytes, text/plain)
2013-02-18 18:56 UTC, René Genz
no flags Details
File: ks.cfg (4.50 KB, text/plain)
2013-02-18 18:56 UTC, René Genz
no flags Details
File: packaging.log (6.86 KB, text/plain)
2013-02-18 18:56 UTC, René Genz
no flags Details
File: program.log (40.29 KB, text/plain)
2013-02-18 18:56 UTC, René Genz
no flags Details
File: storage.log (115.48 KB, text/plain)
2013-02-18 18:56 UTC, René Genz
no flags Details
File: syslog (51.10 KB, text/plain)
2013-02-18 18:56 UTC, René Genz
no flags Details

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 :)


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