Anki Forums

Cloze Overlapper [Official Support Thread]

This is the new official support thread for Cloze Overlapper. The previous thread may be found here. From now on please direct all of your general support questions about the add-on here.

Note: If you’ve run into a bug, please consider filing a bug report instead. The issue tracker takes care of a lot of the troubleshooting groundwork, so it really makes it a lot easier for me to fix your issue. Should you be unfamiliar with how to file a bug report, then please check out my quick tutorial here.

If you are unable to file a bug report through the issue tracker, then please make sure to copy the bug report template below, paste it into your reply, and fill it out. This will go a long way towards me and other users being able to understand what’s wrong and help you.

In important cases you can also reach out to me directly via an email to :email: ankiglutanimate@gmail.com


Thank you!

In cases where you can’t use the official issue tracker, please copy the bug report template below into your reply and fill it out. This will go a long way towards me and other users being able to understand what’s wrong and help you. Thank you!

Problem description

Please describe the issue concisely in here. In case of an error: Walk us through the steps you took to get there. What happened? What did you expect to happen?

Checklist

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

  • [ ] I’ve restarted Anki to see if it helps
  • [ ] I’ve verified that I use the latest version of the add-on by redownloading it from AnkiWeb
  • [ ] I’ve verified that I use the latest version of Anki by checking at https://apps.ankiweb.net#download
  • [ ] I’ve tried to disable other add-ons to see if there are any interactions present
  • [ ] My issue disappears when I hold shift while starting Anki.
  • [ ] I’ve checked if anyone else reported this problem before by looking through the issue reports. I also checked to see if there is a section about known issues in the add-on description, documentation, or README.

Information about your Anki set-up

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):


Error message (if any)

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


Hello,

In the Anki version 2.1.33 my cloze-overlapper stops working with the following error message:

> Error
> An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
> If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
> When you've discovered the add-on that is causing the problem, please report the issue on the add-on support site.
> Debug info:
> Anki 2.1.33 (3f403040) Python 3.8.0 Qt 5.14.2 PyQt 5.14.2
> Platform: Mac 10.15.6
> Flags: frz=True ao=True sv=1
> Add-ons, last update check: 2020-09-13 11:58:35
> Add-ons possibly involved: ⁨cloze_overlapper⁩
> 
> Caught exception:
> Traceback (most recent call last):
>   File "aqt/webview.py", line 493, in handler
>   File "aqt/editor.py", line 481, in <lambda>
>   File "/Users/kaifengliang/Library/Application Support/Anki2/addons21/cloze_overlapper/editor.py", line 154, in <lambda>
>     editor.saveNow(lambda: callback(editor, *args, **kwargs))
>   File "/Users/kaifengliang/Library/Application Support/Anki2/addons21/cloze_overlapper/editor.py", line 283, in onOlClozeButton
>     return onFieldReady()
>   File "/Users/kaifengliang/Library/Application Support/Anki2/addons21/cloze_overlapper/editor.py", line 270, in onFieldReady
>     overlapper.add()
>   File "/Users/kaifengliang/Library/Application Support/Anki2/addons21/cloze_overlapper/overlapper.py", line 117, in add
>     self.updateNote(fields, full, setopts, custom)
>   File "/Users/kaifengliang/Library/Application Support/Anki2/addons21/cloze_overlapper/overlapper.py", line 203, in updateNote
>     note.flush()
>   File "anki/notes.py", line 67, in flush
> AssertionError

With the guidance on another thread I have tried to install the last stable version of Anki 2.1.26, but with no luck as the add-on now displays “no configuration is found” and is disabled.

I would really appreciate your help!

Thank you,

Problem description

*I downloaded cloze overlapped from the patreon. The download went fine, and I can use cloze overlap when I am adding cards. However, when I try to change settings (such as gradual up/down), I get the error message bellow. After using cloze overlapped for a day, my anki would no longer sync with AnkiWeb, would take forever to open, and would pause so I couldn’t do anything. I have a MacBook pro, 2015. I would have to force quit anki multiple times to get it to work. I tried deleting the ad-on, and I still had the problem (can’t sync, anki working funky). I ended up deleting anki and all of its files and re-downloading anki. I tried downloading the cloze overlap ad on again, and am running into the same problems. I don’t have any issues with the ad-ons I am using. I am using anki 2.1.26 like is suggested on patreon. *

Checklist

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

  • [x ] I’ve restarted Anki to see if it helps
  • [x ] I’ve verified that I use the latest version of the add-on by redownloading it from AnkiWeb
  • [x ] I’ve verified that I use the latest version of Anki by checking at https://apps.ankiweb.net#download
  • [x] I’ve tried to disable other add-ons to see if there are any interactions present
  • [x ] My issue disappears when I hold shift while starting Anki.
  • [ ] I’ve checked if anyone else reported this problem before by looking through the issue reports. I also checked to see if there is a section about known issues in the add-on description, documentation, or README.

Information about your Anki set-up

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):

    Debug Info:

    Anki 2.1.26 (70784154) Python 3.8.0 Qt 5.13.1 PyQt 5.14.1
    Platform: Mac 10.15.6
    Flags: frz=True ao=False sv=1
    Add-ons, last update check: 2020-09-13 01:41:13
    
    
    ===Add-ons (active)===
    (add-on provided name [Add-on folder, installed at, version, is config changed])
    Cloze Overlapper ['cloze_overlapper', 2019-02-01T06:37, 'None', '']
    
    ===IDs of active AnkiWeb add-ons===
    
    
    ===Add-ons (inactive)===
    (add-on provided name [Add-on folder, installed at, version, is config changed])
    Anki Zoom ['538879081', 2020-04-03T19:20, 'v1.1.3', mod]
    BetterTags ['bettertags', 2020-04-28T10:40, 'None', '']
    Enhance main window ['877182321', 2020-05-03T11:58, 'None', mod]
    Image Occlusion Enhanced for Anki 21 alpha ['1374772155', 2020-04-27T21:21, 'None', '']
    Large and Colorful Buttons ['1829090218', 2018-10-02T12:41, 'None', '']
    Pop-up Dictionary beta ['153625306', 2019-03-23T12:32, 'None', '']
    Progress Bar ['2091361802', 2017-08-29T14:00, 'None', '']
    Puppy Reinforcement ['1722658993', 2020-03-02T14:23, 'None', '']
    Review Heatmap ['review_heatmap', 2020-04-30T08:23, 'None', '']
    Speed Focus Mode auto-alert auto-reveal auto-fail ['1046608507', 2019-06-02T04:11, 'None', '']

Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-on support site.
Debug info:
Anki 2.1.26 (70784154) Python 3.8.0 Qt 5.13.1 PyQt 5.14.1
Platform: Mac 10.15.6
Flags: frz=True ao=True sv=1
Add-ons, last update check: 2020-09-13 01:41:13
Add-ons possibly involved: ⁨Cloze Overlapper⁩

Caught exception:
Traceback (most recent call last):
  File "/Users/zeynepeguven/Library/Application Support/Anki2/addons21/cloze_overlapper/gui/options_global.py", line 107, in onAccept
    config.save(reset=reset_req)
  File "/Users/zeynepeguven/Library/Application Support/Anki2/addons21/cloze_overlapper/libaddon/anki/configmanager.py", line 219, in save
    saver(self._config[name])
  File "/Users/zeynepeguven/Library/Application Support/Anki2/addons21/cloze_overlapper/libaddon/anki/configmanager.py", line 460, in _saveSynced
    self._getStorageObj("synced")[self._conf_key] = config
  File "anki/config.py", line 60, in __setitem__
  File "anki/config.py", line 36, in set
  File "anki/rsbackend.py", line 591, in set_config_json
orjson.JSONEncodeError: Type is not JSON serializable: WrappedDict

Error message (if any)

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