Skip to content
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

OCRmyPDF silently fails on input filenames like uppercase *.PDF #20

Closed
Wikinaut opened this issue Sep 26, 2015 · 2 comments
Closed

OCRmyPDF silently fails on input filenames like uppercase *.PDF #20

Wikinaut opened this issue Sep 26, 2015 · 2 comments
Labels

Comments

@Wikinaut
Copy link

My new duplex scanner is BROTHER ADS-2600we. It generates PDF (which are not compatible and make also convert fail. It can however generate PDF/A. The standard filenames have the form

[0-9]{8}.PDF

Example: 06091500.PDF, 06091501.PDF etc. for files scanned on 06. September 2015. These filenames (I don't like the format) cannot be changed in the scanner.

Problem:

When you start

ocrmypdf --verbose -L log.txt -l deu 06091500.PDF 06091500.ocr.pdf

this silently fails ! ("...No jobs were run because no file names matched.")

Workaround:
Rename files 06091500.PDF to x.pdf and process then.

@jbarlow83
Copy link
Collaborator

It was doing a case sensitive search for files name .pdf not .PDF. Fixed in develop branch, will push a fix.

@jbarlow83 jbarlow83 added the bug label Dec 4, 2015
@jbarlow83 jbarlow83 changed the title OCRmyPDF silently fails on input filenames like "06091500.PDF" OCRmyPDF silently fails on input filenames like uppercase *.PDF Dec 4, 2015
jbarlow83 pushed a commit that referenced this issue Dec 4, 2015
@jbarlow83
Copy link
Collaborator

Fixed v3.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants