Bug 947827

Summary: [abrt] yum-3.4.3-51.fc18: completion-helper.py:67:get_pattern:IndexError: list index out of range
Product: [Fedora] Fedora Reporter: James May <bzrh>
Component: yumAssignee: Zdeněk Pavlas <zpavlas>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: admiller, ffesti, jzeleny, packaging-team-maint, tim.lauridsen, zpavlas
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:23af528873bdbcf7a0aff3742aed346aa29358f9
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-23 03:36:50 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

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.