[tahoe-lafs-trac-stream] [tahoe-lafs] #1304: 'tahoe cp' copying to a mutable file should replace the contents

tahoe-lafs trac at tahoe-lafs.org
Fri Jul 29 21:14:35 PDT 2011


#1304: 'tahoe cp' copying to a mutable file should replace the contents
-----------------------------------+--------------------------------
     Reporter:  davidsarah         |      Owner:  kevan
         Type:  defect             |     Status:  reopened
     Priority:  major              |  Milestone:  1.9.0
    Component:  code-frontend-cli  |    Version:  1.8.1
   Resolution:                     |   Keywords:  tahoe-cp usability
Launchpad Bug:                     |
-----------------------------------+--------------------------------

Comment (by davidsarah):

 Oh, I see. {{{simplejson.loads}}} doesn't consistently return the same
 type, it returns either {{{unicode}}} or {{{str}}} depending on its
 version and the phase of the moon. For example,
 {{{
 self.rw_uri = data["rw_uri"]
 }}}
 should be
 {{{
 self.rw_uri = to_str(data["rw_uri"])
 }}}
 where {{{to_str}}} is defined in
 [source:src/allmydata/util/encodingutil.py] (similarly for all the URIs
 read from JSON).

-- 
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1304#comment:18>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized storage


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