Anki 2.1.55 Beta 1-2

Hey, thanks for reporting. This is a known issue - the fix should come with PR #2070.


Other reports:

2 Likes

I’ve had this error popup twice now doing my reviews (using just the spacebar). Seems to be a problem with the Straight Reward addon, didn’t happen to me on the previous stable version.

Anki 2.1.55 (e14f87ba) Python 3.9.10 Qt 6.4.0 PyQt 6.4.0
Platform: Linux-5.18.18-200.fc36.x86_64-x86_64-with-glibc2.35
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2022-10-13 08:51:41
Possibly involved addons: ⁨Straight Reward⁩

Caught exception:
Traceback (most recent call last):
File “aqt.webview”, line 555, in handler
File “aqt.reviewer”, line 532, in _onAnswerButton
File “aqt.reviewer”, line 431, in _answerCard
File “aqt.hooks_gen”, line 3807, in call
File “/home/XXX/.local/share/Anki2/addons21/957961234/src/lib/review_hook.py”, line 101, in
lambda ease_tuple, reviewer, card: on_will_answer_card(
File “/home/XXX/.local/share/Anki2/addons21/957961234/src/lib/review_hook.py”, line 85, in on_will_answer_card
check_straight_reward(gains, reviewer, card, ease_tuple[1])
File “/home/XXX/.local/share/Anki2/addons21/957961234/src/lib/review_hook.py”, line 64, in check_straight_reward
next_states = reviewer.get_next_states()
AttributeError: ‘Reviewer’ object has no attribute ‘get_next_states’

Anki 2.1.55 qt6 beta2 Windows 10, no add-ons active.

  • Deck browser (light mode only): marked cards are not distinguished by a different color.

  • Editor: the "Cloze deletion can only be used in fields which use the 'cloze:' filter. This is typically the first field." pop-up does not trigger/is not displayed unless the first field also contains a cloze deletion (it does not matter if such field uses a ‘cloze:’ filter or not).
    E.g.


1 Like

Problem

Cannot paste a picture into a field inside either the Add or Browser screens

Get this error

Error
An error occurred. Please use Tools > Check Database to see if that fixes the problem.
If problems persist, please report the problem on our support site. Please copy and paste the information below into your report.
Anki 2.1.55 (e14f87ba) Python 3.9.7 Qt 6.4.0 PyQt 6.4.0
Platform: macOS-12.3.1-arm64-arm-64bit
Flags: frz=True ao=False sv=3
Add-ons, last update check: 2022-10-14 01:27:55

Caught exception:
Traceback (most recent call last):
  File "aqt.webview", line 43, in cmd
  File "aqt.webview", line 150, in _onCmd
  File "aqt.webview", line 611, in _onBridgeCmd
  File "aqt.editor", line 469, in onBridgeCmd
  File "aqt.editor", line 972, in onPaste
  File "aqt.editor", line 1262, in onPaste
  File "aqt.editor", line 1259, in _onPaste
  File "aqt.editor", line 952, in doPaste
  File "aqt.editor", line 946, in _pastePreFilter
  File "aqt.editor", line 830, in inlinedImageToFilename
  File "base64", line 86, in b64decode
binascii.Error: Non-base64 digit found

Can you confirm the black background for various items presented in this issue? If yes, I kindly ask you to post your Desktop Environment.

I’d expect items of the browser sidebar and suggestions of the search bar, as well as list items like in the “Manage Notetypes” screen to be affected on your beta build.

Yes the issue affects “Manage Notetypes”, the search bar list in Browser and the sidebar

I am currently in Manjaro Linux KDE 5.26, using the Breeze Twilight Theme


1 Like

In MacOS with an M1 on Anki 2.1.55 beta 2, I experience constant flickering/flashing when in the card browser or card editor (no addons, default card notetype) and while studying a card and when the answer timer is enabled and visible. The flickering can be described as follows: for a split second the text and ui elements briefly disappear (i.e., the only thing you can see is the background), and then they come back into focus again.

Steps to reproduce:

  1. Create a deck in which the “show answer timer” option is enabled.
  2. Add any card
  3. Go into study mode.
  4. While studying a card, make sure the timer is visible*, then edit the card, or go into the card browser.
  5. Move the cursor position and observe flickering.

*as a side note, it seems now when the window is too small the show answer timer is hidden?? I can’t remember if this was always the case with previous versions of Anki).

This might seem kind of like a niche situation to run into but I’m often editing my cards while studying them or looking up other cards.

2 Likes

I had the same problem, when I enter the edit screen, it flashing constantly. When I switch to the 2.1.55 beta1, it works back to normal

In 2.1.55 beta 2 without addons I noticed in Windows and linux a problem with the browser search bar when in night mode: Then selected text is not highlighted in a different color.

Can you implement a way to easily see the cards that are missing these media? like when searching for duplicates ?
I can find these cards if I search by pic name in the Browse Window but I wonder if there is a simpler way.

the arrow of list is shown on a wrong place

this are the debug infos

Anki 2.1.55 (e14f87ba) Python 3.9.10 Qt 5.15.2 PyQt 5.15.5
Platform: Linux-5.15.0-48-generic-x86_64-with-glibc2.35
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2022-10-15 14:25:52


===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
'' ['cloze-overlapper', 0, 'None', '']
Add Table ['1237621971', 2022-04-12T16:21, 'None', mod]
Advanced Browser ['874215009', 2022-09-27T01:28, 'None', '']
Anki Simulator ['817108664', 2021-08-07T20:24, 'None', '']
AnkiConnect ['2055492159', 2022-09-19T01:11, 'None', mod]
Asset Manager ['656021484', 2021-08-29T22:07, 'None', '']
Batch Editing ['291119185', 2019-06-02T19:47, 'None', '']
Browser TableEditor side-by-side horizontal split ['831846358', 2022-01-25T23:11, 'None', '']
Collapsible Fields ['1896168623', 2021-08-28T22:45, 'None', '']
Countdown To Events and Exams ['1143540799', 2022-06-27T12:50, 'None', '']
Fastbar- with nightmode support ['46611790', 2022-04-15T04:04, 'None', '']
Frozen Fields ['516643804', 2020-03-01T05:12, 'None', '']
Image Carousels step through images that belong together ['1467205853', 2020-11-03T07:56, 'None', '']
Image Editor ['307397307', 2022-09-08T05:09, 'None', mod]
Image Occlusion Enhanced ['image_occlusion_enhanced', 2022-04-09T07:30, 'None', '']
Mindmap from tag hierarchy ['965278890', 2022-04-03T13:26, 'None', '']
OpenInExternalEditorRenameDuplicate for ImageAudioVideo ['1560623518', 2022-09-18T00:03, 'None', '']
Progress Bar ['2091361802', 2019-02-13T16:39, 'None', '']
Review Heatmap ['1771074083', 2022-06-30T02:43, 'None', '']
Spelling Police ['1410276506', 2020-03-03T03:13, 'None', mod]
Straight Reward ['957961234', 2022-03-31T20:37, 'None', '']
Symbols As You Type ['2040501954', 2022-06-08T05:09, 'None', '']
Web Browser - Search terms Import texts and images automatically ['864545277', 2022-08-02T21:49, 'None', '']

===IDs of active AnkiWeb add-ons===
1143540799 1237621971 1410276506 1467205853 1560623518 1771074083 1896168623 2040501954 2055492159 2091361802 291119185 307397307 46611790 516643804 656021484 817108664 831846358 864545277 874215009 957961234 965278890

===Add-ons (inactive)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
'' ['anki mindmap', 0, 'None', '']
'' ['popup_dictionary', 0, 'None', '']
'' ['review_heatmap', 0, 'None', '']
AMBOSS add-on ['0amboss_addon', 2021-10-19T06:49, 'None', '']
Add Hyperlink ['318752047', 2022-05-23T14:16, 'None', '']
Additional Card Fields Fork for 21 ['744725736', 2022-02-21T23:22, 'None', mod]
Advanced Review Bottom Bar ['1136455830', 2022-09-29T14:32, 'None', mod]
Anki Killstreaks ['579111794', 2021-12-15T16:20, 'None', '']
Anki Zoom ['538879081', 2020-04-04T01:20, 'v1.1.3', mod]
Anki libunity Linux only ['901237400', 2021-01-24T18:13, 'None', '']
Ankimote - remote to control Anki from your phone ['149004221', 2021-08-11T17:57, 'None', '']
Answer Visual Confirmation ['1208806023', 2020-05-07T15:32, 'None', mod]
Card browser List only one card per note ['797076357', 2020-08-11T05:23, 'None', mod]
Clickable Tags v20 ['1739176371', 2022-01-30T23:58, 'None', '']
Clickable Tags v20 original ['380714095', 2022-01-30T23:58, 'None', '']
Create link in note to display specific search  in browser ['2053932397', 2020-03-29T18:56, 'None', '']
CrowdAnki JSON exportimport Edit history Collaborate on deck creation ['1788670778', 2022-05-27T22:32, 'None', '']
Customize Sidebar ['1988760596', 2020-01-15T22:01, 'None', '']
Edit Field During Review Cloze ['385888438', 2022-06-27T10:48, '6.13', '']
Enhance main window ['877182321', 2022-06-29T03:44, 'None', '']
Enhanced Cloze unmaintained Fork for 21 ['1202404083', 2020-04-11T22:27, 'None', '']
External Note Editor for the Browser ['1996266159', 2020-03-31T21:59, 'None', '']
Fill the blanks - Multiple typecloze support ['1933645497', 2021-08-05T20:38, 'None', mod]
HTML Editor Tweaks v02 ['410936778', 2020-03-22T14:58, 'None', '']
Image Occlusion Enhanced for Anki 21 ['1374772155', 2022-04-09T08:15, 'None', '']
Incremental Reading v4103 ['935264945', 2019-04-21T13:54, 'None', '']
Kitten Rewards Gamification ['1627107763', 2019-04-11T18:39, 'None', '']
LPCG LyricsPoetry Cloze Generator ['2084557901', 2021-07-24T23:17, 'None', '']
Large and Colorful Buttons ['1829090218', 2019-04-04T12:21, 'None', '']
Leaderboard ['41708974', 2022-05-12T10:46, 'None', mod]
Mini Format Pack ['295889520', 2018-07-24T18:45, 'None', '']
Minimal Theme ['867316254', 2022-04-22T17:33, 'None', '']
Multiple Choice for Anki ['1566095810', 2022-04-08T07:25, 'None', '']
No Distractions Full Screen Clean review interface  TabletTouch support ['1049863218', 2020-08-13T23:59, 'v4.1.8', mod]
Open linked pdf docx epub audiovideo etc in external Program ['879473266', 2022-07-14T20:17, 'None', '']
Polar Connect - PDF and Incremental Reading with Anki Sync ['734898866', 2019-01-27T01:01, 'None', '']
Pomodore Tomato Clock Port ['811976365', 2019-08-23T19:16, 'None', '']
Pop-up Dictionary ['153625306', 2019-03-25T00:24, 'None', mod]
Pop-up Wikipedia Beta ['395343016', 2020-01-29T01:10, 'None', mod]
Progress Bar cards done cards left secondscard time spentleft and ETA ['1097423555', 2022-08-05T12:01, 'None', '']
Puppy Reinforcement ['puppy_reinforcer', 0, 'None', '']
Redesign ['1914733489', 2020-02-29T23:46, 'None', '']
Remaining time for Anki 21 ['1508357010', 2020-12-13T15:14, '20.12.13i151', '']
Remote Decks Anki collaboration using Google Docs ['911568091', 2021-09-09T18:45, 'None', '']
Rendered Browser ['993394845', 2022-07-04T22:55, 'None', '']
Replay buttons on card ['498789867', 2019-03-08T03:09, 'None', '']
Resize images in editor ['1103084694', 2021-07-19T07:35, 'None', mod]
Review Pass Rate Bar ['1821339370', 2021-09-21T00:41, 'None', '']
Simple Timer and Stopwatch for Anki 21 ['1423272642', 2018-01-25T00:03, 'None', '']
Speed Focus Mode auto-alert auto-reveal auto-fail ['1046608507', 2019-06-02T10:11, 'None', '']
Symbols ['1461102936', 2019-04-18T21:21, 'None', mod]
Syntax Highlighting FORK night mode fix gui config etc ['1972239816', 2022-01-24T23:12, 'None', '']
TagSelectorV2 ['1022577188', 2021-08-07T12:28, 'None', mod]
True Retention by Card Maturity ['923360400', 2017-08-29T20:00, 'None', '']
Zoom 21 ['1846592880', 2020-01-16T20:16, 'None', '']
add-on dialog searchfilter bar ['561945101', 2021-12-05T21:28, 'None', '']
anki-forvo-dl - Forvo Pronunciation Downloader fully automatic ['858591644', 2022-07-31T12:26, 'None', '']
extended editor for field for tables searchreplace ['805891399', 2022-03-13T11:51, 'None', '']
load balancer ['1417170896', 2020-08-06T00:58, 'None', '']

You can try this add-on: https://ankiweb.net/shared/info/2027876532

1 Like

Anki 2.1.55 beta2, qt6.4.0, Windows 10, no add-ons. This actually already happened in previous versions.

  • create a filtered deck and review it
  • use “Create Copy” (e.g. via Ctrl+Alt+E) to duplicate the currently displayed note
  • in the Add window that pops up, the deck field is automatically set to “default”
    [ If you instead just click A to add a new note while reviewing, the deck field is automatically set to the currently displayed note’s original deck. ]

Also, the Change Note Type window seems to have regressed from 2.1.54 (the same problems are present in .55 beta1):

  • you cannot navigate the ‘choose target note-type’ dropdown menu by keyboard anymore. Instead, the menu just closes if you press any key .
  • the pairing of the fields does not work well. Often times, fields with the same name are not paired.
    E.g.

Also, sometimes Anki tries to “duplicate” some fields even if there are other fields that are going to be discarded.
[In the example below, besides TTS? and Image fronte e retro? there are two more fields that are not paired with any other, and are thus going to be discarded, but Anki does not warn about them at all]

1 Like

Is it necessary to change the editor again? I think the 2.1.54 editor looks much cleaner and changing it how it is in 2.1.55 breaks quite a few addons (that I paid quite a bit to have updated for the new editor in 2.1.54 :cry:). Its also breaking the Custom Background and Recolor add-ons in the main screen and in the editor

I’ve yet to do my full add-on test of the 50 or so add-ons that are pretty popular. I was waiting for when things are a bit more stable. I’d appreciate if you could ping me when we’re closer to release @kleinerpirat or @dae

Also, 2.1.55 is forcing the mac style icons. Is there a way to revert this?

2.1.55beta2 Qt5

2.1.54Qt5

from Beta 2 there is a problem with the display of this addon:
https://ankiweb.net/shared/info/46611790

1 Like

I’m sorry you feel that way. The whole point of the changes was to make the editor look cleaner. It was a community effort that started with Brainstorming for modern UI [Anki 3.0] - #35 by kleinerpirat. Several discussions and polls followed. With the beta out for a few weeks, yours is the first negative comment about the new editor look.

I’m on Linux and don’t use add-ons - perhaps we got a different perspective because of that.
Here’s an old comparison between 2.1.54 and the new editor design:

If the first screenshot looks cleaner to you, I’m afraid we got a different definition of the word (or just very different tastes) :smiley:

Both of these add-ons will be integrated into Anki at some point. Theme support is on my roadmap for the next few weeks and setting a background image is trivial. As for add-on tests, I suggest to wait a bit, at least until Henrik is active again and his PRs are merged.

Generally speaking, I think the goal should be to reduce people’s dependency on add-ons over time - to a point where managers like the butler add-on aren’t needed anymore. Anki can already stand very well on its own and we should focus our efforts on making the software itself better instead of limiting ourselves with legacy add-on support.

But that’s just the two cents of some contributor.

8 Likes

Maybe you should update the words to translate in Ponton a few days before the next version comes out. In the last beta it was only that day and I didn’t have time to translate.

I don’t particularly mind the new look, but it’s frustrating that it’s a completely redesigned editor that will require many add-on updates. I understand (and appreciate) the desire to make Anki look better, but it’s functionality should be first priority and we shouldn’t be rushing into updates without considering all the consequences. Nor should we be completely rehauling the editor only to completely rehaul it again. Hopefully you can understand this from my perspective after spending literally thousands of dollars to have public add-ons updated so that most people would be able to update to 2.1.54.

If you want the new look, thats fine with me but you should make it compatible with all the old add-ons. I was under the impression the new hooks were to be more permanent moving forward so this is hugely disappointing.

As for the Custom Background and ReColor addons being integrated at some point, I don’t think any breaking changes should be made until addons are integrated. I would rather wait 6 months for an update than have more frequent updates that fix some things and break many others. This has been an incredibly frustrating process for the past two years as I’m sure many others would agree and I have spent a considerable amount of money trying to keep things up to date, only to have things like this happen. In the past @dae has tried to make sure most of these major add-ons are supported and don’t need major updates, hence why I mentioned it.

As for reducing people’s dependency on add-ons, I’m all for that. However, as I mentioned above we should not recklessly be making breaking changes until the integrations are complete. The big breaking changes should only be made after deciding on something permanent with better webhooks so that add-ons don’t need to be constantly updated. The current changes in the editor do not reflect that sort of attitude.

As it stands, I wouldn’t recommend 2.1.55 to anybody and that’s at least a few thousand people. Anki deserves better than this.

If I had the choice, I’d also wait longer with the next update. But as an open source project, there are different interests and no fixed roadmap, so Anki has to grow more organically.

The scheduling changes some people have been waiting for could be published today with nothing but positive impact - my UI work is breaking. I’d rather have it pushed out in a single update, but I’m just a student and got other obligations too, so it wasn’t possible for me to get it all done by the time Damien published the beta.

Should I stop working on Anki altogether because of that? In my opinion that’s a clear no, but for businesses like yours that rely on a more “professional” schedule, it would probably be better.

I don’t feel obliged to fix other people’s stuff for free, but I understand your perspective and like you as a human being.

If you send me a list, I can test them and probably fix some breakages from Anki’s side. I’m not sure how much sense this makes until Single overlay instead of per field by hgiesel · Pull Request #2070 · ankitects/anki · GitHub is merged, though.


Who is “we” by the way? I see two parties here. One side does all the work for free, the other one builds on top of that and makes money. I think if we’re not charging anything, at least we should be the ones who get to decide what happens with Anki.

Edit: I’m sorry if that comment came off as if I didn’t value your contributions to the community. Of course I do and I consider you to be an important part of it. I also don’t mind anyone making money from Anki, that’s fine. It just bothers me that corporate interests should govern the path of an open source project.

6 Likes

It seems to me that @AnKingMed is not so much asking you to fix their stuff for free as simply not to break their stuff. Providing backward compatibility for add-on developers seems like an important open-source development policy to encourage a rich ecosystem of tools to enhance Anki.

The fact that AnKingMed happens to run a business that makes money off of add-ons is irrelevant because if their add-ons are breaking, then it’s likely that all sorts of other add-ons will break too. A breaking change in Anki could easily kill some add-ons permanently if their developers (who often also work for free) are tired of needing to constantly revise their add-ons.

1 Like