glutanimate / cloze-overlapper

Anki add-on for memorizing lists and enumerations
https://ankiweb.net/shared/info/969733775
Other
228 stars 38 forks source link

Cards are not regenerated if the syntax is entered directly. #67

Open Maitreya20201103 opened 3 years ago

Maitreya20201103 commented 3 years ago

Problem description

Cards are not regenerated if the syntax is entered directly. Cards are only regenerated if the syntax is created via the key combination "command + shift + c".

I was reviewing a card on my iPad like so.

Who: [[oc1::Vernon Mountcastle]] When: [[oc2::1978]] Book: [[oc3::The Mindful Brain ]] Article: [[oc4::An Organizing Principle for Cerebral Function: The Unit Module and the Distributed System]]

I edited it like so on the iPad to break the 4th deletion into 2 separate ones.

Who: [[oc1::Vernon Mountcastle]] When: [[oc2::1978]] Book: [[oc3::The Mindful Brain ]] Article: [[oc4::An Organizing Principle for Cerebral Function]] : [[oc5::The Unit Module and the Distributed System]]

Back on the mac I tried to regenerate the cards in the browser using "Generate overlapping cloze" button on the toolbar as instructed by the video. https://www.youtube.com/watch?v=QzBoDe3PgAc&list=PL3MozITKTz5Y9owI163AJMYqKwhFrTKcT

They regenerated, but the 5th card was not included even though the syntax was specified correctly.

If I removed the syntax, and then put it back by using "command + shift + c", the 5th card generated correctly.

It seems that "command + shift + c" is doing something beyond adding syntax.

Is there an alternative way to force the syntax to be re-read before regenerating the cards?

Checklist

Please replace the space inside the brackets with an x if the following items apply:

Information about your Anki set-up

Please fill out the section corresponding with your Anki version:

2.1.26 Cloze Overlapper v0.4.0-alpha.0 (2020-07-24)

If you are using Anki 2.1

Please open Anki, go to Help → About, click on "Copy Debug Info", and paste the result between the backticks below (if the button does not appear you are using an older version of Anki 2.1 and will need to update first):


    Anki 2.1.26 (70784154) Python 3.8.0 Qt 5.13.1 PyQt 5.14.1
    Platform: Mac 10.16
    Flags: frz=True ao=True sv=2
    Add-ons, last update check: 2021-07-06 15:37:54

    ===Add-ons (active)===
    (add-on provided name [Add-on folder, installed at, version, is config changed])
    '' ['Clickable tags v20   Anki 2120 support', 0, 'None', '']
    '' ['popup_dictionary', 0, 'None', mod]
    '' ['put_ALL_due_learning_cards_first', 0, 'None', '']
    Add Hyperlink ['318752047', 2020-07-29T13:37, 'None', '']
    Additional Card Fields Fork for 21 ['744725736', 2020-09-20T04:50, 'None', mod]
    Advanced Browser ['874215009', 2020-10-03T20:40, 'None', '']
    Anki Simulator ['817108664', 2021-02-21T07:44, 'None', '']
    Anki Zoom ['538879081', 2020-04-03T17:20, 'v1.1.3', '']
    Batch Editing ['291119185', 2019-09-19T10:04, 'None', '']
    BetterSearch ['1052724801', 2020-10-25T13:49, 'None', mod]
    Browser Resizer ['1435775540', 2020-09-07T19:04, 'None', '']
    Browser TableEditor side-by-side horizontal split ['831846358', 2021-05-27T09:47, 'None', mod]
    Card browser List only one card per note ['797076357', 2020-08-10T21:23, 'None', mod]
    Cloze Overlapper ['cloze_overlapper', 2019-02-01T04:37, 'None', '']
    Convert Subdecks to Tag Hierarchy ['1172858842', 2020-02-23T14:03, 'None', '']
    Create Filtered Deck from the Browser ['861263371', 2019-03-01T19:14, 'None', '']
    Custom Background Image and Gear Icon ['1210908941', 2021-04-02T09:21, 'None', mod]
    Customize Keyboard Shortcuts ['24411424', 2021-06-03T18:23, 'None', mod]
    Customize Sidebar ['1988760596', 2020-01-16T14:12, 'None', mod]
    Edit Field During Review Cloze ['385888438', 2021-06-20T17:33, 'None', mod]
    Extended Card Stats During Review ['1008566916', 2017-08-29T11:59, 'None', '']
    Extended Tag AddEdit Dialog ['1135507717', 2021-05-18T17:29, 'None', mod]
    Fastbar- with nightmode support ['46611790', 2021-05-18T17:50, 'None', '']
    Free Weekend - or Any Other Day ['742185195', 2020-04-10T04:57, 'None', mod]
    Frozen Fields ['516643804', 2020-02-29T20:12, 'None', '']
    Hierarchical Tags 2 ['594329229', 2021-03-06T18:25, 'None', '']
    High Yield Tags ['1918380616', 2020-06-30T13:35, 'None', mod]
    Highlight Search Results in the Browser ['225180905', 2021-03-10T09:06, 'None', '']
    Hint Hotkeys ['1844908621', 2019-02-26T10:58, 'None', '']
    Image Occlusion Enhanced for Anki 21 alpha ['1374772155', 2020-04-27T19:21, 'None', '']
    Image Style Editor ['1593969147', 2020-12-17T05:06, 'None', mod]
    ImageResizer ['1214357311', 2021-04-10T09:15, 'None', '']
    Learning Step and Review Interval Retention ['1949865265', 2020-12-28T14:40, 'None', '']
    Legacy ReMemorize Rescheduler with sibling and logging v142 ['323586997', 2020-11-19T21:27, 'None', mod]
    Mini Format Pack ['295889520', 2018-07-24T10:45, 'None', '']
    More Decks Stats and Time Left ['1556734708', 2021-01-27T01:09, 'None', mod]
    More Overview Stats 21 ['738807903', 2021-02-05T09:35, 'None', mod]
    Placeholder - The KING of Study Timers ignore this  do NOT download this now ['907028815', 2020-04-25T12:57, 'None', '']
    Progress Bar ['2091361802', 2019-03-02T18:27, 'None', '']
    Quick Colour Changing ['2491935955', 2019-03-02T18:26, 'None', mod]
    Rebuild All  Empty All for Anki 21 ['1810938259', 2018-07-19T21:40, 'None', '']
    Refocus Card when Reviewing 21 ['1642550423', 2019-03-04T10:20, 'None', '']
    Resize images in editor ['1103084694', 2020-08-02T06:04, 'None', mod]
    Review Heatmap ['review_heatmap', 2020-04-30T06:23, 'None', '']
    Searching PDF Reading  Note-Taking in Add Dialog ['1781298089', 2021-06-21T09:05, 'None', mod]
    Special Fields ['1102281552', 2021-06-20T14:27, 'None', mod]
    Speed Focus Mode auto-alert auto-reveal auto-fail/good ['1046608507', 2019-06-02T02:11, 'None', '']
    Symbols As You Type ['2040501954', 2021-03-21T19:17, 'None', '']
    Symbols ['1461102936', 2019-04-23T06:37, 'None', mod]
    The KING of Button Add-ons ['374005964', 2020-04-17T15:33, 'None', mod]
    True Retention by Card Maturity ['923360400', 2017-08-29T12:00, 'None', '']
    Web Browser - Search terms Import texts and images automatically ['864545277', 2020-08-29T11:23, 'None', mod]
    add-on dialog searchfilter bar ['561945101', 2020-05-08T06:16, 'None', '']
    when is next learning card due today due ['563204849', 2020-09-13T06:51, 'None', mod]

    ===IDs of active AnkiWeb add-ons===
    1008566916 1046608507 1052724801 1102281552 1103084694 1135507717 1172858842 1210908941 1214357311 1374772155 1435775540 1461102936 1556734708 1593969147 1642550423 1781298089 1810938259 1844908621 1918380616 1949865265 1988760596 2040501954 2091361802 225180905 24411424 2491935955 291119185 295889520 318752047 323586997 374005964 385888438 46611790 516643804 538879081 561945101 563204849 594329229 738807903 742185195 744725736 797076357 817108664 831846358 861263371 864545277 874215009 907028815 923360400

    ===Add-ons (inactive)===
    (add-on provided name [Add-on folder, installed at, version, is config changed])
    AMBOSS add-on ['0amboss_addon', 2020-05-26T08:47, 'None', '']
    Load Balanced Scheduler ['208879074', 2019-07-23T19:37, 'None', '']
    Pokemanki ['633922407', 2021-02-24T13:44, 'None', '']
    Puppy Reinforcement ['puppy_reinforcement', 2020-02-04T23:16, 'None', '']
    Reset Ease ['947935257', 2020-12-27T06:59, 'None', '']
    Straight Reward ['957961234', 2020-07-10T02:50, 'None', mod]
    Syllabus - Anki Statistics and Export by Tag and Deck ['668156440', 2020-01-19T11:52, 'None', mod]
If you are using Anki 2.0

Please open Anki, go to Help → About, find the two lines starting with Version: and Qt, and copy-paste them between the backticks below:

Version 2.1.26 (70784154)
Python 3.8.0 Qt 5.13.1 PyQt 5.14.1

Please fill in details about your operating system (Windows/macOS/Linux, which version):

Please open Anki, go to Tools → Add-ons, take a screenshot of your installed add-ons, and paste it below:

addons

Most of these are from Butler for 2.1.26 https://drive.google.com/drive/folders/1sS8sll1a68fVwLs5z20Kf2DFVTXsd9VH

Error message (if any)

If you've received an error message, please copy and paste it between the backticks below: