Bug 918869

Summary: [abrt] yum-3.4.3-51.fc18: yumRepo.py:424:_ui_id:TypeError: argument of type 'Undefined' is not iterable
Product: [Fedora] Fedora Reporter: frijaf <rfaniriantsoa>
Component: yumAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: admiller, ffesti, jzeleny, packaging-team-maint, tim.lauridsen
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:680ed628bd8981f7dcbde15faea00f16a8fbc169
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-05 19:44:05 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: backtrace
none
File: core_backtrace
none
File: environ
none
File: smolt_data none

Description frijaf 2013-03-07 06:53:22 UTC
Description of problem:
when I launch yum
# yum repolist all

Modules complémentaires chargés : langpacks, presto, refresh-packagekit
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 319, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 144, in main
    result, resultmsgs = base.doCommands()
  File "/usr/share/yum-cli/cli.py", line 485, in doCommands
    return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
  File "/usr/share/yum-cli/yumcommands.py", line 1974, in doCommand
    rid = repo.ui_id # can't use str()
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 424, in _ui_id
    if '$releasever' in val:
TypeError: argument of type 'Undefined' is not iterable
 

Version-Release number of selected component:
yum-3.4.3-51.fc18

Additional info:
cmdline:        /usr/bin/python /usr/bin/yum repolist all
executable:     /usr/bin/yum
kernel:         3.8.1-201.fc18.i686
uid:            0

Truncated backtrace:
yumRepo.py:424:_ui_id:TypeError: argument of type 'Undefined' is not iterable

Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 319, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 144, in main
    result, resultmsgs = base.doCommands()
  File "/usr/share/yum-cli/cli.py", line 485, in doCommands
    return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
  File "/usr/share/yum-cli/yumcommands.py", line 1974, in doCommand
    rid = repo.ui_id # can't use str()
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 424, in _ui_id
    if '$releasever' in val:
TypeError: argument of type 'Undefined' is not iterable

Local variables in innermost frame:
self: <yum.yumRepo.YumRepository object at 0x9ae6fcc>
val: <iniparse.config.Undefined object at 0xa0fe34c>
section_id: 'InstallMedia'
ret: 'InstallMedia'
ini: <iniparse.ini.INISection object at 0xa0fe70c>

Comment 1 frijaf 2013-03-07 06:53:27 UTC
Created attachment 706367 [details]
File: backtrace

Comment 2 frijaf 2013-03-07 06:53:30 UTC
Created attachment 706368 [details]
File: core_backtrace

Comment 3 frijaf 2013-03-07 06:53:38 UTC
Created attachment 706369 [details]
File: environ

Comment 4 frijaf 2013-03-07 06:53:42 UTC
Created attachment 706370 [details]
File: smolt_data

Comment 5 Zdeněk Pavlas 2013-03-07 08:41:26 UTC
A dupe of BZ 870691. This is fixed upstream.  Will rebase yum, probably.

Comment 6 Fedora End Of Life 2013-12-21 11:56:44 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 7 Fedora End Of Life 2014-02-05 19:44:05 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.