Comments (6)
You are right, OCR_BINARY setting is ignored.
I will fix this problem.
from papermerge.
Hi @mtonnie
I pushed couple of commits:
Also notice that instead of OCR_BINARY was renamed to BINARY_OCR. This is to be consistent with rest of BINARY_ settings:
- BINARY_FILE default value is "/usr/bin/file"
- BINARY_CONVERT default value is "/usr/bin/convert"
- BINARY_PDFTOPPM default value is "/usr/bin/pdftoppm"
- BINARY_PDFINFO default value is "/usr/bin/pdfinfo"
- BINARY_IDENTIFY default value is "/usr/bin/identify"
- BINARY_OCR default value is "/usr/bin/tesseract"
- BINARY_PDFTK default value is "/usr/bin/pdftk"
All above settings can be added to papermerge.conf.py to modify path of respective executable.
Also notice that mglib version was incremented.
This code is very fresh (I just pushed). According to my couple of tests it works pretty well. Anyway, tomorrow I will update documention and perform couple of more tests.
To be continued...
from papermerge.
Hi @ciur,
I guess the checks in core/checks.py should also take into account the variables.
If not these checks may fail when the location of the binary isn't inculded in PATH enironment variable.
What do you think?
from papermerge.
Hi @mtonnie ,
correct! I absolutely agree. Here is the fix.
Documentation update.
@mtonnie thank you for your great feedback!
If the case above changes solved your problem with hardcoded binary paths - please close this ticket/issue.
Thank you again!
from papermerge.
Thanks a lot, looks good so far.
I'll test it with synlology package soon, I have focus on installation wizard the last few days.
from papermerge.
@mtonnie, yes I saw your packaging progress.I pinned that issue - as I consider it very important one. Awesome work! Thank you!
from papermerge.
Related Issues (20)
- Papermerge-CLI Uploading Error HOT 13
- Initial Login Doesn't work HOT 5
- Ability To Change Items Per Page
- Can't upload a folder via papermerge-cli, "property setting not supported on immutable instances"
- Share document or folder via generated link
- User with role can view, but also upload documents
- Chinese pdf file upload is not supported
- OCR is not being triggered / is not working at all.
- Papermerge 3.0 Status HOT 1
- Small talk and feature request
- Automates is not available HOT 2
- Drag and drop between two panels doesn't work HOT 3
- Update setup guide from V1.5.5 to latest
- Docker, Error loading MySQLdb module: Did you install mysqlclient? HOT 2
- Error: docker run papermerge/papermerge backup
- [Discussion] Integrating Papermerge in a third party app HOT 4
- [UI] Modals - Enter/Esc keys
- [UI] Pagination has no Effect HOT 1
- Share your personal setup? HOT 1
- Error "Preview not ready yet" when trying to preview uploaded PDF via REST API HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from papermerge.