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

it doesn't work, im trying to get it tell me that i know the RTK kanji lol #15

Open
smarlitos opened this issue Jan 1, 2021 · 5 comments · May be fixed by #17
Open

it doesn't work, im trying to get it tell me that i know the RTK kanji lol #15

smarlitos opened this issue Jan 1, 2021 · 5 comments · May be fixed by #17

Comments

@smarlitos
Copy link

Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-on support site.
Debug info:
Anki 2.1.26 (70784154) Python 3.8.0 Qt 5.13.1 PyQt 5.14.1
Platform: Mac 10.16
Flags: frz=True ao=True sv=1
Add-ons, last update check: 2020-12-31 20:59:18
Add-ons possibly involved: ⁨Kanji Grid⁩

Caught exception:
Traceback (most recent call last):
File "/Users/carlosgonzalez/Library/Application Support/Anki2/addons21/909972618/Kanji_grid.py", line 457, in setup
self.makegrid(config)
File "/Users/carlosgonzalez/Library/Application Support/Anki2/addons21/909972618/Kanji_grid.py", line 362, in makegrid
self.displaygrid(config, units, timeNow)
File "/Users/carlosgonzalez/Library/Application Support/Anki2/addons21/909972618/Kanji_grid.py", line 280, in displaygrid
self.generate(config, units, timeNow)
File "/Users/carlosgonzalez/Library/Application Support/Anki2/addons21/909972618/Kanji_grid.py", line 256, in generate
self.html += "<h4 style="color:#888;">%d of %d - %0.2f%%\n" % (n, gc, n*100.0/gc)
ZeroDivisionError: float division by zero

@vermouthmjl vermouthmjl linked a pull request May 30, 2021 that will close this issue
@vermouthmjl
Copy link

Hi @smarlitos
I fixed this error in a fork and shared it on the Anki website.
Feel free to take a look.

@smarlitos
Copy link
Author

smarlitos commented Apr 4, 2023 via email

@vermouthmjl
Copy link

Hi @smarlitos !
So happy that your bug is fixed by the fork. If you like the fork, I'd really appreciate if you could put in an upvote on Anki. It would make it easier to find for others ^^
Thanks !

@Tenome
Copy link

Tenome commented May 24, 2023

Hi @smarlitos ! So happy that your bug is fixed by the fork. If you like the fork, I'd really appreciate if you could put in an upvote on Anki. It would make it easier to find for others ^^ Thanks !

Does this work on the current ⁨2.1.63 qt6 Anki? I installed your version and don't see the menu option like the previous Kanji Grid.

@smarlitos
Copy link
Author

smarlitos commented May 24, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants