Anki 2.1.50 Beta 1 & 2

Hi all,

A 2.1.50 Beta is now available:

https://betas.ankiweb.net/anki2.1.50.html

Please post add-on related issues on Add-on issues with Anki 2.1.50 Beta

Previous threads:

12 Likes

You guys are the best devs ever! Appreciate everything you guys do. Thanks!

7 Likes

Wow!!!

3 Likes

Thereā€™s an issue with the install script for linux.
Installing threw the following error
Anki starting... Initial setup... orjson is missing; DB operations will be slower Traceback (most recent call last): File "<string>", line 1, in <module> File "aqt", line 31, in <module> File "anki.lang", line 12, in <module> File "anki._backend", line 37, in <module> ImportError: /usr/local/share/anki/lib/anki/_backend/rsbridge.so: cannot open shared object file: Permission denied
Using the install.sh from an old anki package fixed the problem.

Great new features here!

This is a wonderful project, you guys are doing an incredible job and helping a lot of people around the world. Thanks a lot to all devs!

well done on the hard work!
On the Add screen, align the entire window to the right in RTL languages, including: the new edit bar, the headings of all the fields and the tag bar, And the contents of the fields.

Another fix: On the Deck Options screen, In ā€œThe order of placement of new Cardsā€, the menu opening image appears on the right and not on the left

For Linux users that are having a problem to decompress, the command
tar axf anki-2.1.50-linux-qt6.tar.zstd will not work with current files (unless you rename the compressed files)

Reminder: download zstd in your software management of your Linux distro or via terminal (Ubuntu/Debian)
sudo apt install zstd

Beta 1:

Qt5:
tar axf anki-2.1.50+beta1_43c41d76-linux-qt5.tar.zstd

Qt6:
tar axf anki-2.1.50+beta1_43c41d76-linux-qt6.tar.zstd

with the current install.sh file, the error mentioned by @throw appears
workaround: copy the previous install.sh file from Index of /downloads/beta/pkg-test-2/ then paste it in the new 2.1.50 beta file (replace)

Could you also fix the scrollbar in the edit and browse window of night mode?
Thanks, great work !!

Iā€™m having the same problem. Which package did you use?

1 Like

from the previous 2.1.50 testing (New toolkit and packaging test (round 2): Index of /downloads/beta/pkg-test-2/

thanks a lot, fixed

4 posts were merged into an existing topic: Add-on issues with Anki 2.1.50 Beta

Bug report! (Linux mint 20.2 XFCE, kernel: 5.4)

  1. (Qt5 & Qt6) Inside ā€œpreferenceā€: ā€œTheme: follow systemā€ donā€™t recognize system night theme
  2. (Qt5 & Qt6) Old status screen breaks (Shift + ā€œStatsā€)

Note: is not 100% of the time that the stats breaks

  File "aqt.webview", line 41, in cmd
  File "aqt.webview", line 148, in _onCmd
  File "aqt.webview", line 600, in _onBridgeCmd
  File "aqt.toolbar", line 168, in _linkHandler
  File "aqt.toolbar", line 189, in _statsLinkHandler
  File "aqt.main", line 1148, in onStats
  File "aqt", line 116, in open
  File "aqt.stats", line 144, in __init__
  File "aqt.stats", line 190, in refresh
  File "anki.stats", line 113, in report
  File "anki.stats", line 145, in todayStats
  File "anki.stats", line 1090, in _revlogLimit
  File "anki.decks", line 411, in active
  File "anki.scheduler.v3", line 237, in active_decks
  File "anki.dbproxy", line 71, in list
  File "anki.dbproxy", line 60, in _query
  File "anki._backend", line 79, in db_query
  File "anki._backend", line 102, in _db_command
TypeError: a bytes-like object is required, not 'list'

Qt warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 1471, resource id: 9876633, major code: 40 (TranslateCoords), minor code: 0

about the Qt warning, also getting those when pressing ā€œx closeā€ on ā€œcheck mediaā€ or when ā€œbuildā€ in ā€œoptions for filtered decksā€

Easiest fix until the next beta: after running install.sh as normal, run the following:

sudo chmod -R a+r /usr/local/share/anki

A fix will be in the next beta thanks to @hkr

The detection depends on your GTK theme name having -dark in it.

Thanks, should be fixed.

Probably a Qt bug, and can probably be ignored if itā€™s not causing any problems.

1 Like

A post was merged into an existing topic: Add-on issues with Anki 2.1.50 Beta

Version āØ2.1.50 (43c41d76)ā©
Python 3.9.7 Qt 6.2.0 PyQt 6.2.0
Macbook Air (M1, 2020)
MacOS 12.0.1 (Monterey)

Problem/Bug:
Deleted inline MathJax code reappears when focusing onto the next field

Expected behavior:
The mathjax snippet shouldnā€™t reappear if I delete it then focus the next field

Steps to reproduce:

  1. Type the following into the first field:

I like mathjax

(where mathjax is an inline mathjax format)

  1. Click on the mathjax snippet and click the delete button
  2. Click (or Tab) into the next field

Workaround:
After you delete the snippet, hit backspace once, then the snippet wonā€™t reappear.

Iā€™m not sure if this is actually a bug or expected behavior for HTML

Iā€™ve yet another problem. After running install.sh as normal and running the above command, I try running anki, and it gives me this:

pinnerup@ergi:~/Downloads/anki/anki-2.1.50-linux-qt6$ anki
Anki starting...
Initial setup...
Running with temporary Qt5 compatibility shims.
Run with DISABLE_QT5_COMPAT=1 to confirm compatibility with Qt6.
Preparing to run...
xkbcommon: ERROR: Couldn't process include statement for 'dk(polytonic)'
xkbcommon: ERROR: Abandoning symbols file "(unnamed)"
xkbcommon: ERROR: Failed to compile xkb_symbols
xkbcommon: ERROR: Failed to compile keymap
[5102:5141:1205/015317.044127:FATAL:xkb_keyboard_layout_engine.cc(640)] Keymap file failed to load: dk-polytonic
Trace/breakpoint trap (core dumped)

EDIT: The error only appears with the Qt6 version. The Qt5 version runs as expected.

Something about your keyboard setup seems to be tripping Qt6 up. I recommend you fiddle with your keyboard config to determine the line that triggers it, then report the issue on https://bugreports.qt.io/

The new Alt + I shortcut is not working for ā€œPrevious Card Infoā€ here. Iā€™ve tried with different kb layouts, but none of them seems to work. No add-ons / other programs are being used.

As a purely cosmetic issue, the new icons are considerably bigger than those in the previous version, and, IMO, seems too large compared to other on screen elements. Same can be said of tag icons:

.

As a suggestion, the new full-screen mode (F11) is great, but hard to discover. Would you consider adding that option to the menus (maybe under ā€œEditā€ or ā€œToolsā€?

W10, QT6, no add-ons.

4 Likes

The shortcut was changed to Ctrl+Alt+i to fix issues mentioned here: Option+I shortcut conflicts with language input

2 Likes