Anki does not warn me if no cloze deletions are added

Hello,
lately my Anki has not been working well. Namely, there’s no pop-up to warn me if there are no cloze deletions when adding a cloze-type note. It also does not warn me if I do add cloze deletions in a non cloze-type note.
The problem persists even if I start Anki by clicking shift, disabling all of my addons.
Has anyone an idea on what might be the cause?
I attached my debug info in case that might be useful.

Thank you in advance,
jcznk

Anki 2.1.22 (0ecc189a) Python 3.8.0 Qt 5.14.1 PyQt 5.14.1
Platform: Windows 10
Flags: frz=True ao=True sv=1
Add-ons, last update check: 2021-11-27 09:12:22


===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
'' ['show_warning_if_no_tags_when_adding_cards', 0, 'None', '']
Additional Card Fields Fork for 21 ['744725736', 2021-11-21T18:18, 'None', mod]
Adjust Sound Volume ['2123044452', 2021-05-05T13:24, 'None', mod]
Advanced Browser ['874215009', 2020-04-08T21:58, 'None', '']
Advanced Copy Fields ['1898445115', 2020-04-08T22:04, 'None', '']
Agent Orange Pseudo-Fuzz Defoliator ['175851166', 2020-11-20T06:21, 'None', '']
Anki Zoom ['538879081', 2020-04-04T02:20, 'v1.1.3', mod]
AutoDefine - Automatically define vocabulary words with pronunciations and image ['2136497008', 2020-11-16T00:16, 'None', mod]
Batch Editing ['291119185', 2020-02-25T01:13, 'None', '']
BetterSearch ['1052724801', 2020-07-29T00:44, 'None', mod]
Blitzkrieg II - Advanced Browser Sidebar BETA7 ['564851917', 2020-04-08T21:29, 'None', '']
Cacher In The Rye Windows Archived ['1302452246', 2020-02-25T01:32, 'None', '']
Change note type respect field and card names ['513858554', 2020-04-05T17:41, 'None', '']
Clickable Tags v20 Anki 2120 support ['1739176371', 2021-10-17T01:27, 'None', '']
Color Confirmation ['1084228676', 2020-03-14T13:13, 'None', '']
Colorful toolbars ['388296573', 2020-04-20T11:22, 'None', '']
Countdown To Events and Exams ['1143540799', 2021-03-13T21:40, 'None', '']
Customize Keyboard Shortcuts ['24411424', 2021-10-30T19:32, 'None', mod]
Customize Sidebar ['1988760596', 2020-02-25T01:21, 'None', '']
Deck name in title 21 ['699175524', 2020-03-25T09:14, 'None', '']
Disable fading between cards ['1533933651', 2019-07-16T17:23, 'None', '']
Edit Field During Review Cloze ['385888438', 2021-06-21T02:33, 'None', mod]
Enhance main window ['877182321', 2020-05-03T18:58, 'None', mod]
Extended Card Stats During Review ['1008566916', 2020-02-25T01:09, 'None', '']
Extended Tag AddEdit Dialog ['1135507717', 2021-05-19T02:29, 'None', '']
External Note Editor for the Browser ['1996266159', 2020-04-08T21:37, 'None', '']
Field History ['1247884413', 2019-01-08T19:34, 'None', '']
Flexible Duplicate Checking ['1587955871', 2020-05-19T08:49, 'None', '']
Frozen Fields ['516643804', 2020-03-31T18:50, 'None', '']
Highlight Search Results in the Browser ['225180905', 2021-03-10T18:06, 'None', '']
Holdem Cardfield Preserves add card history ['363320830', 2020-02-25T01:33, 'None', '']
HoochieMama Randomize Rev Queue ['1460733408', 2020-06-03T15:17, 'None', '']
HoochiePapa Randomize New Queue ['1173108619', 2020-04-25T05:17, 'None', '']
Image Editor ['307397307', 2021-02-24T10:41, 'None', mod]
Image Occlusion Enhanced for Anki 21 alpha ['1374772155', 2020-04-28T04:21, 'None', '']
Image Style Editor ['1593969147', 2021-10-17T04:32, 'None', mod]
Increase autosave frequency ['786971082', 2020-04-08T23:52, 'None', '']
Keep card displayed in reviewer until it is modified ['1894745652', 2020-04-05T20:57, 'None', '']
Keep model of add cards ['424778276', 2019-03-22T14:07, 'None', '']
Kitten Rewards Gamification ['1627107763', 2020-03-24T19:18, 'None', '']
Maximum image height and width in card editor ['229181581', 2021-07-23T08:01, 'None', '']
Mini Format Pack ['295889520', 2020-02-28T12:16, 'None', '']
More Overview Stats 21 ['738807903', 2021-07-29T18:31, 'None', '']
Opening the same window multiple time ['354407385', 2020-05-16T02:59, 'None', mod]
Postpone cards review ['1152543397', 2020-05-29T05:40, 'None', '']
Progress Graphs and Stats for Learned and Matured Cards ['266436365', 2020-03-29T08:26, 'None', '']
Quick note and deck buttons Fork for 21 ['1331140127', 2020-05-13T16:05, 'None', mod]
Quick tagging 21 ['304770511', 2020-03-26T17:51, 'None', '']
ReMemorize Rescheduler with sibling and logging v142 ['323586997', 2020-11-20T06:27, 'None', mod]
Remove Cloze Button and Hotkey ['836994508', 2019-12-22T01:49, 'None', mod]
Search and Replace Tags ['138501288', 2020-02-25T01:12, 'None', '']
Show total time spent in main screen ['1238121460', 2020-07-19T10:36, 'None', '']
Small Potatoes Show learning step count in days ['75718778', 2020-04-02T20:53, 'None', '']
Special Fields ['1102281552', 2021-06-20T23:27, 'None', mod]
Speed Focus Mode auto-alert auto-reveal auto-fail ['1046608507', 2019-06-02T11:11, 'None', '']
Statistics for Note Types Card Types and Tags ['16703369', 2020-07-20T04:11, 'None', '']
Straight Reward ['957961234', 2020-03-17T18:38, 'None', mod]
Symbols As You Type ['2040501954', 2021-03-22T03:17, 'None', '']
Symbols ['1461102936', 2020-03-23T12:52, 'None', mod]
Tag Toggler Fork for 21 ['1429363228', 2020-05-08T14:01, 'None', mod]
Text Rendering Fix ['94394764', 2020-03-22T19:38, 'None', '']
Toggle front and back card in Anki 21 ['1240106570', 2020-04-01T23:18, 'None', '']
Transfer scheduling data from one card to another ['94685914', 2020-09-18T11:23, 'None', '']
True Retention by Card Maturity ['923360400', 2020-02-25T01:25, 'None', '']
batch change fonts ['1479177943', 2021-11-21T19:36, 'None', '']
confirm deletion ['263363568', 2019-04-13T13:21, 'None', mod]
editor apply font color background color custom class custom style ['1899278645', 2020-01-22T15:51, 'None', '']
put ALL due learning cards first modified v2 support ['1807121582', 2019-11-24T20:20, 'None', '']
remove linebreaks  do word wrap ['2028179508', 2021-04-12T01:36, 'None', '']
zzz Make It Harder To Quit ['1381659795', 2020-02-21T10:24, 'None', '']

===IDs of active AnkiWeb add-ons===
1008566916 1046608507 1052724801 1084228676 1102281552 1135507717 1143540799 1152543397 1173108619 1238121460 1240106570 1247884413 1302452246 1331140127 1374772155 1381659795 138501288 1429363228 1460733408 1461102936 1479177943 1533933651 1587955871 1593969147 1627107763 16703369 1739176371 175851166 1807121582 1894745652 1898445115 1899278645 1988760596 1996266159 2028179508 2040501954 2123044452 2136497008 225180905 229181581 24411424 263363568 266436365 291119185 295889520 304770511 307397307 323586997 354407385 363320830 385888438 388296573 424778276 513858554 516643804 538879081 564851917 699175524 738807903 744725736 75718778 786971082 836994508 874215009 877182321 923360400 94394764 94685914 957961234

What did you do lately that might have caused this? 2.1.22 is a pretty old version. Consider updating to the latest Anki version (2.1.49) to see if this fixes your issue.

I don’t know why this would happen on 2.1.22, but this will become the norm soon, because the cloze button will only show on cloze-notetypes anyway (no button → no shortcut either). See this discussion: Check for misplaced or missing clozes when adding and in the editor by RumovZ · Pull Request #1230 · ankitects/anki · GitHub

3 Likes

Yes, that’s true, 2.1.22 is quite an old version. I keep using it because some addons still have not been updated (and unfortunately they probably never will).
I happen to also have 2.1.33 installed: with that version the pop-up notifications work perfectly.
Unfortunately I did not notice the problem at first, so it is difficult to trace back what might have gone wrong. Anyway, I do not recall having done anything peculiar.

Wow, that is really nice.
Maybe this is not the right place to make such a suggestion, but I would still keep some sort of check/notification. Something like: “this is not a cloze-type addon, but it contains cloze deletions. Would you still like to proceed?” on clicking the add button. Just in case something goes wrong (e.g. some cloze deletions have been added manually, or the note type is changed before adding the note).

Also: when clicking the cloze-shortcut in a non-cloze type note, in addition to the cloze deletion not being added, I would still flash a pop-up notification. Just to inform the user that everything is working ok, that no bug is happening, and to instruct them that they should change the note type if they want to add clozes

On the current dev build, this warning will automatically show once you use cloze syntax on a non-cloze note type, so your wish will actually come true :slight_smile:

image

1 Like