<div dir="ltr">I&#39;m trying to use the getbug() method of python-bugzilla to get more details (extract additional fields) from specific bugs; however, I am apparently missing something.<div><br></div><div>&gt;&gt;&gt; import bugzilla</div>
<div><br></div><div>&gt;&gt;&gt; bz = bugzilla.Bugzilla(&#39;<a href="https://bugzilla.redhat.com/xmlrpc.cgi">https://bugzilla.redhat.com/xmlrpc.cgi</a>&#39;)</div><div><br></div><div>&gt;&gt;&gt; bz.login(user,password)</div>
<div><br></div><div>&gt;&gt;&gt; bz.getbug(&#39;111111&#39;)</div><div>&lt;Bug #111111 on <a href="https://bugzilla.redhat.com/xmlrpc.cgi">https://bugzilla.redhat.com/xmlrpc.cgi</a> at 0x175fd90&gt;</div><div><br></div><div>
&gt;&gt;&gt; print bz.getbug(&#39;111111&#39;)</div><div>#111111 CLOSED     - <a href="mailto:hp@redhat.com">hp@redhat.com</a> - libgnomeui should BuildRequires: libjpeg-devel<br></div><div><br clear="all"><div>&gt;&gt;&gt; print bz.getbug(&#39;111111&#39;, include_fields=[&#39;cf_qa_whiteboard&#39;]</div>
<div><div>Traceback (most recent call last):</div><div>  File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;</div><div>  File &quot;/usr/lib/python2.7/site-packages/bugzilla/base.py&quot;, line 983, in getbug</div><div>
    exclude_fields=exclude_fields, extra_fields=extra_fields)</div><div>  File &quot;/usr/lib/python2.7/site-packages/bugzilla/base.py&quot;, line 976, in _getbug</div><div>    extra_fields=extra_fields)[0]</div><div>  File &quot;/usr/lib/python2.7/site-packages/bugzilla/base.py&quot;, line 951, in _getbugs</div>
<div>    bugdict = dict([(b[&#39;id&#39;], b) for b in r[&#39;bugs&#39;]])</div><div>KeyError: &#39;id&#39;</div></div><div><br></div><div><div>&gt;&gt;&gt; print bz.getbug(&#39;111111&#39;,[&#39;cf_qa_whiteboard&#39;])</div>
<div>Traceback (most recent call last):</div><div>  File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;</div><div>  File &quot;/usr/lib/python2.7/site-packages/bugzilla/base.py&quot;, line 983, in getbug</div><div>    exclude_fields=exclude_fields, extra_fields=extra_fields)</div>
<div>  File &quot;/usr/lib/python2.7/site-packages/bugzilla/base.py&quot;, line 976, in _getbug</div><div>    extra_fields=extra_fields)[0]</div><div>  File &quot;/usr/lib/python2.7/site-packages/bugzilla/base.py&quot;, line 951, in _getbugs</div>
<div>    bugdict = dict([(b[&#39;id&#39;], b) for b in r[&#39;bugs&#39;]])</div><div>KeyError: &#39;id&#39;</div></div><div><br></div><div>Appreciate any insight here.</div><div><br></div><div>Thanks!</div><div><br></div>
<div>-- </div><div dir="ltr"><a href="http://about.me/ericsammons" style="margin:0px;padding:0px;border:0px;outline:0px;font-size:14px;font-family:proxima-nova-1,proxima-nova-2,Tahoma,Helvetica,Verdana,sans-serif;vertical-align:baseline;color:rgb(43,130,173);text-decoration:none;line-height:18.200000762939453px" target="_blank"><table border="0" cellpadding="0" cellspacing="0" style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;border-spacing:0px">
<tbody style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline"><tr style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline">
<td colspan="3" style="padding:0px;border:0px;outline:0px;font-style:inherit;font-size:0px;font-family:inherit;vertical-align:baseline;height:30px"> </td></tr><tr style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline">
<td align="left" valign="top" style="padding:0px;border:0px;outline:0px;font-style:inherit;font-family:inherit;vertical-align:top;line-height:1"><div style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline">
<img src="http://d3mod6n032mdiz.cloudfront.net/thumb2/e/r/i/ericsammons/ericsammons-105x70.jpg" alt="Eric Sammons on about.me" width="105" height="70" style="margin: 0px; padding: 0px; border: 1px solid rgb(238, 238, 238); outline: 0px; font-weight: inherit; font-style: inherit; font-family: inherit; vertical-align: baseline; display: block;"></div>
</td><td style="padding:0px;border:0px;outline:0px;font-style:inherit;font-size:0px;font-family:inherit;vertical-align:baseline;width:10px"> </td><td align="left" valign="bottom" style="padding:0px 0px 3px;border:0px;outline:0px;font-style:inherit;font-family:inherit;vertical-align:bottom;line-height:1">
<div style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:bold;font-style:inherit;font-size:18px;font-family:proxima-nova-1,Proxima-Nova,Helvetica,Arial,sans-serif;vertical-align:baseline;line-height:1;color:rgb(51,51,51)">
Eric Sammons</div><div style="margin:1px 0px 0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-size:12px;font-family:proxima-nova-1,Proxima-Nova,Helvetica,Arial,sans-serif;vertical-align:baseline">
about.me/ericsammons</div></td></tr><tr style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline"><td colspan="3" style="padding:0px;border:0px;outline:0px;font-style:inherit;font-size:0px;font-family:inherit;vertical-align:baseline;height:20px">
 </td></tr></tbody></table></a></div>
</div></div>