Paramiko sftp tests fail if prefetch() set

Robey Pointer robey at lag.net
Mon Nov 28 20:28:07 GMT 2005


On 28 Nov 2005, at 9:56, John A Meinel wrote:

> I found that on my linux box, the tests also fail if you have prefetch
> enabled, and I think I know why.
> [...]
> I'm wondering if it isn't something about the second get() after the
> first never finished. I don't know if the file handle is still  
> open, and
> doesn't want to open a new one.

It's probably not that, since file handles aren't cached, but there  
is definitely a race in there somewhere.  I haven't had a chance to  
debug it yet -- hopefully when I get back home later this week.

I posted a patch a week ago that should've turned off prefetch in  
bzr; did that not work for you?


> I know that is where the code is hanging, I'm just not positive as to
> why. This is as of robey at lag.net--2005/paramiko--dev--1--patch-11
>
> Unfortunately, it is difficult with Arch to figure out what change you
> did which actually caused the problem, since you official release is
> only merges from your laptop.

Yes, I'm really sick of arch... As soon as I can get one of the tla- 
 >bzr conversion tools to work, I'm switching.  Until then, suck city.

robey





More information about the bazaar mailing list