Bug 947827 - [abrt] yum-3.4.3-51.fc18: completion-helper.py:67:get_pattern:IndexError: list index out of range
Summary: [abrt] yum-3.4.3-51.fc18: completion-helper.py:67:get_pattern:IndexError: lis...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdeněk Pavlas
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:23af528873bdbcf7a0aff3742ae...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-03 11:35 UTC by James May
Modified: 2013-04-23 03:36 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-04-23 03:36:50 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (773 bytes, text/plain)
2013-04-03 11:35 UTC, James May
no flags Details
File: core_backtrace (474 bytes, text/plain)
2013-04-03 11:35 UTC, James May
no flags Details
File: environ (2.80 KB, text/plain)
2013-04-03 11:35 UTC, James May
no flags Details

Description James May 2013-04-03 11:35:31 UTC
Version-Release number of selected component:
yum-3.4.3-51.fc18

Additional info:
cmdline:        /usr/bin/python -t /usr/share/yum-cli/completion-helper.py -d 0 -C repolist disabled ' '
executable:     /usr/share/yum-cli/completion-helper.py
kernel:         3.8.4-202.fc18.x86_64
uid:            1000
ureports_counter: 1

Truncated backtrace:
completion-helper.py:67:get_pattern:IndexError: list index out of range

Traceback (most recent call last):
  File "/usr/share/yum-cli/completion-helper.py", line 89, in <module>
    main(sys.argv[1:])
  File "/usr/share/yum-cli/completion-helper.py", line 83, in main
    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/completion-helper.py", line 56, in doCommand
    pattern = get_pattern(extcmds)
  File "/usr/share/yum-cli/completion-helper.py", line 67, in get_pattern
    try: return shlex.split(extcmds[-1])[0] + "*"
IndexError: list index out of range

Local variables in innermost frame:
extcmds: ['disabled', ' ']

Comment 1 James May 2013-04-03 11:35:37 UTC
Created attachment 731120 [details]
File: backtrace

Comment 2 James May 2013-04-03 11:35:41 UTC
Created attachment 731121 [details]
File: core_backtrace

Comment 3 James May 2013-04-03 11:35:45 UTC
Created attachment 731122 [details]
File: environ

Comment 4 Jan Zeleny 2013-04-05 08:06:28 UTC
Reassigning to Zdenek, as he has done some digging in the code of completion helper lately.

Comment 5 Fedora Update System 2013-04-10 11:05:30 UTC
yum-3.4.3-82.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/yum-3.4.3-82.fc19

Comment 6 Fedora Update System 2013-04-10 15:22:17 UTC
Package yum-3.4.3-82.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing yum-3.4.3-82.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-5332/yum-3.4.3-82.fc19
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2013-04-16 14:19:16 UTC
yum-3.4.3-83.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/yum-3.4.3-83.fc19

Comment 8 Fedora Update System 2013-04-23 03:36:51 UTC
yum-3.4.3-83.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.


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