Comments (7)
Version 0.7.2 should solve the problem. The implementation of that particular section in the Zotero7-compatible code was incorrect in 0.7.1, I apologize and hope that we have a satisfying plugin now.
from zotero-ocr.
Which Zotero version are you running? I don't see that error with Zotero 7.0.0-beta.75+f7dc68c7f. Maybe older beta versions don't work?
from zotero-ocr.
I am able to reproduce with beta76. The beta70+ compatibility fix was not 100% correct, sorry about that. I had not detected this error because I was testing the plugin on the same PDF over and over again, and the relevant code section (zotero-ocs.js
lines 188-211) was skipped due to an existing image-list.txt
file. If I delete it, the error happens.
I hope I will have time to take care of this at the end of the week.
from zotero-ocr.
@stweil Sorry, I should have included the entire log. I believe it was 70+ (I have auto-updates on) so probably 74 or 75.
Fortunately as @aborel mentions it seems like it can be reproduced pretty easily.
The images for each page were produced, but no output ocr.pdf. I was able to run tesseract from terminal to get the ocr pdf :D.
As I linked above, Mozilla has some documentation of this issue for migrations from OS.File
to IOUtils
. They suggest replacing OS.FileDirectoryIterator
with a loop which uses the IOUtils.getChildren()
method.
I hope that helps.
from zotero-ocr.
No worries, you provided more than enough information for me to locate the source of the problem. Now all I need to do is properly write the relevant 2 or 3 lines code ;-)
from zotero-ocr.
@aborel, thank you for fixing this. I added commit 83c1f33 to update the release files and moved the 0.7.2 tag. Now the plugin update works, too.
from zotero-ocr.
Thanks @stweil I need to be more careful with the release procedure.
from zotero-ocr.
Related Issues (20)
- Change language to chi_sim_vert, perform OCR didn't response HOT 3
- plugin does not find tesseract HOT 3
- No pdftoppm.exe executive found HOT 2
- Corrupted PDF HOT 8
- Issue with Farsi OCR HOT 1
- An Academic Workflow: Zotero & Obsidian | by Alexandra Phelan | Medium
- OCR Produces corrupted file HOT 3
- Zotero 7 Support HOT 16
- Automatic installation on ArchLinux HOT 3
- Unclear when working HOT 1
- PDF does not auto-link to group libraries
- Arabic language "Saudi Arabia" HOT 1
- Automatically OCR new pdfs
- couldn't open 'nameToUnicode' HOT 1
- No bin.exe executable found HOT 8
- OCR option not in Z7 context menu HOT 19
- 无法调用ocr软件 HOT 9
- bugs with newest version & questions on developing HOT 3
- Increase multithreading processing capability 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 zotero-ocr.