glutanimate / image-occlusion-enhanced

Anki add-on that transforms images into cloze tests
https://ankiweb.net/shared/info/1374772155
Other
398 stars 41 forks source link

Anki fails to open when Image Occlusion Enhanced is enabled on Windows #264

Open Philogicatician opened 1 year ago

Philogicatician commented 1 year ago

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?

On Windows 10, I added only the Image Occlusion Enhanced plugin. After doing so, Anki freezes when trying to open it. It opens fine when holding Shift to disable plugins.

Checklist

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

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


    Anki 2.1.54 (b6a7760c) Python 3.9.7 Qt 6.3.1 PyQt 6.3.1
    Platform: Windows 10
    Flags: frz=True ao=False sv=2
    Add-ons, last update check: 2022-10-16 21:33:49

    ===Add-ons (active)===
    (add-on provided name [Add-on folder, installed at, version, is config changed])
    Image Occlusion Enhanced for Anki 21 ['1374772155', 2022-04-09T02:15, 'None', '']

    ===IDs of active AnkiWeb add-ons===
    1374772155

    ===Add-ons (inactive)===
    (add-on provided name [Add-on folder, installed at, version, is config changed])

Error message (if any)

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

No error messages per se, just a blank window indicating Anki isn't responding: image

Which then produces the standard message prompt when trying to close Anki: image

glutanimate commented 1 year ago

Hi, thanks for the report! Hmm, this could be a tough one to debug as IOE is used on a lot of Windows installations and this is the first time I'm seeing Anki being affected in this way.

One thing we could perhaps try to get a bit more debug info would be for you to launch Anki using its command-line script. To do so, please head to C:\Program Files\Anki (or the location where you installed it) and then launch Anki in command-line mode by double-clicking anki-console.bat. This will invoke a terminal window, printing out messages produced by Anki while it launches. If you could copy and paste that terminal output here, I would very much appreciate it. Thanks!