[tahoe-dev] Upload error

Ed Kapitein ed at kapitein.org
Thu Jul 4 22:10:03 UTC 2013


Hi sometimes when i upload a file i get an error like this one:

<type 'exceptions.KeyError'>: (9, 
'\x7f\x07\x14\xb8\xcaj\x17`\x03\xb0\xb8\xc42(2\x10\xc1\xaa\x85\x88\x03\xcd\xb6\xb7\xa6\x89\x92\xbf\xd0\xc8(\xea', 
'\xd0\xdd\x95\x93\x94#\xce\xb9\xaaG6\x9f\xe1\x8e\x19\x9c', 1083, 1083, 
3, 5, 
'\x00\x00\x00\x00\x00\x00\x00\x00\t\x7f\x07\x14\xb8\xcaj\x17`\x03\xb0\xb8\xc42(2\x10\xc1\xaa\x85\x88\x03\xcd\xb6\xb7\xa6\x89\x92\xbf\xd0\xc8(\xea\xd0\xdd\x95\x93\x94#\xce\xb9\xaaG6\x9f\xe1\x8e\x19\x9c\x03\x05\x00\x00\x00\x00\x00\x00\x04;\x00\x00\x00\x00\x00\x00\x04;', 
(('enc_privkey', 1150), ('EOF', 2365), ('share_data', 789), 
('signature', 399), ('block_hash_tree', 757), ('share_hash_chain', 655)))

<http://cherry.kapitein.org:3456/uri/URI%3ADIR2%3Aatryfvztm6ostkcwp23h5jxcbe%3Aeuymosl2akijjb73haclcn5wc2ppahakmlzggstgqsoj4iizop2q/#tracebackEnd> 

/usr/lib/python2.7/dist-packages/twisted/internet/defer.py, line 551 in 
_runCallbacks
549

                     current._runningCallbacks = True

550

                     try:

551

                         current.result = callback(current.result, *args, **kw)

552

                     finally:

/home/tahoe/allmydata-tahoe-1.10.0/src/allmydata/mutable/filenode.py, 
line 854 in <lambda>
852
853

         d.addCallback(lambda ignored:

854

             self._modify_once(modifier, first_time))

855

         def _retry(f):

/home/tahoe/allmydata-tahoe-1.10.0/src/allmydata/mutable/filenode.py, 
line 880 in _modify_once
878

         # download_to_data is serialized, so we have to call this to

879

         # avoid deadlock.

880

         d = self._try_to_download_data()

881

         def _apply(old_contents):

/home/tahoe/allmydata-tahoe-1.10.0/src/allmydata/mutable/filenode.py, 
line 958 in _try_to_download_data
956

         c = consumer.MemoryConsumer()

957

         # modify will almost certainly write, so we need the privkey.

958

         d = self._read(c, fetch_privkey=True)

959

         d.addCallback(lambda mc: "".join(mc.chunks))

/home/tahoe/allmydata-tahoe-1.10.0/src/allmydata/mutable/filenode.py, 
line 980 in _read
978

         if self._history:

979

             self._history.notify_retrieve(r.get_status())

980

         d = r.download(consumer, offset, size)

981

         return d

/home/tahoe/allmydata-tahoe-1.10.0/src/allmydata/mutable/retrieve.py, 
line 244 in download
242

         self._offset = offset

243

         self._read_length = size

244

         self._setup_download()

245

         self._setup_encoding_parameters()

/home/tahoe/allmydata-tahoe-1.10.0/src/allmydata/mutable/retrieve.py, 
line 284 in _setup_download
282

         # first, which servers can we use?

283

         versionmap = self.servermap.make_versionmap()

284

         shares = versionmap[self.verinfo]

285

         # this sharemap is consumed as we decide to send requests

<type 'exceptions.KeyError'>: (9, 
'\x7f\x07\x14\xb8\xcaj\x17`\x03\xb0\xb8\xc42(2\x10\xc1\xaa\x85\x88\x03\xcd\xb6\xb7\xa6\x89\x92\xbf\xd0\xc8(\xea', 
'\xd0\xdd\x95\x93\x94#\xce\xb9\xaaG6\x9f\xe1\x8e\x19\x9c', 1083, 1083, 
3, 5, 
'\x00\x00\x00\x00\x00\x00\x00\x00\t\x7f\x07\x14\xb8\xcaj\x17`\x03\xb0\xb8\xc42(2\x10\xc1\xaa\x85\x88\x03\xcd\xb6\xb7\xa6\x89\x92\xbf\xd0\xc8(\xea\xd0\xdd\x95\x93\x94#\xce\xb9\xaaG6\x9f\xe1\x8e\x19\x9c\x03\x05\x00\x00\x00\x00\x00\x00\x04;\x00\x00\x00\x00\x00\x00\x04;', 
(('enc_privkey', 1150), ('EOF', 2365), ('share_data', 789), 
('signature', 399), ('block_hash_tree', 757), ('share_hash_chain', 655)))

I am trying this in the pubgrid, wit 3-7-10 encoding and connected to 13 
of 40 known storage servers.

And after a couple of tries it just works.

Any idea what goes wrong here?
i am running 1.10.0 on a RPI.

Kind regards,
Ed

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tahoe-lafs.org/pipermail/tahoe-dev/attachments/20130705/eb0c0c54/attachment.html>


More information about the tahoe-dev mailing list