Starting about a month ago, whenever I try to delete a tag I get an error message from Anki (copied below) and the tag is not deleted. Everything else in Anki continues to work normally, but I can't delete any tags. I've tried uninstalling and reinstalling Anki. I've tried deactivating every other add-on, and I've also tried deactivating Bettertags, downloading heirarchical tags and using that add on instead, but I get the same error message. I'm using Anki Version 2.1.35 (84dcaa86) on Windows 10
Thanks in advance for any help!
Debug info:
Anki 2.1.35 (84dcaa86) Python 3.8.0 Qt 5.14.2 PyQt 5.14.2
Platform: Windows 10
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2021-01-19 11:33:53
Caught exception:
Traceback (most recent call last):
File "aqt\webview.py", line 493, in handler
File "aqt\editor.py", line 483, in
File "C:\Users\urrut\AppData\Roaming\Anki2\addons21\1709973686\main.py", line 87, in newCallback
callback()
File "C:\Users\urrut\AppData\Roaming\Anki2\addons21\bettertags\helpers.py", line 86, in
sidebar.browser.editor.saveNow(lambda: callback(sidebar, *args, **kwargs))
File "C:\Users\urrut\AppData\Roaming\Anki2\addons21\bettertags\sidebar\view.py", line 428, in _deleteItems
self._tagReplacer.delete(tag, is_hierarchy)
File "C:\Users\urrut\AppData\Roaming\Anki2\addons21\bettertags\mediator.py", line 195, in delete
count = findReplaceTags(self._col, request)
File "C:\Users\urrut\AppData\Roaming\Anki2\addons21\bettertags\tags.py", line 151, in findReplaceTags
col.db.executemany(
File "anki\dbproxy.py", line 93, in executemany
File "anki\rsbackend.py", line 226, in db_execute_many
File "anki\rsbackend.py", line 244, in _db_command
anki.rsbackend.StringError: JSONError { info: "invalid type: map, expected a sequence" }
Checklist
Please replace the space inside the brackets with an x if the following items apply:
[x] I've restarted Anki to see if it helps
[x] I've verified that I use the latest version of the add-on by redownloading it from AnkiWeb
[x] I've tried to disable other add-ons to see if there are any interactions present
[ ] My issue disappears when I hold shift while starting Anki.
[x] I've checked if anyone else reported this problem before by looking through the issue reports. I also checked to see if there is a section about known issues in the add-on description, documentation, or README.
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: and Qt, and copy-paste them between the backticks below:
Please fill in details about your operating system (Windows/macOS/Linux, which version):
OS:
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:
Starting about a month ago, whenever I try to delete a tag I get an error message from Anki (copied below) and the tag is not deleted. Everything else in Anki continues to work normally, but I can't delete any tags. I've tried uninstalling and reinstalling Anki. I've tried deactivating every other add-on, and I've also tried deactivating Bettertags, downloading heirarchical tags and using that add on instead, but I get the same error message. I'm using Anki Version 2.1.35 (84dcaa86) on Windows 10
Thanks in advance for any help!
Debug info: Anki 2.1.35 (84dcaa86) Python 3.8.0 Qt 5.14.2 PyQt 5.14.2 Platform: Windows 10 Flags: frz=True ao=True sv=2 Add-ons, last update check: 2021-01-19 11:33:53
Caught exception: Traceback (most recent call last): File "aqt\webview.py", line 493, in handler File "aqt\editor.py", line 483, in
File "C:\Users\urrut\AppData\Roaming\Anki2\addons21\1709973686\main.py", line 87, in newCallback
callback()
File "C:\Users\urrut\AppData\Roaming\Anki2\addons21\bettertags\helpers.py", line 86, in
sidebar.browser.editor.saveNow(lambda: callback(sidebar, *args, **kwargs))
File "C:\Users\urrut\AppData\Roaming\Anki2\addons21\bettertags\sidebar\view.py", line 428, in _deleteItems
self._tagReplacer.delete(tag, is_hierarchy)
File "C:\Users\urrut\AppData\Roaming\Anki2\addons21\bettertags\mediator.py", line 195, in delete
count = findReplaceTags(self._col, request)
File "C:\Users\urrut\AppData\Roaming\Anki2\addons21\bettertags\tags.py", line 151, in findReplaceTags
col.db.executemany(
File "anki\dbproxy.py", line 93, in executemany
File "anki\rsbackend.py", line 226, in db_execute_many
File "anki\rsbackend.py", line 244, in _db_command
anki.rsbackend.StringError: JSONError { info: "invalid type: map, expected a sequence" }
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: