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

Not finding a sentence in the database during batch adding crashes Anki #22

Open
soliviantar opened this issue Oct 11, 2023 · 1 comment

Comments

@soliviantar
Copy link

soliviantar commented Oct 11, 2023

EDIT: On further review, it looks the add-on freezes Anki whenever it doesn't find the word or expression in the database (but only for batch adding, manual adding gives an error instead: "Create database or change language options"). Batch adding for simple words that have sentences in my tatoeba database works. However, when looking up something without a sentence in the database it freezes and I have to force close Anki.

________ (original post)
I can add sentences by highlighting and clicking the addon button. But whenever I try to batch add Anki becomes non-responsive.

~~If I select just one or a few cards it just freezes until I have to force close Anki. If I select all my notes from the deck (~1500), it says "Processing" and there is a progress bar. At some point it disappears, but when I try to close the Sentence Adder window, Anki hangs and I have to force close. No sentences are added.~~

I am using:
Anki 2.1.65 (aa9a734f) Python 3.9.15 Qt 6.4.3 PyQt 6.4.0
Platform: Windows-10-10.0.22621
Flags: frz=True ao=True sv=3

@soliviantar soliviantar changed the title Batch add freezes Anki Not finding a sentence in the database during batch adding crashed Anki Oct 12, 2023
@soliviantar soliviantar changed the title Not finding a sentence in the database during batch adding crashed Anki Not finding a sentence in the database during batch adding crashes Anki Oct 12, 2023
@krmanik
Copy link
Owner

krmanik commented Nov 4, 2023

Next version of the addons will have fixes.

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

No branches or pull requests

2 participants