Closed GoogleCodeExporter closed 9 years ago
Need code to reproduce this.
@agronholm I have the same problem. You can reproduce using Invenio maint-2.0 branch and devscripts to install a virtual machine. Follow the instruction to install it and the start tests:
pip install futures
git checkout maint-2.0
find . -name "*.pyc" -exec rm '{}' \;
pip install -e .[docs] --upgrade
inveniomanage database recreate --yes-i-know
python setup.py test
This is the error:
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "/home/vagrant/.virtualenvs/invenio2/local/lib/python2.7/site-packages/concurrent/futures/process.py", line 76, in _python_exit
items = list(_threads_queues.items())
AttributeError: 'NoneType' object has no attribute 'items'
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "/home/vagrant/.virtualenvs/invenio2/local/lib/python2.7/site-packages/concurrent/futures/thread.py", line 35, in _python_exit
items = list(_threads_queues.items())
AttributeError: 'NoneType' object has no attribute 'items'
Error in sys.exitfunc:
Traceback (most recent call last):
File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "/home/vagrant/.virtualenvs/invenio2/local/lib/python2.7/site-packages/concurrent/futures/thread.py", line 35, in _python_exit
items = list(_threads_queues.items())
AttributeError: 'NoneType' object has no attribute 'items'
I've committed a changeset that should eliminate these errors. Please try the latest version from master and see if it works for you.
Fixed in 135add7.
Original issue reported on code.google.com by
socketp...@gmail.com
on 21 Jan 2015 at 10:29