iamjustkoi / LeechToolkit

Toolkit for adding extra leech and lapse functionality to Anki.
MIT License
5 stars 1 forks source link

Error on Anki 2.1.26 #1

Closed Willz7 closed 2 years ago

Willz7 commented 2 years ago

image

iamjustkoi commented 2 years ago

Oh shoot, this might still have some other issues, too, but here's a patch to disable the sync features for until I can get another test run for 2.1.26.

Sorry the issue's popped up and thanks for reporting it!

v1.0.3-anki2.1.26

Willz7 commented 2 years ago

Oh shoot, this might still have some other issues, too, but here's a patch to disable the sync features for until I can get another test run for 2.1.26.

Sorry the issue's popped up and thanks for reporting it!

v1.0.3-anki2.1.26

I got another error when trying to install the addon

image

iamjustkoi commented 2 years ago

@Willz7 sounds familiar to another issue I've seen in the past, I think it might have something to do with trying to install the manifest version while also having the AnkiWeb version installed. Double check to make sure the original isn't installed before you install patch version, or maybe that both aren't installed at the same time. Might also want to remove any toolkit-related files, too:

Tools > Add-ons > View Files Then, in the addons21 folder (might be one folder up), delete folders with "368380974" (or potentially something about leech toolkit) in the name.

(It might also have something to do with uninstalling the add-on then installing the patch before restarting Anki)

Hope any of this helps fix it!

Willz7 commented 2 years ago

@iamjustkoi, I have deleted any trace of the leech toolkit addon in the addon folder. I have also tried both installing the zip folder leechToolKit-1 and LeechToolkit-1.0.3-anki2.1.26.ankiaddon, but it kept giving me the previous error that I posted about not able to find "LeechToolKit-1" in the source. I tried to find line 211 in LoadAddons in the zipped folder.

I also tried installing via Ankiaddon however I get an error "failed to execute script runanki" which I think is an error with old Anki version.

iamjustkoi commented 2 years ago

@Willz7 Oh actually, sorry, that might still be something on my end! If you try installing the addon without any extras in the name, so the addon's filename would be:

LeechToolkit.ankiaddon

It might be able to successfully install it.

I didn't think about how Anki might handle filenames during install when I was naming it, to be honest.

I re-uploaded the file for the patch release if you want to just grab it from there, again, too:

v1.0.3-anki2.1.26

Hope that works!

Willz7 commented 2 years ago

@iamjustkoi

I still get the same error. I have tried the pre-release and latest version. I will do more testing on other anki version.

image

iamjustkoi commented 2 years ago

@Willz7

I still get the same error. I have tried the pre-release and latest version. I will do more testing on other anki version.

Shoot, I'm sorry to hear that. It might also help to have a look at the debug info in Anki's about page.

I also uploaded one more test patch to see if that might work, this time I updated the manifest to see if Anki's maybe not recognizing the add-on's package name. I'm having trouble running into the issue on my end, so thanks for sticking along with the whole process!

Either way, I'll keep trying to see if there's anything I can do, too.

v1.0.3-anki2.1.26 --(re-uploaded)

Willz7 commented 2 years ago

@iamjustkoi

I still get the same error. I have tried the pre-release and latest version. I will do more testing on other anki version.

image

Hi @iamjustkoi, thank you for fixing the above issue.

I have two issue

image This issue happened when I tried to go to the Leech Toolkit option to try and change some settings.

image

This issue occurred when trying to click the toggle option to access the lapse option in the deck.

iamjustkoi commented 2 years ago

@Willz7 Defs! Glad to hear that one's been fixed. Uploaded another patch for the other issues, too:

v1.0.3-anki2.1.26-2

Hope that works out!

iamjustkoi commented 2 years ago

Released a temporary patch for 2.1.26 or below, will need to check up on it and hopefully it isn't something that ends up being permanent, maybe.

Either way, closing for now but feel free to post if you have any follow ups, and thanks for reporting!