Changes between Initial Version and Version 2 of Ticket #1803


Ignore:
Timestamp:
2012-09-10T03:34:04Z (12 years ago)
Author:
davidsarah
Comment:

From the traceback it seems to be the S3 backend branch (/home/customer/LAFS_source on the storage server), not the cloud backend branch (/home/zooko/playground/tahoe-lafs/cloud-backend on the gateway), that is relevant. In any case the S3Bucket class from which the error is raised appears in both with few changes.

It seems that S3Bucket.get_object returned a Deferred for None (rather than a Deferred byte string), which is confusing. I think it can only happen if txaws.s3.client.S3Client.get_object returns a Deferred for None.

I looked briefly at the txaws code and it seems as though the return value comes from the client returned by twisted.web.client.HTTPClientFactory, but I can't tell whether that is giving None or whether the data is getting lost somewhere in txaws, or (less likely) in our error handling code.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1803

    • Property Status changed from new to assigned
    • Property Summary changed from s3_backend: AttributeError: 'NoneType' object has no attribute 'startswith' to S3 backend: AttributeError: 'NoneType' object has no attribute 'startswith'
    • Property Priority changed from normal to major
    • Property Keywords s3-backend error added
    • Property Version changed from cloud-branch to 1.9.0-s3branch
    • Property Owner set to davidsarah
  • Ticket #1803 – Description

    initial v2  
    88}}}
    99
    10 This is actually the cloud backend, not trunk.
     10The client is actually the cloud backend, not trunk.
    1111
    1212{{{
     
    2929setuptools: 0.6c16dev3
    3030}}}
     31
     32The storage server is LAE's ticket999-S3-backend branch.