Bug 904026 - TypeError: not enough arguments for format string
Summary: TypeError: not enough arguments for format string
Keywords:
Status: CLOSED WONTFIX
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-25 09:46 UTC by David Jansen
Modified: 2014-02-05 18:29 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-02-05 18:29:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (375.38 KB, text/plain)
2013-01-25 09:46 UTC, David Jansen
no flags Details
File: anaconda.log (27.49 KB, text/plain)
2013-01-25 09:46 UTC, David Jansen
no flags Details
File: environ (911 bytes, text/plain)
2013-01-25 09:46 UTC, David Jansen
no flags Details
File: ifcfg.log (602 bytes, text/plain)
2013-01-25 09:46 UTC, David Jansen
no flags Details
File: ks.cfg (1.76 KB, text/plain)
2013-01-25 09:46 UTC, David Jansen
no flags Details
File: packaging.log (5.86 KB, text/plain)
2013-01-25 09:46 UTC, David Jansen
no flags Details
File: program.log (67.55 KB, text/plain)
2013-01-25 09:46 UTC, David Jansen
no flags Details
File: storage.log (123.29 KB, text/plain)
2013-01-25 09:46 UTC, David Jansen
no flags Details
File: syslog (91.37 KB, text/plain)
2013-01-25 09:46 UTC, David Jansen
no flags Details

Description David Jansen 2013-01-25 09:46:27 UTC
Description of problem:
Attempting to reinstall Fedora 18 using a kickstart file, modified from what worked in previous releases.
The error occurs after formatting, and during the stage marked as "Starting package instalaltion process"

Note that I was using a local mirror of the repositories, so it could be due to my mirror setup. I'll try the same installation with a normal mirror as well.
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:   BOOT_IMAGE=//boot/installer/vmlinuz ks=nfs:adminserver.strw.leidenuniv.nl:/strw0/kickstart/ks-eendracht.cfg stage2=http://fedora.strw.leidenuniv.nl/fedora18/x86_64/os/ selinux=0
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 David Jansen 2013-01-25 09:46:33 UTC
Created attachment 687360 [details]
File: anaconda-tb

Comment 2 David Jansen 2013-01-25 09:46:37 UTC
Created attachment 687361 [details]
File: anaconda.log

Comment 3 David Jansen 2013-01-25 09:46:39 UTC
Created attachment 687362 [details]
File: environ

Comment 4 David Jansen 2013-01-25 09:46:41 UTC
Created attachment 687363 [details]
File: ifcfg.log

Comment 5 David Jansen 2013-01-25 09:46:43 UTC
Created attachment 687364 [details]
File: ks.cfg

Comment 6 David Jansen 2013-01-25 09:46:45 UTC
Created attachment 687365 [details]
File: packaging.log

Comment 7 David Jansen 2013-01-25 09:46:47 UTC
Created attachment 687366 [details]
File: program.log

Comment 8 David Jansen 2013-01-25 09:46:49 UTC
Created attachment 687367 [details]
File: storage.log

Comment 9 David Jansen 2013-01-25 09:46:51 UTC
Created attachment 687368 [details]
File: syslog

Comment 10 David Jansen 2013-01-25 12:04:03 UTC
With the package list reduced to the following, installation proceeds:

@standard
@base-x
@gnome-desktop
@kde-desktop
@office
@editors
@engineering-and-scientific
@authoring-and-publishing
#@graphics
@text-internet
#@graphical-internet
#@printing
@sound-and-video
@games
@development-tools
#@x-software-development
#@java-development
openldap-clients
sssd
tcsh
xterm
nfs-utils

So the problem seems to be caused by some of the groups I had included. I thought I had checked all the changes in package names, but I'll check again.

What remains, is a case of bad error handling in anaconda.

Comment 11 Fedora End Of Life 2013-12-21 10:49:12 UTC
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '18'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 18's end of life.

Thank you for reporting this issue and we are sorry that we may not be 
able to fix it before Fedora 18 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior to Fedora 18's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 12 Fedora End Of Life 2014-02-05 18:29:00 UTC
Fedora 18 changed to end-of-life (EOL) status on 2014-01-14. Fedora 18 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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