Osborw / uworld-batch-unsuspend

Anki add-on to suspend multiple cards at once
GNU General Public License v3.0
0 stars 0 forks source link

add on wont load #5

Open adama2933 opened 3 months ago

adama2933 commented 3 months ago

using V11. each time i download this addon and restart anki, I get an error message saying:An add-on you installed failed to load. If problems persist, please go to the Tools>Add-ons menu, and disable or delete the add-on.

When loading '⁨UWorld Batch Unsuspend⁩': ⁨Traceback (most recent call last):

please help!

Osborw commented 3 months ago

@adama2933, could you send a screenshot of the error message? I haven't heard of this before. Also, which version of the anking app are you using?

adama2933 commented 3 months ago

I am using v11. An add-on you installed failed to load. If problems persist, please go to the Tools>Add-ons menu, and disable or delete the add-on.

When loading '⁨UWorld Batch Unsuspend⁩':

⁨Traceback (most recent call last):

File "aqt/addons.py", line 230, in loadAddons

File "/Users/adamayoub/Library/Application Support/Anki2/addons21/899971795/init.py", line 4, in

from . import dialog

File "/Users/adamayoub/Library/Application Support/Anki2/addons21/899971795/dialog.py", line 60, in

def getTagsFromText(text: str) -> list[str]:

TypeError: 'type' object is not subscriptable

On Sat, Aug 3, 2024 at 4:32 PM Wayne Osborn @.***> wrote:

@adama2933 https://github.com/adama2933, could you send a screenshot of the error message? I haven't heard of this before. Also, which version of the anking app are you using?

— Reply to this email directly, view it on GitHub https://github.com/Osborw/uworld-batch-unsuspend/issues/5#issuecomment-2267134496, or unsubscribe https://github.com/notifications/unsubscribe-auth/BKGY5B5DTDV76S3JPPKH2FTZPU45ZAVCNFSM6AAAAABLW3EZP6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRXGEZTINBZGY . You are receiving this because you were mentioned.Message ID: @.***>

Osborw commented 3 months ago

Thanks! I've got some stuff going on, but I'll look into this within the next few days

Osborw commented 3 months ago

Hey @adama2933, I've released a new version of the add-on that may solve your issue. Next time you restart Anki, it should prompt you to install this update.

I believe you might be on an older version of Anki. You are using the v11 cards, but the Anki application has a couple different versions. Check the Anki site, all the way to the bottom where the Downloads are, and you'll see something like below. I believe you are using Qt5. Qt6 is the most recent, and should make you more compatible with the newer add-ons.

Screenshot from 2024-08-05 23-00-32

But, if you want to stay on your current version, give this new release a shot! There may be additional errors that I'll need to address, so provide the same error message/screenshot if you run into them. :)

Osborw commented 1 month ago

@adama2933 let me know if this has resolved or if you're running into anymore issues. Closing this Issue since it's becoming stale.