Bug 974165

Summary: beaker-wizard tracebacks on KeyError: 'ispatch'
Product: [Retired] Beaker Reporter: Tomas Dolezal <todoleza>
Component: command lineAssignee: beaker-dev-list
Status: CLOSED DUPLICATE QA Contact: tools-bugs <tools-bugs>
Severity: high Docs Contact:
Priority: unspecified    
Version: 0.12CC: asaha, dcallagh, llim, qwan, rglasz, rmancy
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-13 23:56:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tomas Dolezal 2013-06-13 14:35:52 UTC
Description of problem:
Traceback appears when fetching certain info from bugzilla.

Version-Release number of selected component (if applicable):
beaker-client-0.12.1-1.el6eng.noarch

How reproducible:
always

Steps to Reproduce:
$ beaker-wizard -b 847339

Actual results:
Contacting bugzilla...
Fetching details for BZ#847339
Examining attachments for possible reproducers
Traceback (most recent call last):
  File "/usr/bin/beaker-wizard", line 9, in <module>
    load_entry_point('bkr.client==0.12.1', 'console_scripts', 'beaker-wizard')()
  File "/usr/lib/python2.6/site-packages/bkr/client/wizard.py", line 2626, in main
    test = Test(options)
  File "/usr/lib/python2.6/site-packages/bkr/client/wizard.py", line 1089, in __init__
    self.init()
  File "/usr/lib/python2.6/site-packages/bkr/client/wizard.py", line 2328, in init
    self.testname = Name(self.options)
  File "/usr/lib/python2.6/site-packages/bkr/client/wizard.py", line 1089, in __init__
    self.init()
  File "/usr/lib/python2.6/site-packages/bkr/client/wizard.py", line 1846, in init
    self.bugs.fetchBugDetails()
  File "/usr/lib/python2.6/site-packages/bkr/client/wizard.py", line 1776, in fetchBugDetails
    self.reproducers.find(self.bug)
  File "/usr/lib/python2.6/site-packages/bkr/client/wizard.py", line 1911, in find
    if attachment['ispatch'] == 0 and attachment['isobsolete'] == 0:
KeyError: 'ispatch'

Expected results:
summary appears

Additional info:

Comment 1 Tomas Dolezal 2013-06-13 14:36:33 UTC
*** Bug 974161 has been marked as a duplicate of this bug. ***

Comment 2 Nick Coghlan 2013-06-13 23:56:14 UTC
This has already been fixed and will be included in the upcoming 0.13 release.

*** This bug has been marked as a duplicate of bug 929190 ***