Project

General

Profile

Actions

Bug #11002

closed

[arv-put] crash in arvfile on upload NoneType object has no attribute 'closed'

Added by Tom Morris almost 8 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Story points:
-

Description

8995M / 387184M 2.3% Traceback (most recent call last):
File "/home/tfmorris/venv/bin/arv-put", line 4, in <module>
main()
File "/home/tfmorris/venv/local/lib/python2.7/site-packages/arvados/commands/put.py", line 906, in main
writer.start(save_collection=not(args.stream or args.raw))
File "/home/tfmorris/venv/local/lib/python2.7/site-packages/arvados/commands/put.py", line 454, in start
self._local_collection.manifest_text()
File "/home/tfmorris/venv/local/lib/python2.7/site-packages/arvados/arvfile.py", line 240, in synchronized_wrapper
return orig_func(self, *args, **kwargs)
File "/home/tfmorris/venv/local/lib/python2.7/site-packages/arvados/collection.py", line 934, in manifest_text
self._my_block_manager().commit_all()
File "/home/tfmorris/venv/local/lib/python2.7/site-packages/arvados/arvfile.py", line 681, in commit_all
self.repack_small_blocks(force=True, sync=True)
File "/home/tfmorris/venv/local/lib/python2.7/site-packages/arvados/arvfile.py", line 240, in synchronized_wrapper
return orig_func(self, *args, **kwargs)
File "/home/tfmorris/venv/local/lib/python2.7/site-packages/arvados/arvfile.py", line 574, in repack_small_blocks
small_blocks = [b for b in self._bufferblocks.values() if b.state() == _BufferBlock.WRITABLE and b.owner.closed()]
AttributeError: 'NoneType' object has no attribute 'closed'
Exception in thread Thread-3 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
File "/usr/lib/python2.7/threading.py", line 763, in run
File "/home/tfmorris/venv/local/lib/python2.7/site-packages/arvados/arvfile.py", line 481, in _commit_bufferblock_worker
File "/home/tfmorris/venv/local/lib/python2.7/site-packages/arvados/retry.py", line 158, in num_retries_setter
File "/home/tfmorris/venv/local/lib/python2.7/site-packages/arvados/keep.py", line 1069, in put
<type 'exceptions.TypeError'>: 'NoneType' object is not callable


Subtasks 1 (0 open1 closed)

Task #11041: Review 11002-arvput-crash-fixResolvedPeter Amstutz01/28/2017Actions
Actions

Also available in: Atom PDF