Traceback (most recent call last):


 "/tmp/nix-build-python3.6-bpython-0.17.drv-0/bpython-0.17/bpython/test/test_curtsies_repl.py", line 181, in setUp

self.repl = create_repl()


 "/tmp/nix-build-python3.6-bpython-0.17.drv-0/bpython-0.17/bpython/test/test_curtsies_repl.py", line 235, in create_repl

repl = curtsiesrepl.BaseRepl(config=config, **kwargs)


 "/tmp/nix-build-python3.6-bpython-0.17.drv-0/bpython-0.17/bpython/curtsiesfrontend/repl.py", line 405, in __init__

fileno=sys.__stdout__.fileno())
ValueError: underlying buffer has been detached

Traceback (most recent call last):


 "/path/to/ParlAI/bin/parlai", line 11, in <module>

load_entry_point('parlai', 'console_scripts', 'parlai')()


 "/ath/to/ParlAI/parlai/core/script.py", line 272, in superscript_main

SCRIPT_REGISTRY[cmd].klass._run_from_parser_and_opt(opt, parser)


 "/path/to/ParlAI/parlai/core/script.py", line 88, in _run_from_parser_and_opt

return script.run()


 "/path/to/ParlAI/parlai/scripts/multiprocessing_train.py", line 86, in run

return launch_and_train(self.opt, port)


 "/path/to/ParlAI/parlai/scripts/multiprocessing_train.py", line 60, in launch_and_train

retval = multiprocess_train(0, opt, port)


 "/path/to/ParlAI/parlai/scripts/multiprocessing_train.py", line 42, in multiprocess_train

return single_train.TrainLoop(opt).train()


 "/path/to/ParlAI/parlai/scripts/train_model.py", line 275, in __init__

build_dict(opt, skip_if_built=True)


 "/path/to/ParlAI/parlai/scripts/build_dict.py", line 93, in build_dict

raise ValueError('Dictionaries should be pre-built before distributed train.')
ValueError: Dictionaries should be pre-built before distributed train.
