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

View crashes on edit + card corruption #312

Open
6 tasks done
chriseckinger opened this issue Jun 4, 2024 · 0 comments
Open
6 tasks done

View crashes on edit + card corruption #312

chriseckinger opened this issue Jun 4, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@chriseckinger
Copy link

chriseckinger commented Jun 4, 2024

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?
image

When I edit an Image occlusion card via the popup window, on pressing "Edit Cards"
image
the view crashes with a TypeError: Failed to fetch
image
image

The browse view has to be closed and restarted and will then show the card as normal
image

However and this is my main issue: sometimes (sadly I haven't been able to reproduce this consistently) this results in the card not showing the image during review and instead it just renders a small image symbol (a bit like this one: 🖼️). The image will however, render properly in the browse view, as well as the card preview of the browse view.
image

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 24.04.1 (ccd9ca1a)  (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: Windows-10-10.0.22621

===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
FSRS Helper Postpone  Advance  Load Balance  Easy Days  Disperse Siblings ['759844606', 2024-05-21T06:19, 'None', '']
Image Occlusion Enhanced ['1374772155', 2022-04-09T09:15, 'None', '']
rebuildempty some or all filtered decks ['104518886', 2023-05-17T00:33, 'None', '']

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

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

TypeError: Failed to fetch
@chriseckinger chriseckinger added the bug Something isn't working label Jun 4, 2024
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