GithubHelp home page GithubHelp logo

glutanimate / bettertags-public Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 0.0 361 KB

Temporary repository to host bug reports and documentation for the BetterTags Anki add-on

Home Page: https://www.patreon.com/glutanimate/posts?tag=BetterTags

bettertags-public's People

Contributors

glutanimate avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

bettertags-public's Issues

Won't let me delete tags

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:

  • I've restarted Anki to see if it helps
  • I've verified that I use the latest version of the add-on by redownloading it from AnkiWeb
  • I've verified that I use the latest version of Anki by checking at https://apps.ankiweb.net#download
  • 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.
  • 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:

Better Tags does not work with the new Anki 2.1.40

Problem description

*Open Anki 2.1.40 with Better Tags installed and all other add-ons disabled. Press "Browse". Anki throws an exception (a popup error screen) that says:

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 on the add-on support site.
Debug info:
Anki 2.1.40 (cf446733) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Windows 10
Flags: frz=True ao=True sv=1
Add-ons, last update check: 2021-02-19 09:18:08

Caught exception:
Traceback (most recent call last):
File "aqt\webview.py", line 35, in cmd
File "aqt\webview.py", line 124, in _onCmd
File "aqt\webview.py", line 569, in _onBridgeCmd
File "aqt\toolbar.py", line 170, in linkHandler
File "aqt\toolbar.py", line 188, in browseLinkHandler
File "aqt\main.py", line 1056, in onBrowse
File "aqt_init
.py", line 100, in open
File "C:\Users\squirejc\AppData\Roaming\Anki2\addons21\874215009\advancedbrowser\core.py", line 206, in init
origInit(self, mw)
File "", line 2, in init
File "anki\hooks.py", line 89, in decorator_wrapper
File "anki\hooks.py", line 80, in repl
File "aqt\browser.py", line 600, in init
File "", line 2, in setupSidebar
File "anki\hooks.py", line 89, in decorator_wrapper
File "anki\hooks.py", line 81, in repl
File "C:\Users\squirejc\AppData\Roaming\Anki2\addons21\bettertags\sidebar_init
.py", line 43, in onSetupSidebar
browser.sidebarTree._deferredInit()
AttributeError: 'NewSidebarTreeView' object has no attribute '_deferredInit'

Checklist

Please replace the space inside the brackets with an x if the following items apply:

  • I've restarted Anki to see if it helps
  • I've verified that I use the latest version of the add-on by redownloading it from AnkiWeb
  • I've verified that I use the latest version of Anki by checking at https://apps.ankiweb.net#download
  • 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.
  • 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:
2.1.40

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):

    
    Anki 2.1.40 (cf446733) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
    Platform: Windows 10
    Flags: frz=True ao=True sv=1
    Add-ons, last update check: 2021-02-19 09:18:08
    
    
    ===Add-ons (active)===
    (add-on provided name [Add-on folder, installed at, version, is config changed])
    BetterTags ['bettertags', 2020-04-28T11:40, 'None', '']
    Resize images in editor ['1103084694', 2020-08-02T09:04, 'None', mod]
    
    ===IDs of active AnkiWeb add-ons===
    1103084694
    
    ===Add-ons (inactive)===
    (add-on provided name [Add-on folder, installed at, version, is config changed])
    Advanced Browser ['874215009', 2020-11-08T06:03, 'None', '']
    Anki Simulator ['817108664', 2021-01-30T06:57, 'None', '']
    BetterSearch ['1052724801', 2020-10-25T16:49, 'None', '']
    Customize Sidebar ['1988760596', 2020-01-15T16:01, 'None', '']
    Fastbar- with nightmode support ['46611790', 2021-02-11T12:31, 'None', '']
    Frozen Fields ['516643804', 2020-02-29T23:12, 'None', '']
    Hierarchical Tags 2 ['594329229', 2020-04-11T12:36, 'None', '']
    Image Occlusion Enhanced for Anki 21 alpha ['1374772155', 2020-04-27T22:21, 'None', '']
    Review Heatmap ['review_heatmap', 2020-04-30T09:23, 'None', '']
    Search Everywhere - Ctrl+F Find ['search_everywhere', 2020-03-31T16:13, 'None', '']
    Special Fields ['1102281552', 2021-02-13T17:52, 'None', '']

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:

Version ⁨2.1.40 (cf446733)⁩
Python 3.8.6 Qt 5.14.2 PyQt 5.14.2

Please fill in details about your operating system (Windows/macOS/Linux, which version):

  • OS: Windows 10
  • version: latest

Please open Anki, go to Tools → Add-ons, take a screenshot of your installed add-ons, and paste it below:
image

Error message (if any)

If you've received an error message, please copy and paste it between the backticks below:

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 on the add-on support site.
Debug info:
Anki 2.1.40 (cf446733) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Windows 10
Flags: frz=True ao=True sv=1
Add-ons, last update check: 2021-02-19 09:18:08

Caught exception:
Traceback (most recent call last):
  File "aqt\webview.py", line 35, in cmd
  File "aqt\webview.py", line 124, in _onCmd
  File "aqt\webview.py", line 569, in _onBridgeCmd
  File "aqt\toolbar.py", line 170, in _linkHandler
  File "aqt\toolbar.py", line 188, in _browseLinkHandler
  File "aqt\main.py", line 1056, in onBrowse
  File "aqt\__init__.py", line 100, in open
  File "<decorator-gen-4>", line 2, in __init__
  File "anki\hooks.py", line 89, in decorator_wrapper
  File "anki\hooks.py", line 80, in repl
  File "aqt\browser.py", line 600, in __init__
  File "<decorator-gen-2>", line 2, in setupSidebar
  File "anki\hooks.py", line 89, in decorator_wrapper
  File "anki\hooks.py", line 81, in repl
  File "C:\Users\squirejc\AppData\Roaming\Anki2\addons21\bettertags\sidebar\__init__.py", line 43, in onSetupSidebar
    browser.sidebarTree._deferredInit()
AttributeError: 'NewSidebarTreeView' object has no attribute '_deferredInit'

Drag & drop of multiple tags divided by unselected tags resulting in freeze

Which add-on is affected?

BetterTag – current version from Patreon

Prerequisite checklist

  • In case of a bug: Have you tried restarting Anki?
  • Are you running the latest version of the add-on? Have you redownloaded the add-on from AnkiWeb to make sure?
  • Did you check the add-on description on AnkiWeb for known issues?
  • Did you perform a cursory search through existing issue reports?

What is the problem/feature you would like to see fixed/implemented?

drag multiple tags divided by unselected tags

How can we reproduce the problem?

  1. Open browser
  2. select several tags by Ctrl+leftclick
  3. make sure there re unselected tags between the selected tags
  4. drag the selected tags onto an unselected tag

Expected behavior: Selected tags will be subtags of the tag onto which you dragged them

Actual behavior: browser does not display notes and can only be closed by task manager, not alt+f4
Once, the rest of anki (I had the reviewer open) also freezed. The other times, I could access the main screen as well as review cards.

Reproducible?: yes

Version information

Anki

Version 2.1.15 (6661ba8a)
Qt 5.12.1 PyQt 5.11.3

System

  • Operating system: Windows
  • Version: 10

RuntimeError: wrapped C/C++ object of type SidebarTreeView has been deleted

Problem description

I was editing a new card (with some holdovers of a previously created card still in some fields), and pasted an URL from Selection (selected in the Web browser and clicked MMB) into one of the fields.
Then I switched to another workspace and when I came back there was an error message.
I had used the Browser before editing this card, but I don't remember if it was still open when the message appeared — now it wasn't.

Checklist

Please replace the space inside the brackets with an x if the following items apply:

  • I've restarted Anki to see if it helps
  • I've verified that I use the latest version of the add-on by redownloading it from AnkiWeb
  • I've verified that I use the latest version of Anki by checking at https://apps.ankiweb.net#download
  • [] 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.
  • 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

2.1.20

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):

    
    Anki 2.1.20 (47a1bf8b) Python 3.8.1 Qt 5.14.1 PyQt 5.14.1
    Platform: Linux
    Flags: frz=True ao=True sv=1
    Add-ons, last update check: 2020-02-28 03:25:19
    
    
    ===Add-ons (active)===
    (add-on provided name [Add-on folder, installed at, version, is config changed])
    '' ['cronholio', 0, 'None', '']
    '' ['main_fullscreen', 0, 'None', '']
    '' ['tagedit_subtag_completer', 0, 'None', '']
    3 add-ons merged quicker anki explain deletion explain database check ['777545149', 2020-02-07T05:40, 'None', '']
    Add Table ['1237621971', 2020-02-07T06:02, 'None', '']
    Add a tag to notes with missing media ['2027876532', 2020-02-11T00:14, 'None', '']
    BetterTags ['bettertags', 2020-01-28T23:30, 'None', mod]
    Bury related notes ['413416269', 2020-02-07T06:01, 'None', '']
    Button Colours Good Again ['2494384865', 2020-02-10T03:24, 'None', '']
    CSS classes around fields ['631147309', 2020-02-07T05:42, 'None', '']
    Cardistry Dynamically Adjust New Cards ['1535078906', 2020-02-16T10:58, 'None', '']
    Change cards decks prefix ['1262882834', 2020-02-07T05:31, 'None', '']
    Clean the default deck ['683170394', 2020-02-07T05:33, 'None', '']
    Copy notes ['1566928056', 2020-02-07T05:35, 'None', '']
    Correct Answers Graph ['993120073', 2020-02-07T01:30, 'None', '']
    Create Filtered Deck from the Browser ['861263371', 2017-11-05T13:55, 'None', '']
    Create subs2srs cards with mpv video player ['1213145732', 2020-02-07T05:07, 'None', '']
    DA KILL Z0NE - automatic suspension and burying for time-wasting cards ['1565222544', 2020-02-07T05:47, 'None', mod]
    Deck name in title 21 ['699175524', 2020-02-07T05:38, 'None', '']
    Duplicate Selected Notes ['2126361512', 2017-11-05T14:02, 'None', '']
    Ease Factor Histogram ['494944895', 2019-08-02T23:48, 'None', '']
    Enhance main window ['877182321', 2020-02-16T05:51, 'None', '']
    Ensure each note is unique correct a bug introduced by add-on copy note ['2082040683', 2020-02-07T05:37, 'None', '']
    Extended Card Stats During Review ['1008566916', 2017-11-05T13:50, 'None', '']
    Field History ['1247884413', 2020-02-07T05:40, 'None', '']
    High Yield Tags ['1918380616', 2020-02-14T11:45, 'None', '']
    If a note has no more card warns instead of deleting it ['2018640062', 2020-02-07T05:41, 'None', '']
    Increase autosave frequency ['786971082', 2020-02-07T05:27, 'None', '']
    Incremental Reading v4103 ['935264945', 2020-02-07T01:30, 'None', '']
    Learning Step and Review Interval Retention ['1949865265', 2020-01-12T03:33, 'None', '']
    Maximum image height and width in card editor ['229181581', 2020-02-20T11:10, 'None', '']
    MentalPause No bonus for being late ['1707633456', 2019-08-03T00:14, 'None', '']
    Multi-column note editor ['3491767031', 2020-02-07T01:30, 'None', mod]
    Pop-up Dictionary beta ['153625306', 2020-02-10T03:51, 'None', '']
    Pretzel Logic Retention Benchmarking ['1168065472', 2020-02-07T05:13, 'None', '']
    Preview any cloze number ['915063177', 2020-02-07T05:29, 'None', '']
    Progress Graphs and Stats for Learned and Matured Cards ['266436365', 2020-02-07T05:14, 'None', '']
    Push Paradox Sibling Cardistry ['1797395052', 2020-02-07T05:16, 'None', '']
    Quick note and deck change menus ['277081964', 2020-02-07T05:44, 'None', '']
    ReMemorize Ex Rated0Search ['1056004913', 2020-02-07T05:19, 'None', '']
    ReMemorize Rescheduler with sibling and logging v130 ['323586997', 2020-02-07T05:18, 'None', '']
    Reflect On Mee - Helps Alleviate RGS ['86140736', 2020-02-07T06:29, 'None', '']
    Separate Learn and Relearn in the Answer Buttons graph 21 ['403491806', 2020-02-07T05:26, 'None', '']
    Slackers Delight PostponeDefer Button ['880824023', 2020-02-26T22:09, 'None', '']
    Statistics for Note Types Card Types and Tags ['16703369', 2019-12-17T04:30, 'None', '']
    Syllabus - Anki Statistics and Export by Tag and Deck ['668156440', 2020-01-12T14:47, 'None', '']
    True Retention ['613684242', 2020-02-07T05:47, 'None', '']
    True Retention by Card Maturity ['923360400', 2017-11-05T13:51, 'None', '']
    Watch Foreign Language Movies with Anki ['939347702', 2020-02-22T13:44, 'None', '']
    bury future new sibs ['930365039', 2020-02-07T06:00, 'None', '']
    syntax highlighting FORK ['1972239816', 2020-02-07T05:25, 'None', '']
    
    ===IDs of active AnkiWeb add-ons===
    1008566916 1056004913 1168065472 1213145732 1237621971 1247884413 1262882834 1535078906 153625306 1565222544 1566928056 16703369 1707633456 1797395052 1918380616 1949865265 1972239816 2018640062 2027876532 2082040683 2126361512 229181581 2494384865 266436365 277081964 323586997 3491767031 403491806 413416269 494944895 613684242 631147309 668156440 683170394 699175524 777545149 786971082 861263371 86140736 877182321 880824023 915063177 923360400 930365039 935264945 939347702 993120073
    
    ===Add-ons (inactive)===
    (add-on provided name [Add-on folder, installed at, version, is config changed])
    Advanced Browser ['874215009', 2020-02-21T01:39, 'None', '']
    Fold Note Types in Sidebar ['1518136901', 2018-11-09T23:55, 'None', '']
    Frozen Fields ['516643804', 2020-02-22T00:11, 'None', '']
    Hierarchical Tags Addon 20  21 ['1835859645', 2018-11-13T14:49, 'None', '']
    Localize Media ['1293255374', 2018-11-26T14:27, 'None', '']
    Search and Replace Tags ['138501288', 2017-11-05T13:48, 'None', '']

Please fill in details about your operating system (Windows/macOS/Linux, which version):

  • OS: Debian GNU/Linux
  • version: 10.0.3 with some packages from testing.

Please open Anki, go to Tools → Add-ons, take a screenshot of your installed add-ons, and paste it below:

image

Error message (if any)

If you've received an error message, please copy and paste it between the backticks below:

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 on the add-ons section of our support site. 
Debug info:
Anki 2.1.20 (47a1bf8b) Python 3.8.1 Qt 5.14.1 PyQt 5.14.1
Platform: Linux
Flags: frz=True ao=True sv=1
Add-ons, last update check: 2020-02-28 03:25:19
Add-ons possibly involved: BetterTags

Caught exception:
Traceback (most recent call last):
  File "aqt/progress.py", line 73, in handler
  File "aqt/browser.py", line 1079, in deferredDisplay
  File "/home/fc/.local/share/Anki2/addons21/bettertags/sidebar/view.py", line 100, in setModel
    super().setModel(model)
RuntimeError: wrapped C/C++ object of type SidebarTreeView has been deleted

Add Note To Tag

Checklist

Please replace the space inside the brackets with an x if the following items apply:

  • [ x] I've verified that I use the latest version of the add-on by redownloading it from AnkiWeb
  • [x ] I've verified that I use the latest version of Anki by checking at https://apps.ankiweb.net#download
  • [ x] I've checked if anyone else suggested this feature before by looking through the issue reports.

Problem case

Suggesting feature to right-click and be able to add a note to the tag to feature info such as length of video time or date of completion or something.

Solution

Concisely describe the solution you would like

Concisely describe alternatives you've considered (if any)

More information

Additional context: Add any other context or screenshots about the feature request here.

BT version 1.0.2, "control + select" browser

Goal: Ability to make a filtered deck from multiple tags in browser window.

If you "shift + select" (i.e. sequential) multiple tags in a row, the browser will show "or" between each tag.

If you "control + select" (i.e. independent) multiple tags, the browser will not show "or" between each tag (no cards show up unless they are tagged with all of the selected tags).

Perhaps this could be remedied through def _customTagCanonify in tags.py?


Using "control + select":
image

image

Using "shift + select":
image

image

Can I create a filtered deck from hierarchical tags using BetterTags?

Checklist

Please replace the space inside the brackets with an x if the following items apply:

  • I've verified that I use the latest version of the add-on by redownloading it from AnkiWeb
  • I've verified that I use the latest version of Anki by checking at https://apps.ankiweb.net#download
  • I've checked if anyone else asked this question before by looking through the issue reports.

Your question

Hi there,

Apologies if the answer to this question is obvious or has been answered elsewhere. I did some searching around but couldn't find an answer, this seemed like it might be the best place to ask for searchability for others.

With BetterTags, can I create a filtered deck from hierarchical tags?

If I have tags Animals > Mammals and Animals > Reptiles and Animals > Birds (each with multiple levels beneath them), would I be able to create a filtered deck for Animals?

I am not currently a Patreon supporter but this feature would probably persuade me!

Thanks

Tag invisible in completer when Night Mode active

Which add-on is affected?

[tagedit_subtag_completer] Popup doesn't work with Night Mode

Prerequisite checklist

[ Please enter an [ x ] character to confirm the points below: ]

  • In case of a bug: Have you tried restarting Anki?
  • Are you running the latest version of the add-on? Have you redownloaded the add-on from AnkiWeb to make sure?

in fact, I does not downloaded this add-on from AnkiWeb because it is not available there. Instead, I used the source from GitHub

  • Did you check the add-on description on AnkiWeb for known issues?

I checked the discription in GitHub

  • Did you perform a cursory search through existing issue reports?

Yes, but the only one that was similar was not suficient to solve the problem

What is the problem/feature you would like to see fixed/implemented?

I can't use this excelente add-on in Night Mode. Night Mode is praticaly a need that i have, since my eyes are affected for bright screens

Here are some prints

How can we reproduce the problem?

Just enable night mode? (I guess)

  1. I download this add-on and when I was adding cards, with night mode enabled, the pop-up with suggested tags does not worked

Expected behavior: expected that works fine using Night Mode as in default view
Actual behavior: I linked this prints

Reproducible?: Yes, I asked a friend of mine. He tested in his computer (Windows 10), using either Night Mode and tagedit add-ons. same result..

Version information

Anki

Version 2.0.52
Qt 4.8.1 PyQt 4.9.1

System

  • Operating system: Linux Lubuntu, LXDE

  • Version: Ubuntu 18.04 LTS

I want to thank you for your effort in spend so much time developing so many add-ons, and freely share them!
PS: I'm still learning english, sorry if I wrote something wrong

Buttons turned pink

Problem description

Fields & Cards buttons are changed to a pink text.
image

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 verified that I use the latest version of Anki by checking at https://apps.ankiweb.net#download
  • 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.
Anki 2.1.19 (3c8690ae) Python 3.8.0 Qt 5.14.0 PyQt 5.13.2
Platform: Mac 10.15.2
Flags: frz=True ao=True sv=2

Add-ons:

Edit Field During Review (disabled)
Speed Focus Mode auto-alert auto-reveal auto-fail
Special Fields
Pretzel Logic Retention Benchmarking (disabled)
Image Occlusion Enhanced for Anki 21 alpha
Search and Replace Tags (disabled)
load balancer (disabled)
Symbols
Night Mode
Pop-up Dictionary beta
More Decks Stats and Time Left (disabled)
Hint Hotkeys
Study Logger (disabled)
Customize Sidebar
Load Balanced Scheduler
Card Info During Review
Customize Keyboard Shortcuts
Button Colours Good Again
ReMemorize Rescheduler with sibling and logging v121 (disabled)
Clickable Tags v10
Ankidown - The advanced importer for Anki (disabled)
Frozen Fields
Blitzkrieg II - Advanced Browser Sidebar BETA5 (disabled)
Pokemanki for both Anki 20 and 21 (disabled)
Syllabus - Anki Statistics and Export by Tag and Deck
More Overview Stats 21 (disabled)
Echelon - Improved Hierarchical Tags for Anki 21 (disabled)
Slackers Delight PostponeDefer Button (disabled)
Free_Weekend_Load_Balancer-master (disabled)
BetterTags
Cloze Overlapper
Review Heatmap

Sequential Pin to the Top doesn't work

Problem description

Please describe the issue concisely in here. In case of an error: Walk us through the steps you took to get there. What happened? What did you expect to happen?
If you have a hierarchy of tags. Say AK_Step1::SketchyMicro::Parasites. If you pin Sketchy Micro to the top, that works. However, if you then go on to pin Parasites to the top that doesn't work. It is bolded, but it retains its current position. If you then unpin SketchyMicro, only then does Parasites get shifted to the top. I'm using the latest beta version of Anki (2.1.24 Beta 8 on the Mac).

Here's a picture to show you:
image

If I go on to Unpin SketchyMicro, then you will see Parasites goes to the top.
image

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 verified that I use the latest version of Anki by checking at https://apps.ankiweb.net#download
  • [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):

    
    Anki 2.1.24 (683f664d) Python 3.8.0 Qt 5.13.1 PyQt 5.14.1
    Platform: Mac 10.15.4
    Flags: frz=True ao=True sv=1
    Add-ons, last update check: 2020-04-24 12:27:23
    
    
    ===Add-ons (active)===
    (add-on provided name [Add-on folder, installed at, version, is config changed])
    AMBOSS add-on ['0amboss_addon', 2020-04-03T10:36, 'None', '']
    BetterTags ['bettertags', 2020-01-28T14:30, 'None', '']
    Resize images in editor ['1103084694', 2020-04-23T09:57, 'None', mod]
    Right Hand Answer Shortcuts ['1816717670', 2020-03-14T13:45, 'None', '']
    load balancer ['1417170896', 2020-02-17T14:02, 'None', '']
    
    ===IDs of active AnkiWeb add-ons===
    1103084694 1417170896 1816717670
    
    ===Add-ons (inactive)===
    (add-on provided name [Add-on folder, installed at, version, is config changed])
    

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: Mac
  • version: 10.15.4

Please open Anki, go to Tools → Add-ons, take a screenshot of your installed add-ons, and paste it below:

image

Error message (if any)

If you've received an error message, please copy and paste it between the backticks below:

'SidebarItem' object has no attribute 'data' after deleting tag

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 on the add-ons section of our support site.
Debug info:
Anki 2.1.20 (47a1bf8b) Python 3.8.0 Qt 5.13.1 PyQt 5.14.1
Platform: Mac 10.15.3
Flags: frz=True ao=True sv=1
Add-ons, last update check: 2020-03-14 10:09:24
Add-ons possibly involved: BetterTags

Caught exception:
Traceback (most recent call last):
File "aqt/webview.py", line 368, in handler
File "aqt/editor.py", line 443, in
File "/Users/Jacob/Library/Application Support/Anki2/addons21/bettertags/helpers.py", line 86, in
sidebar.browser.editor.saveNow(lambda: callback(sidebar, *args, **kwargs))
File "/Users/Jacob/Library/Application Support/Anki2/addons21/bettertags/sidebar/view.py", line 419, in _deleteItems
select_after = "" if not neighbor else
neighbor.data
or ""
AttributeError: 'SidebarItem' object has no attribute 'data'

Custom tag order

By default tags are alphabetically ordered, and even though your addon allow to pin to the top or the bottom, i always had issues to organize my tags by chapters. In order to make them follow the book order i should have renamed them with 1- 2- 3- ecc. before the chapter name, but with bettertags this defeats the useful feature of auto-search when you type the subtag name. So i wanted to ask you if you would consider to add a custom order feature of something like that that allows to organize chapters with a custom order instead of an alphabetic one

Incompatibility with multi-column addon

Please, could you addon compatibility with multi-column addon? It works but it keeps creating errors everytime i rename a tag.

Anki 2.1.19 (3c8690ae) Python 3.8.0 Qt 5.14.0 PyQt 5.13.2
Platform: Windows 10
Flags: frz=True ao=True sv=1

Caught exception:
Traceback (most recent call last):
File "aqt\webview.py", line 28, in cmd
File "aqt\webview.py", line 94, in onCmd
File "aqt\webview.py", line 407, in onBridgeCmd
File "<C:\Program Files\Anki\decorator.pyc:decorator-gen-64>", line 2, in onBridgeCmd
File "lib\site-packages\anki\hooks.py", line 82, in decorator_wrapper
File "lib\site-packages\anki\hooks.py", line 76, in repl
File "C:\Users\pacia\AppData\Roaming\Anki2\addons21\3491767031_init
.py", line 216, in myOnBridgeCmd
count = getConfig(self,getKeyForContext(self), defaultValue=1)
File "C:\Users\pacia\AppData\Roaming\Anki2\addons21\3491767031_init
.py", line 158, in getKeyForContext
key = str(self.note.mid)
AttributeError: 'NoneType' object has no attribute 'mid'

Unable to drag/drop/rename tags on Anki 2.1.24+

Which add-on is affected?

[BetterTags] Unable to drag/drop/rename with tags

Prerequisite checklist

  • In case of a bug: Have you tried restarting Anki?
  • Are you running the latest version of the add-on? Have you redownloaded the add-on from AnkiWeb to make sure?
  • Did you check the add-on description on AnkiWeb for known issues?
  • [ ] Did you perform a cursory search through existing issue reports?

What is the problem/feature you would like to see fixed/implemented?

Tag functionality is no longer working. Nothing implemented, just amended as unable to change tag names, locations or hierarchy.

How can we reproduce the problem?

As far as I am aware by following the below steps.

Modifying tags.

  1. [ First step ]
    Replicated issue by dragging one tag into another - this produced the error.
  2. [ Second step ]
  3. [ and so on... ]

Expected behavior: [ What you expected to happen ]
I excepted to combine them and the "dragged tag" to become a subtag as per previous use with this addon.

Actual behavior: [ What actually happened ]
^^

Reproducible?: [ Can you reliably reproduce the issue by following the steps above? ]
Yes. I have done a number of times. Error report is always the same.

Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
Debug info:
Anki 2.1.28 (7d8818f8) Python 3.8.0 Qt 5.15.0 PyQt 5.15.0
Platform: Mac 10.15.6
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2020-07-27 19:20:48
Add-ons possibly involved: ⁨BetterTags⁩

Caught exception:
Traceback (most recent call last):
File "aqt/webview.py", line 482, in handler
File "aqt/editor.py", line 479, in
File "/Users/alex/Library/Application Support/Anki2/addons21/bettertags/helpers.py", line 86, in
sidebar.browser.editor.saveNow(lambda: callback(sidebar, *args, **kwargs))
File "/Users/alex/Library/Application Support/Anki2/addons21/bettertags/sidebar/view.py", line 482, in _repositionItems
result = self._tagReplacer.reposition(source_tag, target_tag)
File "/Users/alex/Library/Application Support/Anki2/addons21/bettertags/mediator.py", line 86, in reposition
count = findReplaceTags(self._col, request)
File "/Users/alex/Library/Application Support/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 224, in db_execute_many
File "anki/rsbackend.py", line 242, in _db_command
anki.rsbackend.StringError: JSONError { info: "invalid type: map, expected a sequence" }

Version information

Anki
Version 2.1.28 (7d8818f8)
Python 3.8.0 Qt 5.15.0 PyQt 5.15.0

System

  • Operating system: macOS
  • Version: Cataline 10.15.6

Has the functionality of this add-on been integrated into Anki?

Checklist

Please replace the space inside the brackets with an x if the following items apply:

  • I've verified that I use the latest version of the add-on by redownloading it from AnkiWeb
  • I've verified that I use the latest version of Anki by checking at https://apps.ankiweb.net#download
  • I've checked if anyone else asked this question before by looking through the issue reports.

Your question

Does this add-on offer more/other functionality than what has been integrated into Anki with version 2.1.41 and newer?

The major points (imo) like collapsible hierarchical tags in the sidebar, renaming of tags and search-and-replace for tags were integrated into Anki. Did I miss something? I also know that recent updates of Anki seem to have broken this add-on.

Description Incorrect

The repo description reads

Temporary repository to host bug reports and documentation for the AnJoy Anki add-on

I assume that is incorrect 😉

No tag suggestions with BetterTags

Problem description

BetterTags (1.0.3) causes me problems with the setting of keywords. When editing notes, no tag suggestions are made, regardless of the settings in the BetterTags options. Occasionally (!), after deactivating/activating (Enable tag completer modifications) and restarting, tag setting works briefly as expected. I use macOS (10.14.6).

Checklist

  • I've restarted Anki to see if it helps
  • I've verified that I use the latest version of the add-on by redownloading it from AnkiWeb
  • I've verified that I use the latest version of Anki by checking at https://apps.ankiweb.net#download
  • [i] 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.
  • 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.
If you are using Anki 2.1
Anki 2.1.23 (de9543ff) Python 3.8.0 Qt 5.13.1 PyQt 5.14.1
Platform: Mac 10.14.6
Flags: frz=True ao=True sv=1
Add-ons, last update check: 2020-03-20 16:39:15


===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
Add Table ['1237621971', 2020-01-07T23:31, 'None', mod]
Advanced Browser ['874215009', 2020-02-20T23:39, 'None', '']
Auto Markdown ['1030875226', 2019-09-13T21:21, 'None', '']
BetterTags ['bettertags', 2020-01-28T21:30, 'None', mod]
Cloze Overlapper ['cloze_overlapper', 2019-02-01T13:37, 'None', '']
Ignore accents in browser search ['1924690148', 2019-09-23T22:02, 'None', '']
Image Occlusion Enhanced for Anki 21 alpha ['1374772155', 2019-09-20T23:35, 'None', '']
Mini Format Pack ['295889520', 2019-09-26T18:02, 'None', '']
Progress Graphs and Stats for Learned and Matured Cards ['266436365', 2019-09-21T21:55, 'None', '']
Review Heatmap ['review_heatmap', 2018-10-28T23:06, 'None', '']

===IDs of active AnkiWeb add-ons===
1030875226 1237621971 1374772155 1924690148 266436365 295889520 874215009

===Add-ons (inactive)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
Automatic Basic to Cloze ['2105427255', 2019-09-20T23:34, 'None', '']
Batch Editing ['291119185', 2019-09-12T21:37, 'None', '']
Customize Sidebar ['1988760596', 2020-01-15T22:01, 'None', mod]
Enhance main window ['877182321', 2020-02-16T03:51, 'None', '']
Incremental Reading v4103 ['935264945', 2019-09-17T23:40, 'None', '']
PDF Glossary Exporter ['pdf_glossary', 2019-08-19T14:35, 'None', '']
Pop-up Dictionary beta ['153625306', 2019-09-25T22:52, 'None', '']
Resize images in editor ['1103084694', 2020-03-20T09:03, 'None', mod]
Search and Replace Tags ['138501288', 2019-09-12T12:35, 'None', '']
True Retention ['613684242', 2019-09-12T00:00, 'None', '']

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.