Closed okBryan closed 2 years ago
Hey Bryan, thanks for the report! The latest development build should contain a workaround for this. Would appreciate it if you gave it a try and let me know if it works for you.
This particular fix will land in v1.0.1, but more fixes for multi-profile handling are also on their way. You can the track progress on that in #159, in case you stumble on more issues when switching between profiles (which could very well be the case with v1.0.0 and v1.0.1).
Works great, thanks.
Opened my profile again today and this came up:
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 to the add-on author. Debug info: Anki 2.1.52 (ab1c2395) Python 3.9.7 Qt 6.3.0 PyQt 6.3.0 Platform: Windows 10 Flags: frz=True ao=True sv=3 Add-ons, last update check: 2022-05-25 08:41:45
Traceback (most recent call last): File "aqt.main", line 573, in loadCollection File "aqt.main", line 672, in moveToState File "aqt.main", line 678, in _deckBrowserState File "aqt.deckbrowser", line 69, in show File "aqt.deckbrowser", line 144, in _renderPage File "aqt.deckbrowser", line 153, in __renderPage File "aqt.hooks_gen", line 1444, in call File "C:\Users\Bryan\AppData\Roaming\Anki2\addons21\review_heatmap\views.py", line 81, in on_deckbrowser_will_render_content heatmap_html = self._controller.render_for_view(self._view) File "C:\Users\Bryan\AppData\Roaming\Anki2\addons21\review_heatmap\controller.py", line 77, in render_for_view return self._renderer.render(view, limhist, limfcst, current_deck_only) File "C:\Users\Bryan\AppData\Roaming\Anki2\addons21\review_heatmap\renderer.py", line 152, in render report = self._reporter.get_report( File "C:\Users\Bryan\AppData\Roaming\Anki2\addons21\review_heatmap\activity.py", line 134, in get_report history = self._cards_done( File "C:\Users\Bryan\AppData\Roaming\Anki2\addons21\review_heatmap\activity.py", line 487, in _cards_done deck_limit = self._revlog_limit(current_deck_only) File "C:\Users\Bryan\AppData\Roaming\Anki2\addons21\review_heatmap\activity.py", line 381, in _revlog_limit dids = self._valid_decks(excluded_dids) File "C:\Users\Bryan\AppData\Roaming\Anki2\addons21\review_heatmap\activity.py", line 358, in _valid_decks children = [d[1] for d in self._col.decks.children(did)] File "anki.decks", line 460, in children File "anki.decks", line 453, in deck_and_child_name_ids File "anki._backend.generated", line 454, in get_deck_and_child_names File "anki._backend", line 146, in _run_command anki.errors.NotFoundError
I get the error below when opening up my Japanese profile but not my medical profile. The add-on does not show after this. When I open the medical profile again, it works.
Checklist
Please replace the space inside the brackets with an x if the following items apply:
Information about your Anki set-up
Please open Anki, go to Help → About, click on "Copy Debug Info", and paste the result between the backticks below (if the button does not appear you are using an older version of Anki 2.1 and will need to update first):
Error message (if any)