Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 975727

Summary: beaker-wizard: keyerror ispatch
Product: [Retired] Beaker Reporter: Karel Srot <ksrot>
Component: command lineAssignee: Petr Šplíchal <psplicha>
Status: CLOSED DUPLICATE QA Contact: tools-bugs <tools-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: developCC: asaha, dcallagh, llim, ohudlick, 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-19 08:47:29 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:
Attachments:
Description Flags
patch that fixed it for me none

Description Karel Srot 2013-06-19 08:36:06 UTC
Description of problem:

$ beaker-wizard -b 959460
Contacting bugzilla...
Fetching details for BZ#959460
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'

Comment 1 Qixiang Wan 2013-06-19 08:47:29 UTC
This is fixed in 0.13

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

Comment 2 Karel Srot 2013-06-19 08:49:22 UTC
Created attachment 762794 [details]
patch that fixed it for me