{"action":"closed","issue":{"url":"https://api.github.com/repos/jbarlow83/OCRmyPDF/issues/190","repository_url":"https://api.github.com/repos/jbarlow83/OCRmyPDF","labels_url":"https://api.github.com/repos/jbarlow83/OCRmyPDF/issues/190/labels{/name}","comments_url":"https://api.github.com/repos/jbarlow83/OCRmyPDF/issues/190/comments","events_url":"https://api.github.com/repos/jbarlow83/OCRmyPDF/issues/190/events","html_url":"https://github.com/jbarlow83/OCRmyPDF/issues/190","id":258299188,"number":190,"title":"Errors","user":{"login":"soto2080","id":5404430,"avatar_url":"https://avatars0.githubusercontent.com/u/5404430?v=4","gravatar_id":"","url":"https://api.github.com/users/soto2080","html_url":"https://github.com/soto2080","followers_url":"https://api.github.com/users/soto2080/followers","following_url":"https://api.github.com/users/soto2080/following{/other_user}","gists_url":"https://api.github.com/users/soto2080/gists{/gist_id}","starred_url":"https://api.github.com/users/soto2080/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soto2080/subscriptions","organizations_url":"https://api.github.com/users/soto2080/orgs","repos_url":"https://api.github.com/users/soto2080/repos","events_url":"https://api.github.com/users/soto2080/events{/privacy}","received_events_url":"https://api.github.com/users/soto2080/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-09-17T12:19:39Z","updated_at":"2017-09-18T06:10:23Z","closed_at":"2017-09-18T06:10:23Z","author_association":"NONE","body":"Here is the log.\r\n> ks-MacBook-Pro:downloads k$ ocrmypdf input.pdf output.pdf\r\n  ERROR - Traceback (most recent call last):\r\n  File \"/usr/local/Cellar/ocrmypdf/5.3.2/libexec/lib/python3.6/site-packages/ruffus/task.py\", line 751, in run_pooled_job_without_exceptions\r\n    register_cleanup, touch_files_only)\r\n  File \"/usr/local/Cellar/ocrmypdf/5.3.2/libexec/lib/python3.6/site-packages/ruffus/task.py\", line 567, in job_wrapper_io_files\r\n    ret_val = user_defined_work_func(*params)\r\n  File \"/usr/local/Cellar/ocrmypdf/5.3.2/libexec/lib/python3.6/site-packages/ocrmypdf/pipeline.py\", line 189, in repair_pdf\r\n    pdfinfo = PdfInfo(output_file)\r\n  File \"/usr/local/Cellar/ocrmypdf/5.3.2/libexec/lib/python3.6/site-packages/ocrmypdf/pdfinfo.py\", line 685, in __init__\r\n    self._pages = _pdf_get_all_pageinfo(infile)\r\n  File \"/usr/local/Cellar/ocrmypdf/5.3.2/libexec/lib/python3.6/site-packages/ocrmypdf/pdfinfo.py\", line 599, in _pdf_get_all_pageinfo\r\n    return [PageInfo(pdf, n) for n in range(pdf.numPages)]\r\n  File \"/usr/local/Cellar/ocrmypdf/5.3.2/libexec/lib/python3.6/site-packages/ocrmypdf/pdfinfo.py\", line 599, in <listcomp>\r\n    return [PageInfo(pdf, n) for n in range(pdf.numPages)]\r\n  File \"/usr/local/Cellar/ocrmypdf/5.3.2/libexec/lib/python3.6/site-packages/ocrmypdf/pdfinfo.py\", line 605, in __init__\r\n    self._pageinfo = _pdf_get_pageinfo(pdf, pageno)\r\n  File \"/usr/local/Cellar/ocrmypdf/5.3.2/libexec/lib/python3.6/site-packages/ocrmypdf/pdfinfo.py\", line 565, in _pdf_get_pageinfo\r\n    pageinfo['has_text'] = _page_has_text(pdf, page)\r\n  File \"/usr/local/Cellar/ocrmypdf/5.3.2/libexec/lib/python3.6/site-packages/ocrmypdf/pdfinfo.py\", line 533, in _page_has_text\r\n    text = page.extractText()\r\n  File \"/usr/local/Cellar/ocrmypdf/5.3.2/libexec/lib/python3.6/site-packages/PyPDF2/pdf.py\", line 2595, in extractText\r\n    content = ContentStream(content, self.pdf)\r\n  File \"/usr/local/Cellar/ocrmypdf/5.3.2/libexec/lib/python3.6/site-packages/PyPDF2/pdf.py\", line 2673, in __init__\r\n    stream = BytesIO(b_(stream.getData()))\r\n  File \"/usr/local/Cellar/ocrmypdf/5.3.2/libexec/lib/python3.6/site-packages/PyPDF2/generic.py\", line 841, in getData\r\n    decoded._data = filters.decodeStreamData(self)\r\n  File \"/usr/local/Cellar/ocrmypdf/5.3.2/libexec/lib/python3.6/site-packages/PyPDF2/filters.py\", line 346, in decodeStreamData\r\n    data = FlateDecode.decode(data, stream.get(\"/DecodeParms\"))\r\n  File \"/usr/local/Cellar/ocrmypdf/5.3.2/libexec/lib/python3.6/site-packages/PyPDF2/filters.py\", line 111, in decode\r\n    data = decompress(data)\r\n  File \"/usr/local/Cellar/ocrmypdf/5.3.2/libexec/lib/python3.6/site-packages/PyPDF2/filters.py\", line 49, in decompress\r\n    return zlib.decompress(data)\r\nzlib.error: Error -3 while decompressing data: incorrect data check"}}
{"actor":{"display_login":"jbarlow83"}}