kaegi / MorphMan

Anki plugin that reorders language cards based on the words you know
Other
258 stars 66 forks source link

handle toolbar stats loading in Anki 2.1.54-qt5 #280

Closed rameauv closed 1 year ago

rameauv commented 1 year ago

Handle the case where the toolbar stats are loaded before the profile.

Since Anki 2.1.50, the "top_toolbar_did_init_links" hook is triggered before the profile is loaded, which raises an error because we need the profile to be loaded to be able to retrieve the stats.

https://github.com/kaegi/MorphMan/issues/262 https://github.com/kaegi/MorphMan/issues/273

Vilhelm-Ian commented 1 year ago

it seems like morphman is dead. I think you should overtake the project instead

landonepps commented 1 year ago

Tests were broken at the time this PR was made, but I ran them after rebasing onto master and everything passed.