[tahoe-dev] [tahoe-lafs] #842: PipelineError during backup

tahoe-lafs trac at allmydata.org
Tue Nov 24 12:07:27 PST 2009


#842: PipelineError during backup
--------------------------+-------------------------------------------------
 Reporter:  francois      |           Owner:  warner
     Type:  defect        |          Status:  new   
 Priority:  major         |       Milestone:  1.6.0 
Component:  code-network  |         Version:  1.5.0 
 Keywords:  regression    |   Launchpad_bug:        
--------------------------+-------------------------------------------------

Comment(by warner):

 I think the problem is that {{{PipelineError}}} is not str-able (it
 overrides {{{__init__}}} and {{{__repr__}}} but not {{{__str__}}}).

 If I had to guess, I'd say that a connection was lost during the upload,
 the encoder tried to log.msg the exception instance, but it wasn't str-
 able so it blew up. I'd also guess that this has been a problem since that
 Pipeline class went into 1.5.0, but only shows up if you get an exception
 during upload.

 I'll add a test of str-ability and fix the class
 (source:src/allmydata/util/pipeline.py in case anyone's curious).

-- 
Ticket URL: <http://allmydata.org/trac/tahoe/ticket/842#comment:3>
tahoe-lafs <http://allmydata.org>
secure decentralized file storage grid


More information about the tahoe-dev mailing list