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

Bug 950919

Summary: beaker-wizard tracebacks on bug #911756
Product: [Retired] Beaker Reporter: Karel Volný <kvolny>
Component: command lineAssignee: beaker-dev-list
Status: CLOSED DUPLICATE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.11CC: 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-04-11 08:10:10 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 Karel Volný 2013-04-11 08:05:33 UTC
Description of problem:
Trying to create test template via beaker-wizard for bug #911756, it tracebacks.

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

How reproducible:
always

Steps to Reproduce:
1. beaker-wizard -b
2.
Bugs or CVE's related to the test
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[None?] 911756
  
Actual results:
Fetching details for BZ#911756
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.11.3', 'console_scripts', 'beaker-wizard')()
  File "/usr/lib/python2.7/site-packages/bkr/client/wizard.py", line 2623, in main
    test = Test(options)
  File "/usr/lib/python2.7/site-packages/bkr/client/wizard.py", line 1089, in __init__
    self.init()
  File "/usr/lib/python2.7/site-packages/bkr/client/wizard.py", line 2325, in init
    self.testname = Name(self.options)
  File "/usr/lib/python2.7/site-packages/bkr/client/wizard.py", line 1089, in __init__
    self.init()
  File "/usr/lib/python2.7/site-packages/bkr/client/wizard.py", line 1846, in init
    self.bugs.fetchBugDetails()
  File "/usr/lib/python2.7/site-packages/bkr/client/wizard.py", line 1776, in fetchBugDetails
    self.reproducers.find(self.bug)
  File "/usr/lib/python2.7/site-packages/bkr/client/wizard.py", line 1908, in find
    if attachment['ispatch'] == 0 and attachment['isobsolete'] == 0:
KeyError: 'ispatch'

Expected results:
(no traceback, wizard finishes creating the template)

Additional info:

Comment 1 Qixiang Wan 2013-04-11 08:10:10 UTC
This is a duplicate of bug 929190, it is due to the latest python-bugzilla uses different key names from 'ispatch' to 'is_patch', 'isobsolete' to 'is_obsolete' and 'filename' to 'file_name'.

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

Comment 2 Karel Volný 2013-04-11 11:54:39 UTC
(In reply to comment #1)
> This is a duplicate of bug 929190, it is due to the latest python-bugzilla
> uses different key names from 'ispatch' to 'is_patch', 'isobsolete' to
> 'is_obsolete' and 'filename' to 'file_name'.

thanks for the information

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

sorry for the duplicate, I must had been blind looking at the beaker-client bug list