<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><div>Hello everybody,</div><div><br></div><div>I am working on bugzilla xml-rpc by using "<span style="font-family: Arial, Verdana, Geneva, 'Bitstream Vera Sans', Helvetica, sans-serif; font-size: 15px; font-style: italic; line-height: 21px;">Bugzilla XMLRPC access module</span><span style="font-size: 12pt;">"&nbsp;</span><span style="font-size: 12pt;">&nbsp;</span><a href="https://pypi.python.org/pypi/python-bugzilla" target="_blank" style="font-size: 12pt;">https://pypi.python.org/pypi/python-bugzilla</a></div><div><br></div><div><br></div><div>How I can attach/download file of bugzilla ? &nbsp;</div><div><br></div><div>According to guideline (link given below)&nbsp;<span style="font-size: 12pt;">get_attachments_by_bug($bug_id)&nbsp;</span><span style="color: rgb(17, 17, 17); font-family: Verdana, Arial, sans-serif; font-size: 10pt;">retrieves and returns the attachments. &nbsp;</span></div><div><span style="font-size: 12pt;"><br></span></div><div><a href="http://www.bugzilla.org/docs/4.2/en/html/api/Bugzilla/Attachment.html
" target="_blank">http://www.bugzilla.org/docs/4.2/en/html/api/Bugzilla/Attachment.html &nbsp;</a></div><div><br></div><div><span style="color: rgb(17, 17, 17); font-family: Verdana, Arial, sans-serif; font-size: 13px;">But this function didn't worked for me, I got following error message.</span></div><div><br></div><div><strong style="font-family: 'Times New Roman'; font-size: medium; background-color: rgb(240, 240, 248);">&lt;type 'exceptions.AttributeError'&gt;</strong><span style="font-family: 'Times New Roman'; font-size: 12pt; background-color: rgb(240, 240, 248);">: 'Bugzilla4' object has no attribute 'get_attachments_by_bug'&nbsp;</span></div>                                               </div></body>
</html>