Hello everyone, I’m new to Anki, just found out about it from a friend that’s in Med School. I’ve installed the newest version for Mac via the website. Whenever I open it Anki is completely blank, like you can see it flicker like it’s trying to load but then just stops. I’ve tried changing preferred GPU to software but still doesn’t work. I’ve tried deleting then reinstalling and that doesn’t seem to work. I’m using a 2019 MacBook Pro 16 inch i7 intel and a AMD Radeon GPU.
Does anyone have a fix for this? I’ve seen something about using Python and I downloaded Python but I have no idea how to use it. Any help would be great!
Running with temporary Qt5 compatibility shims.
Run with DISABLE_QT5_COMPAT=1 to confirm compatibility with Qt6.
Preparing to run…
Surface Type: OpenGL
Surface Profile: CoreProfile
Surface Version: 4.1
Using Default SG Backend: yes
Using Software Dynamic GL: no
Using Angle: no
Starting main loop…
2022-03-27 21:03:19.347 mpv[26855:458260] This NSLayoutConstraint is being configured with a constant that exceeds internal limits. A smaller value will be substituted, but this problem should be fixed. Break on BOOL _NSLayoutConstraintNumberExceedsLimit(void) to debug. This will be logged only once. This may break in the future.
2022-03-27 21:03:19.354 mpv[26855:458260] Warning: Expected min height of view: (<NSButton: 0x7fdd5bf1c350>) to be less than or equal to 30 but got a height of 32.000000. This error will be logged once per view in violation.
2022-03-27 21:03:19.354 mpv[26855:458260] Warning: Expected min height of view: (<NSButton: 0x7fdd5cd117c0>) to be less than or equal to 30 but got a height of 32.000000. This error will be logged once per view in violation.
2022-03-27 21:03:19.355 mpv[26855:458260] Warning: Expected min height of view: (<NSButton: 0x7fdd5cd12340>) to be less than or equal to 30 but got a height of 32.000000. This error will be logged once per view in violation.
Okay, thanks. Again to confirm, the app is blank, but does the menubar work? Are you able to open e.g. preferences or add-ons? If so, that suggests that the web views are failing to render, in which case could you try opening it with the following command:
and then open http://127.0.0.1:8000 in Chrome (it has to be Chrome). You should see a list of web views - select ‘main webview’ and choose the console tab. If there are any errors there, paste them here.
Alternatively you could try installing the AnkiWebView Inspector add-on, as it can be used to debug issues with web views, however note that:
It doesn’t support the new beta yet, so you’ll have to reinstall 2.1.49 to try it
If you can’t open the add-ons dialog (Tools > Manage Add-ons) you can install the add-on by downloading it from GitHub (Code > Download ZIP), unpacking it, and copying the src folder into ~/Library/Application Support/Anki2/addons21
If you can install it, close and reopen Anki, then right click roughly in the centre of the screen, and you should see Inspect. Click it, and then open the Console tab. If there are any errors listed there, paste them here.
So i tried doing both these methods, AnkiwebView lets me install it but when i right click nothing happens in the center of screen. The other method when i open Chrome, its Blank as well for some odd reason.