Unlucky-Life / ankimon

Ankimon is a Anki Addon to Gamify your learning experience
Other
68 stars 6 forks source link

Ankimon not workign as of latest upddate #109

Closed Stefflos closed 4 months ago

Stefflos commented 4 months ago

Hey there! First of all! Thanks a million for your wonderful add-on!

Unfortunately something broke today. The error appeared as of the patch I think, because I had it updated recently, but when it appeared there was another update. It's still not working after I updated though.

Providing a printscreen of the error message but that's about what I have I recon. image

Kind regards Stef

Unlucky-Life commented 4 months ago

@Stefflos Hey Stef, glad that you like the addon ! Hm, ok lets try to fix this.

Could you send me your mainpokemon.json and your mypokemon.json files from the user_files folder of the ankimon addon folder ? image

Else we can check if its due to the recent update. You can always download the earlier updates here on github: https://github.com/Unlucky-Life/ankimon/releases This was the update you had installed before: https://github.com/Unlucky-Life/ankimon/releases/tag/1.275 => download the ankiaddon file and double click to install to anki => then you should have the older version installed (then we can already troubleshoot if the issue was due to the new update)

Stefflos commented 4 months ago

mainpokemon.json mypokemon.json

For info. I was using my macbook last night as well and updating made that one stop working as well.

Kind regards

Stefflos commented 4 months ago

New update. I tried completely reinstalling and it works, until I copy my old json files into the whole mixture. So it would seem my json has been corrupted, on both of my anki (with completely different pokemon setups and json files) somehow? Is there anything to do to fix it?

Edit: 2nd update: If I pick a "normal" pokémon as my main it works fine again, but when I choose Xerneas as my main pokemon the error comes back. Same thing did however not help on my macbook. I had my original pokemon as main there and it did not help to change to another one.

3rd update: Got some of my monsters on the MacBook to work as well, so seems to be an error with some of the pokémons. But Crocomaw (which is my basic pokemon) for example isn't working.

Unlucky-Life commented 4 months ago

@Stefflos So when i copy pasted your files with the newest version i wasnt able to recreate the error message therefore: I think i might know the issue.

Two steps two troubleshooting.

  1. if you havent yet, download the following sprites from this folder: https://github.com/Unlucky-Life/ankimon/tree/main/missing_back_sprites And copy the following sprites to your `user_files\sprites\back_default` Folder

  2. Else if that doesnt work try copy pasting your files back. There might be an error how a pokemon without a nickname is saved as Null in json. mypokemon.json mainpokemon.json

Stefflos commented 4 months ago

Seems to have done the trick with the sprites. Will make a new thread if problem reoccurs.

Thank you so much for your assistance and keep up the good work! Coffee coming your way!