OCRmyPDF fails to create a new file.
Requirement already satisfied (use --upgrade to upgrade): ruffus>=2.6.3 in /usr/local/lib/python3.4/dist-packages (from ocrmypdf)
Requirement already satisfied (use --upgrade to upgrade): Pillow>=2.4.0 in /usr/lib/python3/dist-packages (from ocrmypdf)
Requirement already satisfied (use --upgrade to upgrade): reportlab>=3.1.44 in /usr/local/lib/python3.4/dist-packages (from ocrmypdf)
Requirement already satisfied (use --upgrade to upgrade): PyPDF2>=1.25.1 in /usr/local/lib/python3.4/dist-packages (from ocrmypdf)
Requirement already satisfied (use --upgrade to upgrade): pip>=1.4.1 in /usr/lib/python3/dist-packages (from reportlab>=3.1.44->ocrmypdf)
Requirement already satisfied (use --upgrade to upgrade): setuptools>=2.2 in /usr/lib/python3/dist-packages (from reportlab>=3.1.44->ocrmypdf)
Installing collected packages: ocrmypdf
Running setup.py install for ocrmypdf
Checking for tesseract >= 3.02.02...
Found tesseract 3.03
Checking for gs >= 9.14...
Found gs 9.14
Checking for unpaper >= 6.1...
Found unpaper 6.1
Checking for qpdf >= 5.0.0...
Found qpdf 5.1.2
[{'height_inches': Decimal('24.3611'), 'pageno': 0, 'images': [], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 1, 'images': [], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 2, 'xres': Decimal('71.9998'), 'height_pixels': 1754, 'width_pixels': 1354, 'yres': Decimal('72.0000'), 'images': [{'color': 'rgb', 'dpi_h': Decimal('72.0000'), 'enc': 'jpeg', 'comp': 3, 'bpc': 8, 'dpi': Decimal('71.9999'), 'height': 1754, 'dpi_w': Decimal('71.9998'), 'width': 1354}], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 3, 'xres': Decimal('71.9998'), 'height_pixels': 1754, 'width_pixels': 1354, 'yres': Decimal('72.0000'), 'images': [{'color': 'rgb', 'dpi_h': Decimal('72.0000'), 'enc': 'jpeg', 'comp': 3, 'bpc': 8, 'dpi': Decimal('71.9999'), 'height': 1754, 'dpi_w': Decimal('71.9998'), 'width': 1354}], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 4, 'images': [], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 5, 'images': [], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 6, 'xres': Decimal('71.9998'), 'height_pixels': 1754, 'width_pixels': 1354, 'yres': Decimal('72.0000'), 'images': [{'color': 'rgb', 'dpi_h': Decimal('72.0000'), 'enc': 'jpeg', 'comp': 3, 'bpc': 8, 'dpi': Decimal('71.9999'), 'height': 1754, 'dpi_w': Decimal('71.9998'), 'width': 1354}], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 7, 'images': [], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 8, 'images': [], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 9, 'images': [], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 10, 'images': [], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 11, 'images': [], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 12, 'xres': Decimal('71.9998'), 'height_pixels': 1754, 'width_pixels': 1354, 'yres': Decimal('72.0000'), 'images': [{'color': 'rgb', 'dpi_h': Decimal('72.0000'), 'enc': 'jpeg', 'comp': 3, 'bpc': 8, 'dpi': Decimal('71.9999'), 'height': 1754, 'dpi_w': Decimal('71.9998'), 'width': 1354}], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 13, 'xres': Decimal('71.9998'), 'height_pixels': 1754, 'width_pixels': 1354, 'yres': Decimal('72.0000'), 'images': [{'color': 'rgb', 'dpi_h': Decimal('72.0000'), 'enc': 'jpeg', 'comp': 3, 'bpc': 8, 'dpi': Decimal('71.9999'), 'height': 1754, 'dpi_w': Decimal('71.9998'), 'width': 1354}], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 14, 'images': [], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 15, 'xres': Decimal('71.9998'), 'height_pixels': 1754, 'width_pixels': 1354, 'yres': Decimal('72.0000'), 'images': [{'color': 'rgb', 'dpi_h': Decimal('72.0000'), 'enc': 'jpeg', 'comp': 3, 'bpc': 8, 'dpi': Decimal('71.9999'), 'height': 1754, 'dpi_w': Decimal('71.9998'), 'width': 1354}], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 16, 'xres': Decimal('71.9998'), 'height_pixels': 1754, 'width_pixels': 1354, 'yres': Decimal('72.0000'), 'images': [{'color': 'rgb', 'dpi_h': Decimal('72.0000'), 'enc': 'jpeg', 'comp': 3, 'bpc': 8, 'dpi': Decimal('71.9999'), 'height': 1754, 'dpi_w': Decimal('71.9998'), 'width': 1354}], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 17, 'images': [], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 18, 'xres': Decimal('71.9998'), 'height_pixels': 1754, 'width_pixels': 1354, 'yres': Decimal('72.0000'), 'images': [{'color': 'rgb', 'dpi_h': Decimal('72.0000'), 'enc': 'jpeg', 'comp': 3, 'bpc': 8, 'dpi': Decimal('71.9999'), 'height': 1754, 'dpi_w': Decimal('71.9998'), 'width': 1354}], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 19, 'images': [], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 20, 'images': [], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 21, 'images': [], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 22, 'images': [], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 23, 'xres': Decimal('71.9998'), 'height_pixels': 1754, 'width_pixels': 1354, 'yres': Decimal('72.0000'), 'images': [{'color': 'rgb', 'dpi_h': Decimal('72.0000'), 'enc': 'jpeg', 'comp': 3, 'bpc': 8, 'dpi': Decimal('71.9999'), 'height': 1754, 'dpi_w': Decimal('71.9998'), 'width': 1354}], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 24, 'xres': Decimal('71.9998'), 'height_pixels': 1754, 'width_pixels': 1354, 'yres': Decimal('72.0000'), 'images': [{'color': 'rgb', 'dpi_h': Decimal('72.0000'), 'enc': 'jpeg', 'comp': 3, 'bpc': 8, 'dpi': Decimal('71.9999'), 'height': 1754, 'dpi_w': Decimal('71.9998'), 'width': 1354}], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 25, 'xres': Decimal('71.9998'), 'height_pixels': 1754, 'width_pixels': 1354, 'yres': Decimal('72.0000'), 'images': [{'color': 'rgb', 'dpi_h': Decimal('72.0000'), 'enc': 'jpeg', 'comp': 3, 'bpc': 8, 'dpi': Decimal('71.9999'), 'height': 1754, 'dpi_w': Decimal('71.9998'), 'width': 1354}], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 26, 'images': [], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 27, 'images': [], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 28, 'images': [], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 29, 'images': [], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 30, 'images': [], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 31, 'xres': Decimal('71.9998'), 'height_pixels': 1754, 'width_pixels': 1354, 'yres': Decimal('72.0000'), 'images': [{'color': 'rgb', 'dpi_h': Decimal('72.0000'), 'enc': 'jpeg', 'comp': 3, 'bpc': 8, 'dpi': Decimal('71.9999'), 'height': 1754, 'dpi_w': Decimal('71.9998'), 'width': 1354}], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 32, 'images': [], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 33, 'images': [], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 34, 'xres': Decimal('71.9998'), 'height_pixels': 1754, 'width_pixels': 1354, 'yres': Decimal('72.0000'), 'images': [{'color': 'rgb', 'dpi_h': Decimal('72.0000'), 'enc': 'jpeg', 'comp': 3, 'bpc': 8, 'dpi': Decimal('71.9999'), 'height': 1754, 'dpi_w': Decimal('71.9998'), 'width': 1354}], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 35, 'images': [], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 36, 'xres': Decimal('71.9998'), 'height_pixels': 1754, 'width_pixels': 1354, 'yres': Decimal('72.0000'), 'images': [{'color': 'rgb', 'dpi_h': Decimal('72.0000'), 'enc': 'jpeg', 'comp': 3, 'bpc': 8, 'dpi': Decimal('71.9999'), 'height': 1754, 'dpi_w': Decimal('71.9998'), 'width': 1354}], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 37, 'images': [], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 38, 'xres': Decimal('71.9998'), 'height_pixels': 1754, 'width_pixels': 1354, 'yres': Decimal('72.0000'), 'images': [{'color': 'rgb', 'dpi_h': Decimal('72.0000'), 'enc': 'jpeg', 'comp': 3, 'bpc': 8, 'dpi': Decimal('71.9999'), 'height': 1754, 'dpi_w': Decimal('71.9998'), 'width': 1354}], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 39, 'xres': Decimal('71.9998'), 'height_pixels': 1754, 'width_pixels': 1354, 'yres': Decimal('72.0000'), 'images': [{'color': 'rgb', 'dpi_h': Decimal('72.0000'), 'enc': 'jpeg', 'comp': 3, 'bpc': 8, 'dpi': Decimal('71.9999'), 'height': 1754, 'dpi_w': Decimal('71.9998'), 'width': 1354}], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 40, 'images': [], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 41, 'images': [], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 42, 'images': [], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 43, 'xres': Decimal('71.9998'), 'height_pixels': 1754, 'width_pixels': 1354, 'yres': Decimal('72.0000'), 'images': [{'color': 'rgb', 'dpi_h': Decimal('72.0000'), 'enc': 'jpeg', 'comp': 3, 'bpc': 8, 'dpi': Decimal('71.9999'), 'height': 1754, 'dpi_w': Decimal('71.9998'), 'width': 1354}], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 44, 'images': [], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 45, 'images': [], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 46, 'images': [], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 47, 'xres': Decimal('71.9998'), 'height_pixels': 1754, 'width_pixels': 1354, 'yres': Decimal('72.0000'), 'images': [{'color': 'rgb', 'dpi_h': Decimal('72.0000'), 'enc': 'jpeg', 'comp': 3, 'bpc': 8, 'dpi': Decimal('71.9999'), 'height': 1754, 'dpi_w': Decimal('71.9998'), 'width': 1354}], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 48, 'images': [], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 49, 'images': [], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 50, 'images': [], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 51, 'images': [], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 52, 'xres': Decimal('71.9998'), 'height_pixels': 1754, 'width_pixels': 1354, 'yres': Decimal('72.0000'), 'images': [{'color': 'rgb', 'dpi_h': Decimal('72.0000'), 'enc': 'jpeg', 'comp': 3, 'bpc': 8, 'dpi': Decimal('71.9999'), 'height': 1754, 'dpi_w': Decimal('71.9998'), 'width': 1354}], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 53, 'xres': Decimal('71.9998'), 'height_pixels': 1754, 'width_pixels': 1354, 'yres': Decimal('72.0000'), 'images': [{'color': 'rgb', 'dpi_h': Decimal('72.0000'), 'enc': 'jpeg', 'comp': 3, 'bpc': 8, 'dpi': Decimal('71.9999'), 'height': 1754, 'dpi_w': Decimal('71.9998'), 'width': 1354}], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 54, 'images': [], 'has_text': False, 'width_inches': Decimal('18.8056')}, {'height_inches': Decimal('24.3611'), 'pageno': 55, 'xres': Decimal('71.9998'), 'height_pixels': 1754, 'width_pixels': 1354, 'yres': Decimal('72.0000'), 'images': [{'color': 'rgb', 'dpi_h': Decimal('72.0000'), 'enc': 'jpeg', 'comp': 3, 'bpc': 8, 'dpi': Decimal('71.9999'), 'height': 1754, 'dpi_w': Decimal('71.9998'), 'width': 1354}], 'has_text': False, 'width_inches': Decimal('18.8056')}]
I tried removing ocrmypdf and re-installing it and had the same behaviour. Any ideas on what I need to do to fix this?
Thanks in advance.