[tahoe-dev] Bug in SFTP frontend

David-Sarah Hopwood david-sarah at jacaranda.org
Sat Feb 6 20:54:21 PST 2010


David-Sarah Hopwood wrote:
> Jody Harris wrote:
>> On Sat, Feb 6, 2010 at 8:34 PM, David-Sarah Hopwood <
>> david-sarah at jacaranda.org> wrote:
>>
>>> Jody Harris wrote:
>>         exceptions.AssertionError:
> 
> That means that attrs['size'] is probably "" or None. I should have used
> 
>   assert isinstance(s.st_size, (int, long)), repr(s.st_size)
> 
> instead to distinguish them.

Oh, please make that

assert isinstance(s.st_size, (int, long)), repr((s.st_size, node, children))

> Are there any mutable files under the alias directory, or only directories
> and immutable files? Does the above error occur when the alias directory
> is empty?

-- 
David-Sarah Hopwood  ⚥  http://davidsarah.livejournal.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 292 bytes
Desc: OpenPGP digital signature
Url : http://allmydata.org/pipermail/tahoe-dev/attachments/20100207/5d251d9e/attachment.pgp 


More information about the tahoe-dev mailing list