fonol / anki-search-inside-add-card

An add-on providing full-text-search and PDF reading functionality to Anki's Add card dialog
https://ankiweb.net/shared/info/1781298089
GNU Affero General Public License v3.0
178 stars 24 forks source link

Re: Failed to Create Filtered Deck #245

Open HasanBM opened 3 years ago

HasanBM commented 3 years ago

When I reviewed using the SIAC add-on first time, it created a filtered deck. I (foolishly) deleted this, as I wanted the cards to be in my main deck for this topic.

Unfortunately, despite uninstalling, deleting the files in the locations Anki stores them, as well as removing the SIAC folder in my hard drive, I have not been able to get rid of the "Could Not Create Filtered Deck" error that keeps coming up.

Screen Shot 2021-03-19 at 12 45 40 Screen Shot 2021-03-19 at 12 45 59

Unfortunately, without this filtered deck, the add-on is fairly pointless. Is there any way to get this functionality back?

E2A: Weirdly, the PDF Review deck shows up in my SIAC Add-on view, but trying to create it using the Anki main view is not possible. Screen Shot 2021-03-19 at 12 58 07

fonol commented 3 years ago

Hi, hard to pinpoint what's going wrong. If you run Anki from the console, do you see any errors printed there when it shows the "Failed to create filtered deck" message? What Anki version are you on?

Unrelated, but I see some visual bugs on your screenshots: There are some calendar icons floating around in weird places, does this always happen for you? If so, does it also occur with other add-ons disabled?

HasanBM commented 3 years ago

Hi,

I'm using 2.1.42.

Not sure what you mean by the Calendar icon. I am a CLI noob so I'm not sure how to run Anki from the command line! Also, the error repeats with the other add-on I have enabled - that is the Image Occlusion Enhanced 21 add-on.

I created another profile with the same add-ons, and uploaded the same PDFs. This time, the error did not show until I synced my original account. So, a workaround might be: create another profile and AnkiWeb account, then sign in on that. Don't download the cards from my original profile, and continue to use the original profile until the 'interrupt' signal goes off on SIAC. Switch profiles, then study the text, then switch profiles again, and continue revising.

Not the quickest or the easiest, but it might work!

fonol commented 3 years ago

Not sure what you mean by the Calendar icon.

image I meant these, but that is fixed in the new version.

I created another profile with the same add-ons, and uploaded the same PDFs. This time, the error did not show until I synced my original account. So, a workaround might be: create another profile and AnkiWeb account, then sign in on that. Don't download the cards from my original profile, and continue to use the original profile until the 'interrupt' signal goes off on SIAC. Switch profiles, then study the text, then switch profiles again, and continue revising.

Not the quickest or the easiest, but it might work!

Hm, but it should work without all that hassle!

I am a CLI noob so I'm not sure how to run Anki from the command line!

With the new update on Ankiweb, the add-on should include the error message in the tooltip (where it says "Failed to create filtered deck"). So maybe you could update, try again, and screenshot/copy what error message it says in the tooltip. That would be helpful.

HasanBM commented 3 years ago

Not sure what you mean by the Calendar icon.

image I meant these, but that is fixed in the new version.

I created another profile with the same add-ons, and uploaded the same PDFs. This time, the error did not show until I synced my original account. So, a workaround might be: create another profile and AnkiWeb account, then sign in on that. Don't download the cards from my original profile, and continue to use the original profile until the 'interrupt' signal goes off on SIAC. Switch profiles, then study the text, then switch profiles again, and continue revising. Not the quickest or the easiest, but it might work!

Hm, but it should work without all that hassle!

Agreed - I think the issue may have to do with backups downloading and therefore overriding the deck SIAC creates in my desktop app profile. The issue does not occur when I run the second profile, as I've not deleted the deck there.

With the new update on Ankiweb, the add-on should include the error message in the tooltip (where it says "Failed to create filtered deck"). So maybe you could update, try again, and screenshot/copy what error message it says in the tooltip. That would be helpful.

Attached. Screen Shot 2021-03-21 at 11 14 26

fonol commented 3 years ago

The issue does not occur when I run the second profile, as I've not deleted the deck there.

As it is intended, you should totally be able to delete the filtered deck, it should then simply recreate it again.

Attached.

Thanks, that gives me a clue. I might have a fix or not with the next update.

OcileCollection commented 2 years ago

@HasanBM Have you tried the new update? Did it solve the issue?