<type 'exceptions.KeyError'>: 5
self._runningCallbacks = True
try:
self.result = callback(self.result, *args, **kw)
finally:
_runningCallbacks | False |
result | None |
callback | Method
_once_updated_download_best_version in file
/home/zooko/playground/allmydata/tahoe/trunk/trunk/src/allmydata/mutable/filenode.py
at line 305 |
self | twisted.internet.defer.Deferred instance at 0x1dd2ef0<Deferred at 0x1dd2ef0 current result: None> |
args | (<allmydata.mutable.servermap.ServerMap instance at 0x36a3998>,) |
kw | Dictionary instance @ 0x91cbc80 |
if not goal:
raise UnrecoverableFileError("no recoverable versions")
return self._try_once_to_download_version(servermap, goal)
servermap | allmydata.mutable.servermap.ServerMap instance at 0x36a3998<allmydata.mutable.servermap.ServerMap instance at 0x36a3998> |
self | allmydata.mutable.filenode.MutableFileNode instance at 0x1e5cd40<MutableFileNode 1e5cd40 RW 6n53rbb5> |
goal | (20, "\x80v\xf6\xdd7\xd1\x88\xa9\xd8\x99\x9f\x1bjr\xea\xe4\xbf\xfa\xc9\xc2\xffd\xc5\xecb\xc1\xa4\xcb\xcf('\xe8", '\x8eT\x81<\xbf\xc3\xffO\x0f&o\x9c\xcf\xc2\x83T', 4749, 4747, 3, 10, "\x00\x00\x00\x00\x00\x00\x00\x00\x14\x80v\xf6\xdd7\xd1\x88\xa9\xd8\x99\x9f\x1bjr\xea\xe4\xbf\xfa\xc9\xc2\xffd\xc5\xecb\xc1\xa4\xcb\xcf('\xe8\x8eT\x81<\xbf\xc3\xffO\x0f&o\x9c\xcf\xc2\x83T\x03\n\x00\x00\x00\x00\x00\x00\x12\x8d\x00\x00\x00\x00\x00\x00\x12\x8b", (('EOF', 3621), ('enc_privkey', 2406), ('share_data', 823), ('signature', 399), ('block_hash_tree', 791), ('share_hash_chain', 655))) |
UnrecoverableFileError | <class 'allmydata.mutable.common.UnrecoverableFileError'> |
if history:
history.notify_retrieve(r.get_status())
return r.download()
r | allmydata.mutable.retrieve.Retrieve instance at 0x97c32d8<allmydata.mutable.retrieve.Retrieve instance at 0x97c32d8> |
history | allmydata.history.History instance at 0x1b0aab8<allmydata.history.History instance at 0x1b0aab8> |
# right now, and a well-provisioned grid shouldn't have multiple
# shares per peer.
peerid = list(self.remaining_sharemap[shnum])[0]
self.get_data(shnum, peerid)
remaining_sharemap | {} |
shnum | 5 |
shares | set([(8, 'B\xa6g[P}<\x859\xc0\x83\xac\xe9(\xd5\xe1\xcb\x17\xf3\x9c', 1236176457.7733941), (2, '\xd6>\xb1\xaaF1\xb9\xcf\xdd\xa5\xe6m$\x88W\xfa\x0f/X\xac', 1236176451.9993761), (3, '\x9cR7GnS\xb3n\x11c\xda\xfd\x95\xf0\x0f\xe6|~\xcd^', 1236176452.0135119), (7, '\xb1Z\x86\xd0*\x8dN\xbcHTg\xe2\xb9\x08\xe1=\xfa\x80D\xdb', 1236176457.7767711), (5, '(\x98\xbb\xf8\x8c^\x06\xf6\x1aJ\x96gJ\xcd\xf7/L7\x01\x91', 1236176450.1852679), (6, '\xf1q~\xd3\x99\x8f\xe7\\\xeeY\xc3Pqr\xfb\xa0\xbc)\xf4\xc7', 1236176457.7664011)]) |
self | allmydata.mutable.retrieve.Retrieve instance at 0x97c32d8<allmydata.mutable.retrieve.Retrieve instance at 0x97c32d8> |
peerid | �R7GnS�nc����|~�^ |
<type 'exceptions.KeyError'>: 5