[tahoe-lafs-trac-stream] [Tahoe-LAFS] #3863: builtins.AttributeError: 'FileTransferServer' object has no attribute '_ebClose'

Tahoe-LAFS trac at tahoe-lafs.org
Fri Jan 21 19:33:11 UTC 2022


#3863: builtins.AttributeError: 'FileTransferServer' object has no attribute
'_ebClose'
-------------------------+-----------------------
     Reporter:  exarkun  |      Owner:
         Type:  defect   |     Status:  new
     Priority:  normal   |  Milestone:  undecided
    Component:  unknown  |    Version:  n/a
   Resolution:           |   Keywords:
Launchpad Bug:           |
-------------------------+-----------------------

Comment (by exarkun):

 This looks a lot like a bug in Twisted Conch.  This `self._ebClose` call
 was added with
 [https://github.com/twisted/twisted/commit/be6c5b38affb8d69860ec1f4d716915a72afd25e
 the first commit of filetransfer.py] in 2003.  There was no `_ebClose`
 method in that commit nor has one ever been added since.

 However, this codepath also seems to be some kind of error path in the
 sftp server implementation.  This is what happens if a client tries to
 close a handle that is neither a file nor a directory?

 I'm not quite sure what the client is trying to do in this case (it's
 quite easily reproducible though).

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3863#comment:1>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list