New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker permission error #193
Comments
Since you're on Ubuntu why not just use the native version? The general problem is that the Docker container needs permission to access To work around the Docker permission issues you could pipe the file through the Docker container instead:
(The |
Distribution versions are generally behind the latest (Docker) version. There are also other very good reasons to use Docker...
This works great (minus the missing j before barlow83/ocrmypdf in your example). Many Thanks! |
It works here also fine - thanks. But my Question: How can I grab the log of OCRmyPDF? This don't work: All OCRmyPDF logs are output in the terminal, even if I redirect them explicitly to a file |
I think this answers the shell redirection question: |
I'm testing ocrmypdf on Ubuntu 17.10. Docker is installed as a snap. I run the following command:
docker run --rm -v "$(pwd):/home/docker" jbarlow83/ocrmypdf -l fra --pdf-renderer tesseract --output-type pdf test.pdf ocr.pdf
Then I get:
ERROR - Output file location (ocr.pdf) is not writable.
Now if I touch the file ocr.pdf and chmod 666 prior to lauching ocrmypdf, processing runs fine, the ocr.pdf file is created but I get the following error:
The text was updated successfully, but these errors were encountered: