image-occlusion-enhanced icon indicating copy to clipboard operation
image-occlusion-enhanced copied to clipboard

The image occlusion popup windows does not appear whenever anki (add page) is side to side with another window in full screen view

Open Rayan-Alqarni opened this issue 1 year ago • 0 comments

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:

  • [ yes ] I've restarted Anki to see if it helps
  • [ yes ] I've verified that I use the latest version of the add-on by redownloading it from AnkiWeb
  • [ yes ] I've verified that I use the latest version of Anki by checking at https://apps.ankiweb.net#download
  • [ yes ] I've tried to disable other add-ons to see if there are any interactions present
  • [ yes ] My issue disappears when I hold shift while starting Anki.
  • [ yes ] 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

Debug info: Anki 2.1.63 (f356f177) Python 3.9.15 Qt 6.5.0 PyQt 6.5.0 Platform: macOS-11.2-arm64-arm-64bit Flags: frz=True ao=True sv=2 Add-ons, last update check: 2023-05-16 16:40:20 Add-ons possibly involved: ⁨Image Occlusion Enhanced⁩

Caught exception: Traceback (most recent call last): File "/Users/rayanalqarni/Library/Application Support/Anki2/addons21/1374772155/main.py", line 181, in lambda _, u=path, editor=webview.editor: onImgOccButton( File "/Users/rayanalqarni/Library/Application Support/Anki2/addons21/1374772155/main.py", line 101, in on_image_occlusion_button self.imgoccadd.occlude(image_path) File "/Users/rayanalqarni/Library/Application Support/Anki2/addons21/1374772155/add.py", line 112, in occlude width, height = get_image_dimensions(image_path) File "/Users/rayanalqarni/Library/Application Support/Anki2/addons21/1374772155/utils.py", line 97, in get_image_dimensions img_fmt = imghdr.what(image_path) File "/Users/rayanalqarni/Library/Application Support/Anki2/addons21/1374772155/_vendor/imghdr.py", line 16, in what f = open(file, 'rb') FileNotFoundError: [Errno 2] No such file or directory: '/Users/rayanalqarni/Library/Application Support/Anki2/User 1/collection.media/ArzbST9PLxj5QDRSc4o6pJiI4YbeZgeJYkoTqLmOFbATf6lTXM71DXfPCG+u3PWPDNPA39iVCqTP8LMABVznT9IoBv+wAAAABJRU5ErkJggg=='


Error message (if any)

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 to the add-on author.


Rayan-Alqarni avatar May 16 '23 16:05 Rayan-Alqarni