Description of problem: Unable to get attachments: % bugzilla --nosslverify attach Usage: bugzilla [global options] COMMAND [command-options] Commands: login, new, query, modify, attach, info bugzilla: error: Bug ID must be specified for setting attachments meatwad% bugzilla --nosslverify attach --getall=192337 Traceback (most recent call last): File "/usr/local/bin/bugzilla", line 1250, in <module> main() File "/usr/local/bin/bugzilla", line 1228, in main _do_get_attach(bz, opt, parser, args) File "/usr/local/bin/bugzilla", line 1031, in _do_get_attach opt.get += [a['id'] for a in bug.attachments] File "/usr/local/lib/python2.7/site-packages/bugzilla/bug.py", line 105, in __getattr__ raise AttributeError("Bug object has no attribute '%s'" % name) AttributeError: Bug object has no attribute 'attachments' Version-Release number of selected component (if applicable): 1.1.0 How reproducible: Install version 1.1.0, patch the default bugzilla installation: -default_bz = 'https://bugzilla.redhat.com/xmlrpc.cgi' +default_bz = 'https://bugs.FreeBSD.org/bugzilla/xmlrpc.cgi' Steps to Reproduce: See above Actual results: see above Expected results: Downloading attachment. Additional info:
This had some code that was specific to an bugzilla.redhat.com extension, fixed upstream to work more generally now: commit 2423299bd35aea958091827f552dc4e3adb0cd75 Author: Cole Robinson <crobinso> Date: Tue Aug 5 11:39:23 2014 +0200 bin/bugzilla: Support attach --getall for non-RH bugzilla (bz 1126162)