[tahoe-lafs-trac-stream] [tahoe-lafs] #1634: TypeError due to "size" being None in pyfilesystem+dokan

tahoe-lafs trac at tahoe-lafs.org
Fri Dec 21 01:18:50 UTC 2012


#1634: TypeError due to "size" being None in pyfilesystem+dokan
-------------------------+-------------------------------------------------
     Reporter:  zooko    |      Owner:  somebody
         Type:  defect   |     Status:  new
     Priority:  major    |  Milestone:  1.11.0
    Component:  code-    |    Version:  1.9.0
  frontend-web           |   Keywords:  pyfilesystem dokan error webapi
   Resolution:           |  docs mutable test-needed
Launchpad Bug:           |
-------------------------+-------------------------------------------------

Comment (by davidsarah):

 Replying to [comment:4 davidsarah]:
 >  We normally represent unknown information by omitting a field (which
 the pyFilesystem Tahoe-LAFS backend would be able to handle, using
 {{{info.get("size",0)}}}).

 Correction: a missing {{{"size"}}} field will actually be coerced to 0
 earlier, in this code:
 http://code.google.com/p/pyfilesystem/source/browse/trunk/fs/contrib/tahoelafs/util.py#79

-- 
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1634#comment:5>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list