Bug 918869 - [abrt] yum-3.4.3-51.fc18: yumRepo.py:424:_ui_id:TypeError: argument of type 'Undefined' is not iterable
Summary: [abrt] yum-3.4.3-51.fc18: yumRepo.py:424:_ui_id:TypeError: argument of type '...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 18
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:680ed628bd8981f7dcbde15faea...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-07 06:53 UTC by frijaf
Modified: 2014-02-05 19:44 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-02-05 19:44:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.04 KB, text/plain)
2013-03-07 06:53 UTC, frijaf
no flags Details
File: core_backtrace (525 bytes, text/plain)
2013-03-07 06:53 UTC, frijaf
no flags Details
File: environ (3.36 KB, text/plain)
2013-03-07 06:53 UTC, frijaf
no flags Details
File: smolt_data (2.99 KB, text/plain)
2013-03-07 06:53 UTC, frijaf
no flags Details

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.


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