I want to try OCR'ing a PDF file, but I fail:
vatolin@ubuntubuk:~$ ocrmypdf -l deu+eng --output-type pdf Schreibtisch/von_SWBau-190510.pdf Schreibtisch/von_SWBau-190510-OCR.pdf ^CProcess ForkPoolWorker-4: Traceback (most recent call last): File "/usr/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap self.run() File "/usr/lib/python3.6/multiprocessing/process.py", line 93, in run self._target(*self._args, **self._kwargs) File "/usr/lib/python3.6/multiprocessing/pool.py", line 108, in worker task = get() File "/usr/lib/python3.6/multiprocessing/queues.py", line 335, in get res = self._reader.recv_bytes() File "/usr/lib/python3.6/multiprocessing/connection.py", line 216, in recv_bytes buf = self._recv_bytes(maxlength) File "/usr/lib/python3.6/multiprocessing/connection.py", line 407, in _recv_bytes buf = self._recv(4) File "/usr/lib/python3.6/multiprocessing/connection.py", line 379, in _recv chunk = read(handle, remaining) KeyboardInterrupt Traceback (most recent call last): File "/usr/lib/python3.6/multiprocessing/pool.py", line 746, in next item = self._items.popleft() IndexError: pop from an empty deque During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/ruffus/task.py", line 5774, in pipeline_run job_result = ii.next(timeout=99999999) File "/usr/lib/python3.6/multiprocessing/pool.py", line 750, in next self._cond.wait(timeout) File "/usr/lib/python3.6/threading.py", line 299, in wait gotit = waiter.acquire(True, timeout) KeyboardInterrupt During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/ocrmypdf/__main__.py", line 864, in run_pipeline cmdline.run(options) File "/usr/lib/python3/dist-packages/ruffus/cmdline.py", line 824, in run **appropriate_options) File "/usr/lib/python3/dist-packages/ruffus/task.py", line 5916, in pipeline_run raise job_errors ruffus.ruffus_exceptions.RethrownJobError: Original exception: Exception #1 '<class 'KeyboardInterrupt'>' raised in ... Traceback (most recent call last): File "/usr/lib/python3.6/multiprocessing/pool.py", line 746, in next item = self._items.popleft() IndexError: pop from an empty deque During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/ruffus/task.py", line 5774, in pipeline_run job_result = ii.next(timeout=99999999) File "/usr/lib/python3.6/multiprocessing/pool.py", line 750, in next self._cond.wait(timeout) File "/usr/lib/python3.6/threading.py", line 299, in wait gotit = waiter.acquire(True, timeout) KeyboardInterrupt During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/bin/ocrmypdf", line 11, in <module> load_entry_point('ocrmypdf==6.1.2', 'console_scripts', 'ocrmypdf')() File "/usr/lib/python3/dist-packages/ocrmypdf/__main__.py", line 870, in run_pipeline _log.error("Unexpected ruffus exception: " + str(e)) File "/usr/lib/python3/dist-packages/ruffus/proxy_logger.py", line 289, in error return self._callmethod('error', args, kwargs) File "/usr/lib/python3.6/multiprocessing/managers.py", line 756, in _callmethod conn.send((self._id, methodname, args, kwds)) File "/usr/lib/python3.6/multiprocessing/connection.py", line 206, in send self._send_bytes(_ForkingPickler.dumps(obj)) File "/usr/lib/python3.6/multiprocessing/connection.py", line 404, in _send_bytes self._send(header + buf) File "/usr/lib/python3.6/multiprocessing/connection.py", line 368, in _send n = write(self._handle, buf) BrokenPipeError: [Errno 32] Broken pipe
What am I doing wrong?