|Subject:||Re: [Fab-user] [PATCH] BUG: SFTP exception with strerror = None|
|Date:||Mon, 25 May 2009 17:43:53 -0400|
On May 25, 2009, at 14:36 , Jeff Forcier wrote:
Yes, that is basically the issue. On my Ubuntu systems, when a binary is running (such as my server processes), they cannot be opened for write. As a quick example, here is what happens from the Python command line:
>>> f = open("htableserver", "w")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
IOError: [Errno 26] Text file busy: 'htableserver'
Exactly. When this happens, SFTP returns an error with no message. OpenSSH's scp does the "right" thing and actually returns the text of the operating system error.
|[Prev in Thread]||Current Thread||[Next in Thread]|