Anki 2.1.50 Beta 6+ / Release Candidate

Hi all,

Beta 6 is now available:

https://betas.ankiweb.net/anki2.1.50.html#beta-6

For people new to the betas, here’s a summary of all changes since 2.1.49:

https://betas.ankiweb.net/anki2.1.50.html#since-2149

Further API changes are unlikely at this point, and a stable release is tentatively penciled in for about a month from today. If you run into any bugs, please let us know, and if you’re an add-on author that would like to support 2.1.50, now would be a good time to make any necessary changes.

Previous thread: Anki 2.1.50 Beta 3-5

10 Likes

As a result of testing, beta6 works well in most cases.

One bug we found is a bug in the browser.

Specifically, when you click the page down button to check many cards with images in the browser, the images momentarily flicker. (Cards with text only work fine)

This appears to be a flickering phenomenon that occurs in the process of changing the image from its original size to a smaller size.

This appears to be an issue that needs to be addressed.

Please test it out and let me know if you have any further questions.

thank you.

I had the recurrence of some bugs with this version that weren’t on beta 5, were there some changes backwards?

Also, when inserting a very large tag (type the tag, then tab) it will shift the entire add screen over as shown below

We’re already working on a fix: Fix outstanding tag editor issues by hgiesel · Pull Request #1717 · ankitects/anki · GitHub

1 Like

Can you bring back the preview option in the browser?

There is a preview option in the browser. You might have an add-on installed that intereferes with it?

1 Like

Yup. I noticed that the customized keyboard shortcuts plugin is causing this. Thanks for helping.

There is one feature that I would like to suggest in version 2.1.50.

That’s just adding a notification window that shows which button was pressed.

Many people want to visually check that they pressed the button correctly, but they can’t see it unless they install an add-on.

When you click on the answer, I think the notification window that shows whether you have correctly chosen the answer you want is a feature that should be entered by default.

The reply button notification should work as a basic function, not an additional function.

I think it’s not too hard to add this feature, can you please add my suggestion?

Thank you always.

At first sight it looks to me like the editor_did_init_buttons hook is not working ,i’m not seeing the button i’m expecting to see in AwesomeTTS. Is this hook supposed to work correctly in this beta ?

Ankiconnect is not working on these versions.
I tried to create a deck (example tutorial code) and it didn’t work.

Yes. It might however be that another (maybe unrelated) error in the editor web view prevents it from loading.

1 Like

Error: Exception: ‘NoneType’ object has no attribute ‘write’

@hengiesel correct, if I disable all other addons, I see the button created using the editor_did_init_buttons hook.

In the German localisation, the view menu and its entries are not translated.

Also the following strings:

  • Ignore accents in search (slower)
  • Anki periodically backs up your collection when it is closed. After backups are more than 2 days old, Anki will start removing some of them to free up disk space.
  • Daily backups to keep:
  • Weekly backups to keep:
  • Monthly backups to keep:
  • Select formatting to remove
  • Text highlight color
  • Text color (F7)

Where can I help regarding the localisation?

1 Like

Please see https://translating.ankiweb.net/.

2 Likes

Bug report: Beta 6 QT5 version does not work on Manjaro Linux KDE (Latest Stable version).

The main window looks “empty”. Also the “About” window does not appear. However, the “Preferences” window does appear.

The bug happens without any add-ons.



Debug info:

Anki 2.1.50 (3564ece6) Python 3.9.10 Qt 5.15.2 PyQt 5.15.5
Platform: Linux
Flags: frz=True ao=False sv=3
Add-ons, last update check: 2022-03-12 23:49:24

===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])


===IDs of active AnkiWeb add-ons===


===Add-ons (inactive)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
Anki Simulator ['817108664', 2021-08-07T15:24, 'None', '']
Edit Field During Review ['1020366288', 2020-10-07T08:22, 'None', '']
Fast Word Query Multi-threaded queries for words from local or web dictionaries ['1807206748', 2019-06-22T23:10, 'None', '']
More Decks Stats and Time Left ['1556734708', 2021-01-27T05:09, 'None', '']
Review Hotmouse ['1928346827', 2022-01-30T05:07, '2.5', mod]

On the other hand, the Beta 6 QT6 version seems to work well on Manjaro KDE. However, I found a bug that makes Anki unresponsive and CPU usage grows from 15% until 100%.

The bug happens after using the add-on :
1807206748 “Fast Word Query Multi-threaded…”

The add-on works perfectly with a German note type but if I run it with another type of Card, the bug appears and anki freezes.

A screnshoot of “Stacer” showing the CPU at 100% after Anki became unresponsive:

Debug info:

Anki 2.1.50 (742e4a5c) Python 3.9.10 Qt 6.2.2 PyQt 6.2.2
Platform: Linux
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2022-03-12 23:49:24

===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
Anki Simulator ['817108664', 2021-08-07T15:24, 'None', '']
Fast Word Query Multi-threaded queries for words from local or web dictionaries ['1807206748', 2019-06-22T23:10, 'None', '']
More Decks Stats and Time Left ['1556734708', 2021-01-27T05:09, 'None', '']
Review Hotmouse ['1928346827', 2022-01-30T05:07, '2.5', mod]

===IDs of active AnkiWeb add-ons===
1556734708 1807206748 1928346827 817108664

===Add-ons (inactive)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
Edit Field During Review ['1020366288', 2020-10-07T08:22, 'None', '']

https://docs.ankiweb.net/platform/linux/blank-window.html

2 Likes

i’m seeing issues with editor.addMedia. AwesomeTTS calls that: awesometts-anki-addon/generator.py at 20220312_anki_2150 · AwesomeTTS/awesometts-anki-addon · GitHub
and it results in the following error on the console:

JS error /_anki/js/browser_editor.js:64 Uncaught TypeError: T is not a function

On Manjaro KDE (Latest Stable) the QT6 version freezes when I open the “browser”, select few notes and try to change them to a different Deck (“Change Deck” Ctrl + D)

Anyone else having that bug with the Beta 6 version ?

Anki becomes unresponsive, CPU usage increases to “133” % and RAM usage also increases to 3 GiB.

The issue happens without any active add-ons but does not always occurs. If someone else can reproduce, please report.

@lucw thanks for letting us know, I’ve posted it on addMedia() has broken · Issue #1720 · ankitects/anki · GitHub

@marreromarco I tried a few times to reproduce it, but was not able to. To confirm, it appears as soon as the dialog pops up?