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

The select image icon doesn't appear on the add card page #304

Open
6 tasks done
luissena24 opened this issue Nov 14, 2023 · 0 comments
Open
6 tasks done

The select image icon doesn't appear on the add card page #304

luissena24 opened this issue Nov 14, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@luissena24
Copy link

Problem description

I used Anki in a computer and then changed to another (both with Windows 11) that from installing the program, warned me that this add-on had a problem. There are no new updates to download and when I disable it, the creation of other cards works perfectly. When I try using it, the "select image" icon doesn't appear, despite it not being disabled.

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

Anki 23.10.1 (fac9e0ee) Python 3.9.15 Qt 6.6.0 PyQt 6.6.0
Platform: Windows-10-10.0.22621
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2023-11-14 15:23:45

When loading Image Occlusion Enhanced:
Traceback (most recent call last):
  File "aqt.addons", line 245, in loadAddons
  File "C:\Users\Maria Manuel Sena\AppData\Roaming\Anki2\addons21\image_occlusion_enhanced\__init__.py", line 14, in <module>
    from . import main
  File "C:\Users\Maria Manuel Sena\AppData\Roaming\Anki2\addons21\image_occlusion_enhanced\main.py", line 33, in <module>
    from .consts import *
  File "C:\Users\Maria Manuel Sena\AppData\Roaming\Anki2\addons21\image_occlusion_enhanced\consts.py", line 22, in <module>
    ADDON_PATH = os.path.dirname(__file__).decode(SYS_ENCODING)
AttributeError: 'str' object has no attribute 'decode'


Error message (if any)

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

@luissena24 luissena24 added the bug Something isn't working label Nov 14, 2023
@luissena24 luissena24 changed the title I can't use de add-on from the point I select an image The select image icon doesn't appear on the add card page Nov 14, 2023
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