[tahoe-lafs-trac-stream] [tahoe-lafs] #808: AttributeError: TahoeError instance has no attribute 'args'

tahoe-lafs trac at tahoe-lafs.org
Mon Aug 15 22:25:59 PDT 2011


#808: AttributeError: TahoeError instance has no attribute 'args'
-----------------------------------+----------------------------
     Reporter:  zooko              |      Owner:
         Type:  defect             |     Status:  closed
     Priority:  major              |  Milestone:  1.7.1
    Component:  code-frontend-cli  |    Version:  1.4.1
   Resolution:  fixed              |   Keywords:  error tahoe-cp
Launchpad Bug:                     |
-----------------------------------+----------------------------
Changes (by davidsarah):

 * milestone:  1.8.2 => 1.7.1


Comment:

 Oh, I may have misinterpreted the ticket description; "tahoe cp
 --recursive --verbose" must not have been the complete command.

 Nevertheless I believe this would have been fixed as a side-effect of
 [4435] and [4436]. Notice in http://tahoe-lafs.org/trac/tahoe-
 lafs/changeset/4435/trunk/src/allmydata/scripts/common.py that
 {{{TahoeError}}} calls the superclass {{{Exception.__init__}}}, which will
 set {{{.args}}}. Its subclasses
 [source:src/allmydata/scripts/common_http.py at 4435#L84 HTTPError] and
 [source:src/allmydata/scripts/tahoe_cp.py at 4435#L30 MissingSourceError]
 also call {{{TahoeError.__init__}}}.

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


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