[tahoe-dev] Error all of a sudden

Dimitri Yioulos dyioulos at yahoo.com
Thu Oct 1 08:24:07 PDT 2009


Hello all.

When trying to do a backup during the past couple of days, I get the following error(s):

dyioulos at server:~$ pfexec tahoe backup /usr/local/doc tahoe:bpbackup
Traceback (most recent call last):
  File "/usr/local/allmydata-tahoe-1.5.0/support/bin/tahoe", line 8, in <module>
    load_entry_point('allmydata-tahoe==1.5.0', 'console_scripts', 'tahoe')()
  File "/usr/local/allmydata-tahoe-1.5.0/src/allmydata/scripts/runner.py", line 91, in run
    rc = runner(sys.argv[1:])
  File "/usr/local/allmydata-tahoe-1.5.0/src/allmydata/scripts/runner.py", line 78, in runner
    rc = cli.dispatch[command](so)
  File "/usr/local/allmydata-tahoe-1.5.0/src/allmydata/scripts/cli.py", line 456, in backup
    rc = tahoe_backup.backup(options)
  File "/usr/local/allmydata-tahoe-1.5.0/src/allmydata/scripts/tahoe_backup.py", line 370, in backup
    return bu.run()
  File "/usr/local/allmydata-tahoe-1.5.0/src/allmydata/scripts/tahoe_backup.py", line 212, in run
    new_backup_dircap = self.process(options.from_dir, latest_backup_dircap)
  File "/usr/local/allmydata-tahoe-1.5.0/src/allmydata/scripts/tahoe_backup.py", line 265, in process
    newfilecap, metadata = self.upload(childpath)
  File "/usr/local/allmydata-tahoe-1.5.0/src/allmydata/scripts/tahoe_backup.py", line 352, in upload
    raiseHTTPError("Error during file PUT", resp)
  File "/usr/local/allmydata-tahoe-1.5.0/src/allmydata/scripts/tahoe_backup.py", line 18, in raiseHTTPError
    raise HTTPError(msg)
allmydata.scripts.tahoe_backup.HTTPError: Error during file PUT: 500 Internal Server Error <html><head><title>Exception</title></head><body><style type="text/css">
p.error {
  color: black;
  font-family: Verdana, Arial, helvetica, sans-serif;
  font-weight: bold;
  font-size: large;
  margin: 0.25em;
}

div {
  font-family: Verdana, Arial, helvetica, sans-serif;
}

strong.variableClass {
  font-size: small;
}

div.stackTrace {
}

div.frame {
  padding: 0.25em;
  background: white;
  border-bottom: thin black dotted;
}

div.firstFrame {
  padding: 0.25em;
  background: white;
  border-top: thin black dotted;
  border-bottom: thin black dotted;
}

div.location {
    font-size: small;
}

div.snippet {
  background: #FFFFDD;
  padding: 0.25em;
}

div.snippetHighlightLine {
  color: red;
}

span.lineno {
    font-size: small;
}

pre.code {
  margin: 0px;
  padding: 0px;
  display: inline;
  font-size: small;
  font-family: "Courier New", courier, monotype;
}

span.function {
  font-weight: bold;
  font-family: "Courier New", courier, monotype;
}

table.variables {
  border-collapse: collapse;
  width: 100%;
}

td.varName {
  width: 1in;
  vertical-align: top;
  font-style: italic;
  font-size: small;
  padding-right: 0.25em;
}

td.varValue {
  padding-left: 0.25em;
  padding-right: 0.25em;
  font-size: small;
}

div.variables {
  margin-top: 0.5em;
}

div.dict {
  background: #cccc99;
  padding: 2px;
  float: left;
}

td.dictKey {
  background: #ffff99;
  font-weight: bold;
}

td.dictValue {
  background: #ffff99;
}

div.list {
  background: #7777cc;
  padding: 2px;
  float: left;
}

div.listItem {
  background: #9999ff;
}

div.instance {
  width: 100%;
  background: #efefef;
  padding: 2px;
  float: left;
}

span.instanceName {
  font-size: small;
  display: block;
}

span.instanceRepr {
  font-family: "Courier New", courier, monotype;
}

div.function {
  background: orange;
  font-weight: bold;
  float: left;
}
</style><a href="#tracebackEnd"><p class="error">&lt;class 'foolscap.tokens.RemoteException'&gt;: &lt;RemoteException around '[CopiedFailure instance: Traceback from remote host -- Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/foolscap/call.py", line 667, in _done
    self.request.complete(res)
  File "/usr/lib/python2.5/site-packages/foolscap/call.py", line 53, in complete
    self.deferred.callback(res)
  File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 239, in callback
    self._startRunCallbacks(result)
  File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 304, in _startRunCallbacks
    self._runCallbacks()
--- &lt;exception caught here&gt; ---
  File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 317, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/usr/lib/python2.5/site-packages/allmydata/immutable/upload.py", line 379, in _got_response
    return self._loop()
  File "/usr/lib/python2.5/site-packages/allmydata/immutable/upload.py", line 302, in _loop
    self.shares_of_happiness)
allmydata.interfaces.NotEnoughSharesError: peer selection failed for &lt;Tahoe2PeerSelector for upload jzhq3&gt;: placed 0 shares out of 10 total (10 homeless), sent 106 queries to 106 peers, 0 queries placed some shares, 106 placed none, got 0 errors
]'&gt;</p></a><div class="stackTrace"></div><a name="tracebackEnd"><p class="error">&lt;class 'foolscap.tokens.RemoteException'&gt;: &lt;RemoteException around '[CopiedFailure instance: Traceback from remote host -- Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/foolscap/call.py", line 667, in _done
    self.request.complete(res)
  File "/usr/lib/python2.5/site-packages/foolscap/call.py", line 53, in complete
    self.deferred.callback(res)
  File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 239, in callback
    self._startRunCallbacks(result)
  File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 304, in _startRunCallbacks
    self._runCallbacks()
--- &lt;exception caught here&gt; ---
  File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 317, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/usr/lib/python2.5/site-packages/allmydata/immutable/upload.py", line 379, in _got_response
    return self._loop()
  File "/usr/lib/python2.5/site-packages/allmydata/immutable/upload.py", line 302, in _loop
    self.shares_of_happiness)
allmydata.interfaces.NotEnoughSharesError: peer selection failed for &lt;Tahoe2PeerSelector for upload jzhq3&gt;: placed 0 shares out of 10 total (10 homeless), sent 106 queries to 106 peers, 0 queries placed some shares, 106 placed none, got 0 errors
]'&gt;</p></a></body></html>

Sorry for the length.  What's up?

Thanks.

Dimitri


      


More information about the tahoe-dev mailing list