Traceback (most recent call last):


 "/usr/local/bin/arxiv_latex_cleaner", line 7, in <module>

from arxiv_latex_cleaner.__main__ import __main__


 "/Library/Python/2.7/site-packages/arxiv_latex_cleaner/__main__.py", line 91, in <module>

run_arxiv_cleaner(ARGS)


 "/Library/Python/2.7/site-packages/arxiv_latex_cleaner/arxiv_latex_cleaner.py", line 385, in run_arxiv_cleaner

splits['tex_in_root'] + splits['tex_not_in_root'], parameters)


 "/Library/Python/2.7/site-packages/arxiv_latex_cleaner/arxiv_latex_cleaner.py", line 166, in _read_all_tex_contents

os.path.join(parameters['input_folder'], fn))


 "/Library/Python/2.7/site-packages/arxiv_latex_cleaner/arxiv_latex_cleaner.py", line 158, in _read_file_content

with open(filename, 'r', encoding='utf-8') as fp:
TypeError: 'encoding' is an invalid keyword argument for this function


Traceback (most recent call last):


 "/usr/lib64/python3.9/doctest.py", line 1329, in __run

exec(compile(example.source, filename, "single",


 "<doctest always_allow_keywords_T295.A[2]>", line 1, in <module>

A().meth1(arg=None)

TypeError: A.meth1() takes no keyword arguments
