cfculhane / AnkiOCR

Anki Addon to create searchable text from images in notes, using Tesseract OCR
MIT License
17 stars 5 forks source link

Error upon run #13

Closed JustinCarr closed 3 years ago

JustinCarr commented 3 years ago

Ive been using this addon for a month now, and it works great. The update on 1/19/20 has created an error for me (no longer runs). See below:

Caught exception: Traceback (most recent call last): File "/Users/-----------/Library/Application Support/Anki2/addons21/450181164/gui.py", line 108, in act_run_ocr.triggered.connect(lambda b=browser: on_run_ocr(browser)) File "/Users/-----------/Library/Application Support/Anki2/addons21/450181164/gui.py", line 24, in on_run_ocr num_batches = ceil(num_notes / config["batch_size"]) TypeError: 'NoneType' object is not subscriptable

cfculhane commented 3 years ago

Ahh thanks for this, will push an update tonight!

cfculhane commented 3 years ago

Fixed in 0.4.3