SFTPHomeDirServer hangs with unicode urls

John A Meinel john at arbash-meinel.com
Thu Jan 26 16:01:16 GMT 2006


Robey Pointer wrote:
> 
> 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

Unfortunately, I've merged jam-integration, so I've gotten those fixes,
and it still hangs on test_unicode_paths(SFTPHomeDirServer)

I could certainly be messing up something somewhere else, but I'm really
surprised that the Absolute servers work, while the HomeDir does not.

John
=:->


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060126/099a79a0/attachment.pgp 


More information about the bazaar mailing list