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

ModuleNotFoundError: No module named 'cloze_overlapper.gui.forms.anki21 #61

Open
2 of 6 tasks
rasulkireev opened this issue Dec 14, 2020 · 0 comments
Open
2 of 6 tasks
Labels
bug Something isn't working

Comments

@rasulkireev
Copy link

rasulkireev commented Dec 14, 2020

Problem description

Here is what I did:

  1. I have pulled the latest commit of the main branch (git clone ...)
  2. I have built the addon with aab build
  3. In Anki I went to addon page and dragged the cloze-overlapper-v0.4.0-alpha.0-anki21.ankiaddon file to the addon list.
  4. I then restarted the app and got the ModuleNotFoundError error.

Could you please help me resolving this issue?

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 fill out the section corresponding with your Anki version:

If you are using Anki 2.1
    Anki 2.1.35 (84dcaa86) Python 3.8.0 Qt 5.14.2 PyQt 5.14.2
    Platform: Mac 10.15.7
    Flags: frz=True ao=True sv=1
    Add-ons, last update check: 2020-12-14 12:01:12
    
    
    ===Add-ons (active)===
    (add-on provided name [Add-on folder, installed at, version, is config changed])
    Cloze Anything ['330680661', 2019-12-30T01:17, 'None', '']
    Cloze Overlapper ['cloze_overlapper', 2019-02-01T15:37, 'None', '']
    Image Occlusion Enhanced for Anki 21 alpha ['1374772155', 2020-04-28T05:21, 'None', '']
    
    ===IDs of active AnkiWeb add-ons===
    1374772155 330680661
    
    ===Add-ons (inactive)===
    (add-on provided name [Add-on folder, installed at, version, is config changed])

Error message

When loading '⁨Cloze Overlapper⁩':
⁨Traceback (most recent call last):
  File "aqt/addons.py", line 211, in loadAddons
  File "/Users/u1082926/Library/Application Support/Anki2/addons21/cloze_overlapper/__init__.py", line 41, in <module>
    from . import main  # noqa: F401
  File "/Users/u1082926/Library/Application Support/Anki2/addons21/cloze_overlapper/main.py", line 42, in <module>
    from .gui.options_global import initializeOptions
  File "/Users/u1082926/Library/Application Support/Anki2/addons21/cloze_overlapper/gui/options_global.py", line 49, in <module>
    from .forms import settings_global
  File "/Users/u1082926/Library/Application Support/Anki2/addons21/cloze_overlapper/gui/forms/__init__.py", line 41, in <module>
    from .anki21 import *  # noqa: F401
ModuleNotFoundError: No module named 'cloze_overlapper.gui.forms.anki21'
@rasulkireev rasulkireev added the bug Something isn't working label Dec 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant