﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	launchpad_bug
1223	got 'WrongSegmentError' during repair	francois	somebody	"As I was working to improve the logging of 'tahoe deep-check' and 'tahoe check' (another ticket coming soon), I manually deleted shares from two different tahoe nodes to manually trigger a repair.

Encoding parameters of this file were M=66 and K=22.

The complete debug log as extracted by 'flogtool' is attached to this ticket.

{{{
$ tahoe check --repair URI:CHK:XXXXX
ERROR: 500 Internal Server Error
""Traceback (most recent call last):\x0a  File \""/usr/lib/pymodules/python2.6/foolscap/eventual.py\"", line 26, in _turn\x0a    cb(*args, **kwargs)\x0a  File \""/home/francois/dev/tahoe-upstream/src/allmydata/immutable/downloader/node.py\"", line 472, in _deliver\x0a    d.callback(result) # might actually be an errback\x0a  File \""/usr/lib/python2.6/dist-packages/twisted/internet/defer.py\"", line 280, in callback\x0a    self._startRunCallbacks(result)\x0a  File \""/usr/lib/python2.6/dist-packages/twisted/internet/defer.py\"", line 354, in _startRunCallbacks\x0a    self._runCallbacks()\x0a--- <exception caught here> ---\x0a  File \""/usr/lib/python2.6/dist-packages/twisted/internet/defer.py\"", line 371, in _runCallbacks\x0a    self.result = callback(self.result, *args, **kw)\x0a  File \""/home/francois/dev/tahoe-upstream/src/allmydata/immutable/downloader/segmentation.py\"", line 116, in _got_segment\x0a    raise WrongSegmentError(\""I was given the wrong data.\"")\x0aallmydata.immutable.downloader.common.WrongSegmentError: I was given the wrong data.\x0a""

}}}
"	defect	new	major	undecided	code	1.8.0			francois@…	
