Closed eungyeo closed 3 years ago
Hi eungyeo,
Thanks for the report!
Unfortunately judging by the error messages, none of them seem to be related to Speed Focus Mode. Error 1 is produced by clickable tags with no interaction of SFM, and error 2 seems to be an Anki bug. Errors like these can occur intermittently (i.e. every now and then), and so it can be easy to misattribute them to a recent change (or to attribute their disappearance to disabling a particular add-on for one session, even though it might just be that that session happened to be "error-free" anyway).
To conclusively determine whether this is influenced in any way by SFM's presence, please disable SFM for a few days and see if the errors come up again.
Even then, judging by the error messages alone, it would be incredibly unlikely for SFM to have any role in this. Both of the errors pertain to areas of Anki that SFM does not interact with (the card browser and the media synchronization module).
As suggested, I disabled SFM and had no errors, but I reactivated it again today and received the same error messages.
I'm pretty mystified why I'm receiving these errors since like you said it seems to be in an area far removed from SFM, but in any case disabling the add-on resolves the issue for me.
I am also seeing error 2 only occurring when SFM is enabled. It seems to be caused by line 333 of config.py (the error disappears when I remove this line):
aqt.DialogManager.open = wrap(aqt.DialogManager.open, onDialogOpened, "after")
It also only occurs when 'Automatically sync on profile open/close' is enabled (this is when the sync dialog pops up)
@giovannihenriksen thanks for chiming in! That was very helpful info as my test systems do not have sync set up (for obvious reasons).
Might be some kind of race condition then (with SFM's monkey patch delaying things and thus potentially triggering a bug in Anki).
Let's move all discussion in relation to the issue when closing Anki to #28, as that report is more focused on that.
@eungyeo as for issue 1: have you been able to confirm whether this happens regardless of SFM? It's really unlikely that this is caused by SFM and my hunch would be that it's an issue in Clickable Tags.
Hello, I did not use SFM for several weeks and did not encounter any issues during that time. I reinstalled SFM today and received the same error.
Interestingly enough, I did not get any error messages from the SFM on ankiweb. It seems to be only with the 0.4.0-beta.1 version posted here on github.
Unfortunately, I have changed several add-ons since my first posting, so my results may not be a very good comparison.
I can confirm I've encountered the same issue with SFM, both with clickable tags and Review Heatmap.
Same here with issues with the beta SFM with clickable tags and Review Heatmap
Thanks a bunch for the reports, guys! This should now be fixed in the main
branch and find its way into the next release (which will go live on 09/09 on Patreon and be posted to AnkiWeb later this fall.
Problem description
Two errors:
I had error #1 for a while but #2 error was recent. I disabled each add-on one by one and disabling the Speed Focus Mode add-on removed both errors. Also by re-activating the add-on both errors came back.
I had this error both with Anki 2.1.22 and now with the updated Anki 2.1.25
Checklist
Please replace the space inside the brackets with an x if the following items apply:
Information about your Anki set-up
Please fill out the section corresponding with your Anki version:
If you are using Anki 2.1
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):
If you are using Anki 2.0
Please open Anki, go to Help → About, find the two lines starting with
Version:
andQt
, and copy-paste them between the backticks below:Please fill in details about your operating system (Windows/macOS/Linux, which version):
Please open Anki, go to Tools → Add-ons, take a screenshot of your installed add-ons, and paste it below:
Error message (if any)
If you've received an error message, please copy and paste it between the backticks below:
Error 1: (clickable tags)
Error 2: (error on Anki quit)