Traceback (most recent call last):


 "scripts/prepro_ngrams.py", line 136, in <module>

main(params)


 "scripts/prepro_ngrams.py", line 121, in main

utils.pickle_dump({'document_frequency': ngram_words, 'ref_len': ref_len}, open(params['output_pkl']+'-words.p','w'), protocol=cPickle.HIGHEST_PROTOCOL)
TypeError: pickle_dump() got an unexpected keyword argument 'protocol

Traceback (most recent call last):


 "scripts/asciidoc2html.py", line 294, in run

asciidoc.build()


 "scripts/asciidoc2html.py", line 78, in build

self._build_docs()


 "scripts/asciidoc2html.py", line 101, in _build_docs

with open(modified_src, 'w', encoding='utf-8') as modified_f, \
TypeError: invalid file: PosixPath('/tmp/tmp9cr_witm/tmp/faq.asciidoc')
