exceptions.AttributeError: 'CHKUploadHelper' object has no attribute '_reader' #2267

Open
opened 2014-07-29 12:58:49 +00:00 by daira · 1 comment
daira commented 2014-07-29 12:58:49 +00:00
Owner

Xavier wrote:

we are continuing of test of tahoe platform
mainly using the tahoe backup function

while making a backup of quite a quantity of data 30-40 go GB
here are the errors i have
(as the backup is not completed no files are accessible, which i sad by design)

the error messages are not that clear

what shall I understand from those errors ?

File "/usr/lib/python2.7/dist-packages/allmydata/scripts/runner.py", line 156, in run
    rc = runner(sys.argv[1:], install_node_control=install_node_control)
  File "/usr/lib/python2.7/dist-packages/allmydata/scripts/runner.py", line 141, in runner
    rc = cli.dispatch[command](so)
  File "/usr/lib/python2.7/dist-packages/allmydata/scripts/cli.py", line 574, in backup
    rc = tahoe_backup.backup(options)
  File "/usr/lib/python2.7/dist-packages/allmydata/scripts/tahoe_backup.py", line 325, in backup
    return bu.run()
  File "/usr/lib/python2.7/dist-packages/allmydata/scripts/tahoe_backup.py", line 118, in run
    new_backup_dircap = self.process(options.from_dir)
  File "/usr/lib/python2.7/dist-packages/allmydata/scripts/tahoe_backup.py", line 188, in process
    childcap = self.process(childpath)
  File "/usr/lib/python2.7/dist-packages/allmydata/scripts/tahoe_backup.py", line 188, in process
    childcap = self.process(childpath)
  File "/usr/lib/python2.7/dist-packages/allmydata/scripts/tahoe_backup.py", line 188, in process
    childcap = self.process(childpath)
  File "/usr/lib/python2.7/dist-packages/allmydata/scripts/tahoe_backup.py", line 188, in process
    childcap = self.process(childpath)
  File "/usr/lib/python2.7/dist-packages/allmydata/scripts/tahoe_backup.py", line 188, in process
    childcap = self.process(childpath)
  File "/usr/lib/python2.7/dist-packages/allmydata/scripts/tahoe_backup.py", line 188, in process
    childcap = self.process(childpath)
  File "/usr/lib/python2.7/dist-packages/allmydata/scripts/tahoe_backup.py", line 188, in process
    childcap = self.process(childpath)
  File "/usr/lib/python2.7/dist-packages/allmydata/scripts/tahoe_backup.py", line 188, in process
    childcap = self.process(childpath)
  File "/usr/lib/python2.7/dist-packages/allmydata/scripts/tahoe_backup.py", line 188, in process
    childcap = self.process(childpath)
  File "/usr/lib/python2.7/dist-packages/allmydata/scripts/tahoe_backup.py", line 188, in process
    childcap = self.process(childpath)
  File "/usr/lib/python2.7/dist-packages/allmydata/scripts/tahoe_backup.py", line 194, in process
    childcap, metadata = self.upload(childpath)
  File "/usr/lib/python2.7/dist-packages/allmydata/scripts/tahoe_backup.py", line 305, in upload
    raise HTTPError("Error during file PUT", resp)
HTTPError: Error during file PUT: 500 Internal Server Error
"Traceback (most recent call last):
Failure: foolscap.tokens.RemoteException: <RemoteException around '[CopiedFailure instance: Traceback from remote host -- Traceback (most recent call last):
  File \"/usr/lib/python2.7/dist-packages/foolscap/eventual.py\", line 26, in _turn
    cb(*args, **kwargs)
  File \"/usr/lib/python2.7/dist-packages/foolscap/broker.py\", line 554, in doNextCall
    d.addCallback(lambda res: self._doCall(delivery))
  File \"/usr/lib/python2.7/dist-packages/twisted/internet/defer.py\", line 298, in addCallback
    callbackKeywords=kw)
  File \"/usr/lib/python2.7/dist-packages/twisted/internet/defer.py\", line 287, in addCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File \"/usr/lib/python2.7/dist-packages/twisted/internet/defer.py\", line 545, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File \"/usr/lib/python2.7/dist-packages/foolscap/broker.py\", line 554, in <lambda>
    d.addCallback(lambda res: self._doCall(delivery))
  File \"/usr/lib/python2.7/dist-packages/foolscap/broker.py\", line 589, in _doCall
    return obj.doRemoteCall(delivery.methodname, args, kwargs)
  File \"/usr/lib/python2.7/dist-packages/foolscap/referenceable.py\", line 60, in doRemoteCall
    res = meth(*args, **kwargs)
  File \"/usr/lib/pymodules/python2.7/allmydata/immutable/offloaded.py\", line 203, in remote_upload
    self._reader.add_reader(reader)
exceptions.AttributeError: 'CHKUploadHelper' object has no attribute '_reader'
]'>
"
Xavier wrote: > we are continuing of test of tahoe platform > mainly using the tahoe backup function > > while making a backup of quite a quantity of data 30-40 go GB > here are the errors i have > (as the backup is not completed no files are accessible, which i sad by design) > > the error messages are not that clear > > what shall I understand from those errors ? ``` File "/usr/lib/python2.7/dist-packages/allmydata/scripts/runner.py", line 156, in run rc = runner(sys.argv[1:], install_node_control=install_node_control) File "/usr/lib/python2.7/dist-packages/allmydata/scripts/runner.py", line 141, in runner rc = cli.dispatch[command](so) File "/usr/lib/python2.7/dist-packages/allmydata/scripts/cli.py", line 574, in backup rc = tahoe_backup.backup(options) File "/usr/lib/python2.7/dist-packages/allmydata/scripts/tahoe_backup.py", line 325, in backup return bu.run() File "/usr/lib/python2.7/dist-packages/allmydata/scripts/tahoe_backup.py", line 118, in run new_backup_dircap = self.process(options.from_dir) File "/usr/lib/python2.7/dist-packages/allmydata/scripts/tahoe_backup.py", line 188, in process childcap = self.process(childpath) File "/usr/lib/python2.7/dist-packages/allmydata/scripts/tahoe_backup.py", line 188, in process childcap = self.process(childpath) File "/usr/lib/python2.7/dist-packages/allmydata/scripts/tahoe_backup.py", line 188, in process childcap = self.process(childpath) File "/usr/lib/python2.7/dist-packages/allmydata/scripts/tahoe_backup.py", line 188, in process childcap = self.process(childpath) File "/usr/lib/python2.7/dist-packages/allmydata/scripts/tahoe_backup.py", line 188, in process childcap = self.process(childpath) File "/usr/lib/python2.7/dist-packages/allmydata/scripts/tahoe_backup.py", line 188, in process childcap = self.process(childpath) File "/usr/lib/python2.7/dist-packages/allmydata/scripts/tahoe_backup.py", line 188, in process childcap = self.process(childpath) File "/usr/lib/python2.7/dist-packages/allmydata/scripts/tahoe_backup.py", line 188, in process childcap = self.process(childpath) File "/usr/lib/python2.7/dist-packages/allmydata/scripts/tahoe_backup.py", line 188, in process childcap = self.process(childpath) File "/usr/lib/python2.7/dist-packages/allmydata/scripts/tahoe_backup.py", line 188, in process childcap = self.process(childpath) File "/usr/lib/python2.7/dist-packages/allmydata/scripts/tahoe_backup.py", line 194, in process childcap, metadata = self.upload(childpath) File "/usr/lib/python2.7/dist-packages/allmydata/scripts/tahoe_backup.py", line 305, in upload raise HTTPError("Error during file PUT", resp) HTTPError: Error during file PUT: 500 Internal Server Error "Traceback (most recent call last): Failure: foolscap.tokens.RemoteException: <RemoteException around '[CopiedFailure instance: Traceback from remote host -- Traceback (most recent call last): File \"/usr/lib/python2.7/dist-packages/foolscap/eventual.py\", line 26, in _turn cb(*args, **kwargs) File \"/usr/lib/python2.7/dist-packages/foolscap/broker.py\", line 554, in doNextCall d.addCallback(lambda res: self._doCall(delivery)) File \"/usr/lib/python2.7/dist-packages/twisted/internet/defer.py\", line 298, in addCallback callbackKeywords=kw) File \"/usr/lib/python2.7/dist-packages/twisted/internet/defer.py\", line 287, in addCallbacks self._runCallbacks() --- <exception caught here> --- File \"/usr/lib/python2.7/dist-packages/twisted/internet/defer.py\", line 545, in _runCallbacks current.result = callback(current.result, *args, **kw) File \"/usr/lib/python2.7/dist-packages/foolscap/broker.py\", line 554, in <lambda> d.addCallback(lambda res: self._doCall(delivery)) File \"/usr/lib/python2.7/dist-packages/foolscap/broker.py\", line 589, in _doCall return obj.doRemoteCall(delivery.methodname, args, kwargs) File \"/usr/lib/python2.7/dist-packages/foolscap/referenceable.py\", line 60, in doRemoteCall res = meth(*args, **kwargs) File \"/usr/lib/pymodules/python2.7/allmydata/immutable/offloaded.py\", line 203, in remote_upload self._reader.add_reader(reader) exceptions.AttributeError: 'CHKUploadHelper' object has no attribute '_reader' ]'> " ```
tahoe-lafs added the
code-network
normal
defect
1.10.0
labels 2014-07-29 12:58:49 +00:00
tahoe-lafs added this to the undecided milestone 2014-07-29 12:58:49 +00:00
daira commented 2014-08-07 14:10:41 +00:00
Author
Owner

daira wrote:

The storage server reported an exception that appears to be a bug in code related to the upload helper. I haven't seen this particular error before. Is a helper enabled?

Xavier wrote:

yes there was an helper working

this is necessary in our design
as the nodes are connected by low speed adsl and the helper is on a high speed internet connection.

actually it was not possible to backup more that 2-5 gByte of data at same time. directly on the global network
we always go to a kind of error or infinite loop.

daira wrote: > The storage server reported an exception that appears to be a bug in code related to the upload helper. I haven't seen this particular error before. Is a helper enabled? Xavier wrote: > yes there was an helper working > > this is necessary in our design > as the nodes are connected by low speed adsl and the helper is on a high speed internet connection. > > > actually it was not possible to backup more that 2-5 gByte of data at same time. directly on the global network > we always go to a kind of error or infinite loop.
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: tahoe-lafs/trac-2024-07-25#2267
No description provided.