[tahoe-dev] can't upload a file

Pierre Abbat phma at bezitopo.org
Fri May 31 04:11:05 UTC 2013


I tried the same thing with the verbose flag. Here is the output:

examining 0 of 19
examining 1 of 19
examining 2 of 19
examining 3 of 19
examining 4 of 19
examining 5 of 19
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/allmydata/scripts/runner.py", line 113, 
in run
    rc = runner(sys.argv[1:], install_node_control=install_node_control)
  File "/usr/lib/pymodules/python2.7/allmydata/scripts/runner.py", line 99, in 
runner
    rc = cli.dispatch[command](so)
  File "/usr/lib/pymodules/python2.7/allmydata/scripts/cli.py", line 520, in 
cp
    rc = tahoe_cp.copy(options)
  File "/usr/lib/pymodules/python2.7/allmydata/scripts/tahoe_cp.py", line 762, 
in copy
    return Copier().do_copy(options)
--- <exception caught here> ---
  File "/usr/lib/pymodules/python2.7/allmydata/scripts/tahoe_cp.py", line 442, 
in do_copy
    status = self.try_copy()
  File "/usr/lib/pymodules/python2.7/allmydata/scripts/tahoe_cp.py", line 503, 
in try_copy
    return self.copy_to_directory(sources, target)
  File "/usr/lib/pymodules/python2.7/allmydata/scripts/tahoe_cp.py", line 626, 
in copy_to_directory
    target.populate(False)
  File "/usr/lib/pymodules/python2.7/allmydata/scripts/tahoe_cp.py", line 358, 
in populate
    child.init_from_grid(writecap, readcap)
  File "/usr/lib/pymodules/python2.7/allmydata/scripts/tahoe_cp.py", line 314, 
in init_from_grid
    raise HTTPError("Error examining target directory", resp)
allmydata.scripts.common_http.HTTPError: Error examining target directory: 410 
Gone
"NotEnoughSharesError: This indicates that some servers were unavailable, or 
that shares have been lost to server departure, hard drive failure, or disk 
corruption. You should perform a filecheck on this object to learn more.
\x0a\x0aThe full error message is:\x0aran out of peers: have 0 shares (k=3), 2 
queries in flight, need 1 more, found 4 bad shares, last failure: [Failure 
instance: Traceback: <class 'allmydata.mutable.common.CorruptShareError'>: 
<CorruptShareError peerid=q7cs354n shnum[7]: block hash tree 
failure\x0a/usr/lib/python2.7/dist-
packages/foolscap/eventual.py:26:_turn\x0a/usr/lib/python2.7/dist-
packages/twisted/internet/defer.py:362:callback\x0a/usr/lib/python2.7/dist-
packages/twisted/internet/defer.py:458:_startRunCallbacks\x0a/usr/lib/python2.7/dist-
packages/twisted/internet/defer.py:545:_runCallbacks\x0a--- <exception caught 
here> 
---\x0a/usr/lib/pymodules/python2.7/allmydata/mutable/retrieve.py:263:_got_results\x0a/usr/lib/pymodules/python2.7/allmydata/mutable/retrieve.py:305:_got_results_one_share\x0a]"

Error examining target directory: 410 Gone
"NotEnoughSharesError: This indicates that some servers were unavailable, or 
that shares have been lost to server departure, hard drive failure, or disk 
corruption. You should perform a filecheck on this object to learn more.
\x0a\x0aThe full error message is:\x0aran out of peers: have 0 shares (k=3), 2 
queries in flight, need 1 more, found 4 bad shares, last failure: [Failure 
instance: Traceback: <class 'allmydata.mutable.common.CorruptShareError'>: 
<CorruptShareError peerid=q7cs354n shnum[7]: block hash tree 
failure\x0a/usr/lib/python2.7/dist-
packages/foolscap/eventual.py:26:_turn\x0a/usr/lib/python2.7/dist-
packages/twisted/internet/defer.py:362:callback\x0a/usr/lib/python2.7/dist-
packages/twisted/internet/defer.py:458:_startRunCallbacks\x0a/usr/lib/python2.7/dist-
packages/twisted/internet/defer.py:545:_runCallbacks\x0a--- <exception caught 
here> 
---\x0a/usr/lib/pymodules/python2.7/allmydata/mutable/retrieve.py:263:_got_results\x0a/usr/lib/pymodules/python2.7/allmydata/mutable/retrieve.py:305:_got_results_one_share\x0a]"

Pierre
-- 
loi mintu se ckaji danlu cu jmaji



More information about the tahoe-dev mailing list