If you have a problem with this add-on post in this thread. This way I get notified. If you make a new thread I will likely miss it.
Hi there!
There is a huge lag in pulling up the search box, is there a particular reason for this? Do I have too many add-ons? Any help appreciated thank you!!
I donât have this problem and have never heard of it before. But maybe youâre the first one to report it? So I need your help.
Since when do you have this problem: Always or only after the latest update?
Could you try again without any other add-ons in the latest version (Anki 2.1.26)? Is it still slow?
Is it slow for tags, notes, decks, cards, fields, etc. or only for one such dialog?
Itâs important to test with the latest Anki version.
To keep your current set of add-ons: I would close Anki, then rename your addons21 folder, then restart Anki (which creates an empty addons21 folder) and then install my add-on, then restart. Is it faster now?
To find your addon folder: https://docs.ankiweb.net/#/files?id=file-locations
Hi, I noticed you updated the add-on today to require Anki 2.1.28. I am on 2.1.26, so the add-on does not work, and I find it very useful for my workflow. Version 2.1.28 is still a beta version, so are we required to use the beta to use your add-on? Can you keep the older version available until Anki 2.1.28 is officially released? Thanks!
@sd23: Thanks for this info. I wanted to offer to two different version but by accident I removed the old version. Iâve re-uploaded the regular one. If it still doesnât work for you let me know.
Thanks!
Hi, when I try to change â-Modify Search Barâ to âmultilineâ I get the following error message:
Invalid configuration: JSONDecodeError(âExpecting value:line 3 column 27 (char79)â)
Iâve tried disabling all my other add ons to see if there was conflict, but I havenât been successful. Do you have any advice on how to fix this?
Thanks!
This sounds like an error in your configuration file. I guess you get this message when you try to close the config window?
Have a look at the line 3 of your config file and check it again.
The top of the config should look like this:
{
"-Add Button to the Browser Search Bar": true,
"-Modify Search Bar": "multiline",
"-Multiline bar Auto Search on space": true,
Background:
When you adjust the config for an add-on in this extra window you actually edit a so-called âjsonâ file. This means you must strictly adhere to the json rules or you will get such weird error messages.
Itâs not ideal. But but better than no option to config add-ons or forcing add-on creators to invest much time into writing nice dialog with buttons which would mean that I wouldnât invest any time into offering config options.
The json format is actually pretty simple. Maybe google âjson file syntaxâ for a short introduction which will help will all add-ons in the future. There are also websites where you can paste your json code which highlight invalid parts which makes it easier to fix it
Also see e.g. here.
If it doesnât work for you: Post your whole config here. Make sure that you format the config on this page as âPreformatted text (Ctrl+Shift+C)â from the top icon bar of the box where you write your text on this page.
Good day! I tried to watch all AnKing Videos. and one of those is your add on. at first I was able to use the Date added. But when things mixed up. I canât use the date added, date rated, and date edited. Some of the features still be used. I deleted all add ons and reinstalled only the addon. but still the same.
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.33 (3f403040) Python 3.8.0 Qt 5.14.1 PyQt 5.14.1
Platform: Windows 10
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2020-09-11 19:55:24
Caught exception:
Traceback (most recent call last):
File âanki\config.pyâ, line 35, in get_immutable
File âanki\rsbackend_gen.pyâ, line 570, in get_config_json
File âanki\rsbackend.pyâ, line 265, in _run_command
anki.rsbackend.NotFoundError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File âC:\Users\Admin\AppData\Roaming\Anki2\addons21\1052724801\dialog__multi_line.pyâ, line 161, in
self.form.pb_date_rated.clicked.connect(lambda _, a=dr: self.onButton(a))
File âC:\Users\Admin\AppData\Roaming\Anki2\addons21\1052724801\dialog__multi_line.pyâ, line 166, in onButton
button_helper(self.form.pte, self.browser, self.mw, self.col, arg, remove_on_cancel)
File âC:\Users\Admin\AppData\Roaming\Anki2\addons21\1052724801\button_helper.pyâ, line 12, in button_helper
_button_helper(pte, parent, mw, col, arg, remove_on_cancel)
File âC:\Users\Admin\AppData\Roaming\Anki2\addons21\1052724801\button_helper.pyâ, line 43, in _button_helper
text_change_helper(pte, parent, mw, col, before=all_text, before_pos=pos)
File âC:\Users\Admin\AppData\Roaming\Anki2\addons21\1052724801\button_helper.pyâ, line 49, in text_change_helper
out = onSearchEditTextChange(
File âC:\Users\Admin\AppData\Roaming\Anki2\addons21\1052724801\onTextChange.pyâ, line 103, in onSearchEditTextChange
return range_dialog(parent, term, before, after, length, func_settext)
File âC:\Users\Admin\AppData\Roaming\Anki2\addons21\1052724801\onTextChange.pyâ, line 26, in range_dialog
d = DateRangeDialog(parent, term)
File âC:\Users\Admin\AppData\Roaming\Anki2\addons21\1052724801\dialog__date.pyâ, line 66, in init
self.today_in_dt = today_as_datetime_adjusted_for_next_day_starts_at()
File âC:\Users\Admin\AppData\Roaming\Anki2\addons21\1052724801\dialog__date.pyâ, line 28, in today_as_datetime_adjusted_for_next_day_starts_at
dayOffset = mw.col.conf[ârolloverâ] # by default 4
File âanki\config.pyâ, line 49, in getitem
File âanki\config.pyâ, line 37, in get_immutable
KeyError
@micsibulo: Thanks for this report. Could you update your add-ons and try again. I have just uploaded a new version to Ankiweb that should fix this problem. If you still run into this problem or another problem let me know.
Wow! Works perfectly now! How can I thank you???
Thank you for your generosity and sharing your expertise. I am studying for USMLE thank you big help!
I meet this question too
Put a double quotes around down >> âdownâ
Just a heads up, looks like 2.1.39beta1 changes the filter button and sidebar stuff and some of the BetterSearch buttons donât do anything now
Thanks for notifying me. Iâll update the listing once 2.1.39 is closer to release (in case there are more changes to the recently chagned sidebar and searching code).
And I really hope that today will be a good day for you and your family.
Looks like 2.1.41beta2 has similar changes. Damien said he doesnât expect that much of a change from this point. It seems the tag and deck searching functions are no longer needed, but I think the searching functions will still be useful
I just uploaded a new version of BetterSearch that should work with 2.1.41. Itâs not much tested and I split up a big file into smaller ones which can always introduce some problems. If you find any please let me know.
Seems to work well now. When pulling up the dialog with the shortcut, the deck, tag and card state buttons no longer work but everything else seems to work fine
@ijgnd suggestion for 2.1.41+ would be to add a button on the fastbar add-on for this? Just if youâre bored or have free time
Hi,
Just want to report this peerless search addon doesnt work under Version â¨2.1.44 (b2b3275f)âŠ.
Any solusions?
Kind regards,
Louis