This is still happening in the Apport test suite, for a bug filed on staging. Test case:
$ lp-shell staging
Connected to LP service "https://api.staging.launchpad.net/" with API version "1.0":
Note: LP can be accessed through the "lp" object.
>>> b=lp.bugs[634699]
>>> f = b.attachments[0].data.open()
Traceback (most recent call last):
[...]
AttributeError: 'NoneType' object has no attribute 'makefile'
Bug 634699 is only accessible to me for now, but I don't think it's specific to me. Just try filing a private bug, and use that one.
This is still happening in the Apport test suite, for a bug filed on staging. Test case:
$ lp-shell staging /api.staging. launchpad. net/" with API version "1.0": 0].data. open()
Connected to LP service "https:/
Note: LP can be accessed through the "lp" object.
>>> b=lp.bugs[634699]
>>> f = b.attachments[
Traceback (most recent call last):
[...]
AttributeError: 'NoneType' object has no attribute 'makefile'
Bug 634699 is only accessible to me for now, but I don't think it's specific to me. Just try filing a private bug, and use that one.