Closed JustinCarr closed 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
Ahh thanks for this, will push an update tonight!
Fixed in 0.4.3
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