[tahoe-lafs-trac-stream] [tahoe-lafs] #1670: KeyError in mutable retrieve

tahoe-lafs trac at tahoe-lafs.org
Sun Feb 19 06:32:13 UTC 2012


#1670: KeyError in mutable retrieve
-------------------------+-------------------------------------------------
     Reporter:  vikarti  |      Owner:  davidsarah
         Type:  defect   |     Status:  new
     Priority:           |  Milestone:  soon
  critical               |    Version:  1.9.1
    Component:  code-    |   Keywords:  mutable retrieve error tahoe-backup
  mutable                |
   Resolution:           |
Launchpad Bug:           |
-------------------------+-------------------------------------------------

Comment (by vikarti):

 Davidsarah,
 possible related to this:
 SDMF directory, 2 tahoe backup sessions from different gateways,
 2nd one got:
 {{{
 Unable to create target directory: 500 Internal Server Error
 "Traceback (most recent call last):\x0a  File \"C:\\Tahoe\\allmydata-
 tahoe-1.9.1\\support\\Lib\\site-packages\\twisted-10.1.0-py2.6-win-
 amd64.egg\\twisted\\inte
 rnet\\base.py\", line 796, in runUntilCurrent\x0a    call.func(*call.args,
 **call.kw)\x0a  File \"C:\\Tahoe\\allmydata-tahoe-1.9.1\\support\\Lib
 \\site-packages\
 \foolscap-0.6.3-py2.6.egg\\foolscap\\eventual.py\", line 26, in _turn\x0a
 cb(*args, **kwargs)\x0a  File \"C:\\Tahoe\\allmydata-
 tahoe-1.9.1\\support\\Lib\\sit
 e-packages\\twisted-10.1.0-py2.6-win-
 amd64.egg\\twisted\\internet\\defer.py\", line 318, in callback\x0a
 self._startRunCallbacks(result)\x0a  File \"C:\\Taho
 e\\allmydata-tahoe-1.9.1\\support\\Lib\\site-
 packages\\twisted-10.1.0-py2.6-win-
 amd64.egg\\twisted\\internet\\defer.py\", line 424, in
 _startRunCallbacks\x0a
  self._runCallbacks()\x0a--- <exception caught here> ---\x0a  File
 \"C:\\Tahoe\\allmydata-tahoe-1.9.1\\support\\Lib\\site-
 packages\\twisted-10.1.0-py2.6-win-amd
 64.egg\\twisted\\internet\\defer.py\", line 441, in _runCallbacks\x0a
 self.result = callback(self.result, *args, **kw)\x0a  File \"c:\\tahoe
 \\allmydata-tahoe
 -1.9.1\\src\\allmydata\\mutable\\filenode.py\", line 855, in <lambda>\x0a
 self._modify_once(modifier, first_time))\x0a  File \"c:\\tahoe\\allmydata-
 tahoe-1.9
 .1\\src\\allmydata\\mutable\\filenode.py\", line 881, in _modify_once\x0a
 d = self._try_to_download_data()\x0a  File \"c:\\tahoe\\allmydata-
 tahoe-1.9.1\\src\
 \allmydata\\mutable\\filenode.py\", line 959, in _try_to_download_data\x0a
 d = self._read(c, fetch_privkey=True)\x0a  File \"c:\\tahoe\\allmydata-
 tahoe-1.9.1
 \\src\\allmydata\\mutable\\filenode.py\", line 980, in _read\x0a    d =
 r.download(consumer, offset, size)\x0a  File \"c:\\tahoe\\allmydata-
 tahoe-1.9.1\\src\\al
 lmydata\\mutable\\retrieve.py\", line 237, in download\x0a
 self._setup_download()\x0a  File \"c:\\tahoe\\allmydata-
 tahoe-1.9.1\\src\\allmydata\\mutable\\retr
 ieve.py\", line 277, in _setup_download\x0a    shares =
 versionmap[self.verinfo]\x0aexceptions.KeyError: (1,
 '@E\\xe0H\\x8a\\xbc\\xa6rQA\\xfa\\xab\\xfd&B\\xf6td
 \"jv\\xae\\x96\\xccel\\xcf\\xc2\\x9f\\x8aG)',
 '\\xde\\xdeyKb\\xcc\\x8f-\\xed\\xea\\xa7\\xcc\\xe1a\\xfe\\x10', 0, 0, 4,
 13, '\\x00\\x00\\x00\\x00\\x00\\x00\\x00\
 \x00\\x01 at E\\xe0H\\x8a\\xbc\\xa6rQA\\xfa\\xab\\xfd&B\\xf6td\"jv\\xae\\x96\\xccel\\xcf\\xc2\\x9f\\x8aG)\\xde\\xdeyKb\\xcc\\x8f-\\xed\\xea\\xa7\\xcc\\xe1a\\xfe\\x
 10\\x04\\r\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00',
 (('enc_privkey', 823), ('EOF', 2038), ('share_data', 823), ('signat
 ure', 399), ('block_hash_tree', 791), ('share_hash_chain', 655)))\x0a"
 }}}
 I think this is possible related to this ticket so reporting there.
 also, there is inciden file for this one(attaching it)

-- 
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1670#comment:7>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage


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