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

Error 403 then IO error mesage #299

Open
4 tasks
AnkiSlave9000 opened this issue Sep 25, 2023 · 0 comments
Open
4 tasks

Error 403 then IO error mesage #299

AnkiSlave9000 opened this issue Sep 25, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@AnkiSlave9000
Copy link

I can paste images into IO, however, I cannot add any boxes, and 9/10 times I will get an error message. It was working fine yesterday on 9/24/23. I have not changed anything since last night. I reset my app, re-downloaded the addon, and even tried downgrading anki, but nothing worked. Using Shift+Start Anki is hit or miss,; I can only get one image out before I start getting error messages. It will add cards, but it is very inconsistent and buggy.

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
  • 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.

I use popular addons like enhanced close, and scale images.

Anki 2.1.65 (aa9a734f) Python 3.9.15 Qt 6.4.3 PyQt 6.4.0
Platform: Windows-10-10.0.22621
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2023-09-24 17:16:02


===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
Deck name in title 21 ['699175524', 2019-05-31T21:05, 'None', '']
Edit Field During Review ['1020366288', 2022-08-29T15:38, 'None', '']
Enhanced Cloze for Anki 21 ['1990296174', 2023-09-10T14:48, 'None', '']
Image Occlusion Enhanced ['1374772155', 2022-04-09T03:15, 'None', '']
Review Heatmap ['1771074083', 2022-06-29T21:43, 'None', '']
Scale Images ['1312865748', 2022-12-04T06:37, 'None', '']

===IDs of active AnkiWeb add-ons===
1020366288 1312865748 1374772155 1771074083 1990296174 699175524

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

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 to the add-on author.
Debug info:
Anki 2.1.65 (aa9a734f) Python 3.9.15 Qt 6.4.3 PyQt 6.4.0
Platform: Windows-10-10.0.22621
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2023-09-24 17:16:02

Caught exception:
Traceback (most recent call last):
File "C:\Users\chris\AppData\Roaming\Anki2\addons21\1374772155\main.py", line 181, in
lambda _, u=path, editor=webview.editor: onImgOccButton(
File "C:\Users\chris\AppData\Roaming\Anki2\addons21\1374772155\main.py", line 101, in on_image_occlusion_button
self.imgoccadd.occlude(image_path)
File "C:\Users\chris\AppData\Roaming\Anki2\addons21\1374772155\add.py", line 112, in occlude
width, height = get_image_dimensions(image_path)
File "C:\Users\chris\AppData\Roaming\Anki2\addons21\1374772155\utils.py", line 97, in get_image_dimensions
img_fmt = imghdr.what(image_path)
File "C:\Users\chris\AppData\Roaming\Anki2\addons21\1374772155_vendor\imghdr.py", line 16, in what
f = open(file, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\chris\AppData\Roaming\Anki2\User 1\collection.media\shrWce9SxomvLxb-RyBjHg.jpg'

@AnkiSlave9000 AnkiSlave9000 added the bug Something isn't working label Sep 25, 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