Running into a PDF error 14, Unable to read file after generating a PDF with sphinx-build -b pdf source build/pdf. No warnings are being given, and it states that is was a succesful build. I've narrowed the issue down and it only seems to occur when the table of contents extends onto a second page. If I disable the table of contents everything else is rendered as expected. As far as I know I'm not doing anything special, the only items I have changed in the conf.py are:
pdf_use_index = False
pdf_use_modindex = False
My toctree is fairly simple as well. It consists of 3 python packages, with about 10-25 python modules in each.
Any help is appreciated.