SFTPHomeDirServer hangs with unicode urls

Robey Pointer robey at lag.net
Thu Jan 26 07:28:40 GMT 2006


On 16 Jan 2006, at 14:27, John A Meinel wrote:

> I haven't figured out exactly why yet, but the SFTPHomeDirServer is
> hanging when I try to create unicode paths.
> What is weird is that the AbsolutePath server (and Sibling) doesn't  
> have
> any problems.
>
> The code is in my 'encoding' branch at:
> http://bzr.arbash-meinel.com/branches/bzr/encoding/
>
> The specific test that I am doing is:
>
> t = self.get_transport()
> t.put(urlescape(u'\xe5'), StringIO('contents of foo\n'))
>
> The error I get is:
> ...tTransportImplementation.test_unicode_paths(SFTPHomeDirServer)No
> handlers could be found for logger "paramiko.transport"
>
> And then it just locks up.

Sorry that it took me a while to get to this, but if you look at line  
120 of tests/stub_sftp.py in the encodings branch, I think you'll  
immediately see what the problem is.  It's the same thing we fixed  
earlier on bzr.dev when running the bzr tests against paramiko head.

robey





More information about the bazaar mailing list