Bug 895741 - TypeError: not enough arguments for format string
Summary: TypeError: not enough arguments for format string
Keywords:
Status: CLOSED DUPLICATE of bug 885139
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:e534de7fc8bd341d9487ffca144...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-15 22:06 UTC by Andrew McNabb
Modified: 2013-01-16 14:04 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-16 14:04:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (297.16 KB, text/plain)
2013-01-15 22:06 UTC, Andrew McNabb
no flags Details
File: anaconda.log (8.89 KB, text/plain)
2013-01-15 22:06 UTC, Andrew McNabb
no flags Details
File: environ (965 bytes, text/plain)
2013-01-15 22:06 UTC, Andrew McNabb
no flags Details
File: ifcfg.log (519 bytes, text/plain)
2013-01-15 22:06 UTC, Andrew McNabb
no flags Details
File: ks.cfg (3.58 KB, text/plain)
2013-01-15 22:06 UTC, Andrew McNabb
no flags Details
File: packaging.log (36.12 KB, text/plain)
2013-01-15 22:06 UTC, Andrew McNabb
no flags Details
File: program.log (50.14 KB, text/plain)
2013-01-15 22:06 UTC, Andrew McNabb
no flags Details
File: storage.log (84.85 KB, text/plain)
2013-01-15 22:06 UTC, Andrew McNabb
no flags Details
File: syslog (59.51 KB, text/plain)
2013-01-15 22:06 UTC, Andrew McNabb
no flags Details

Description Andrew McNabb 2013-01-15 22:06:39 UTC
Description of problem:
The installer crashed soon after starting up. It was running from a kickstart script.
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
cmdline_file:   initrd=f18-x86_64/initrd.img repo=http://mirrors.cs.byu.edu/fedora/releases/18/Fedora/x86_64/os ks=http://aml.cs.byu.edu/install/f18.ks ksdevice=bootif biosdevname=0 sshd BOOTIF=01-22-22-22-22-22-22 BOOT_IMAGE=f18-x86_64/vmlinuz 
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 Andrew McNabb 2013-01-15 22:06:42 UTC
Created attachment 679116 [details]
File: anaconda-tb

Comment 2 Andrew McNabb 2013-01-15 22:06:44 UTC
Created attachment 679117 [details]
File: anaconda.log

Comment 3 Andrew McNabb 2013-01-15 22:06:46 UTC
Created attachment 679118 [details]
File: environ

Comment 4 Andrew McNabb 2013-01-15 22:06:48 UTC
Created attachment 679119 [details]
File: ifcfg.log

Comment 5 Andrew McNabb 2013-01-15 22:06:49 UTC
Created attachment 679120 [details]
File: ks.cfg

Comment 6 Andrew McNabb 2013-01-15 22:06:51 UTC
Created attachment 679121 [details]
File: packaging.log

Comment 7 Andrew McNabb 2013-01-15 22:06:53 UTC
Created attachment 679122 [details]
File: program.log

Comment 8 Andrew McNabb 2013-01-15 22:06:55 UTC
Created attachment 679123 [details]
File: storage.log

Comment 9 Andrew McNabb 2013-01-15 22:06:58 UTC
Created attachment 679124 [details]
File: syslog

Comment 10 Andrew McNabb 2013-01-15 22:12:57 UTC
The crash occurred while the progress bar read "Starting package installation process". After rebooting and trying again, the same error occurred at the same point.

Comment 11 Chris Lumens 2013-01-15 22:15:46 UTC
Note the line in the middle of the traceback:

  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)

Comment 12 Andrew McNabb 2013-01-15 23:01:36 UTC
I adjusted my package groups in response to Comment 11, and it looks like commenting out deprecated package groups may have helped to work around the issue. I haven't specifically tried adding them in one by one, but it might help anyone who's trying to reproduce the issue to add any of: base, graphical-internet, graphics, java, java-development, office, sound-and-video, system-tools, or text-internet, all of which are now commented out.

Comment 13 Zdeněk Pavlas 2013-01-16 14:04:12 UTC

*** This bug has been marked as a duplicate of bug 885139 ***


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