-
Notifications
You must be signed in to change notification settings - Fork 517
Closed
Description
Similar to: #673
Error
Was going through the tutorial using nbdev==2.0.4 on macOS.
$ nbdev_test
objc[29851]: +[__NSCFConstantString initialize] may have been in progress in another thread when fork() was called.
objc[29851]: +[__NSCFConstantString initialize] may have been in progress in another thread when fork() was called. We cannot safely call it or ignore it in the fork() child process. Crashing instead. Set a breakpoint on objc_initializeAfterForkError to debug.
Traceback (most recent call last):
File "/usr/local/bin/nbdev_test", line 8, in <module>
sys.exit(nbdev_test())
File "/usr/local/lib/python3.9/site-packages/fastcore/script.py", line 116, in _f
return tfunc(**merge(args, args_from_prog(func, xtra)))
File "/usr/local/lib/python3.9/site-packages/nbdev/test.py", line 86, in nbdev_test
results = parallel(test_nb, files, skip_flags=skip_flags, force_flags=force_flags, n_workers=n_workers, pause=pause, do_print=do_print)
File "/usr/local/lib/python3.9/site-packages/fastcore/parallel.py", line 117, in parallel
return L(r)
File "/usr/local/lib/python3.9/site-packages/fastcore/foundation.py", line 98, in __call__
return super().__call__(x, *args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/fastcore/foundation.py", line 106, in __init__
items = listify(items, *rest, use_list=use_list, match=match)
File "/usr/local/lib/python3.9/site-packages/fastcore/basics.py", line 63, in listify
elif is_iter(o): res = list(o)
File "/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/concurrent/futures/process.py", line 559, in _chain_from_iterable_of_lists
for element in iterable:
File "/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/concurrent/futures/_base.py", line 608, in result_iterator
yield fs.pop().result()
File "/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/concurrent/futures/_base.py", line 445, in result
return self.__get_result()
File "/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/concurrent/futures/_base.py", line 390, in __get_result
raise self._exception
concurrent.futures.process.BrokenProcessPool: A process in the process pool was terminated abruptly while the future was running or pending.Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels