-
-
Notifications
You must be signed in to change notification settings - Fork 13.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
anki: "Segmentation fault: 11" on macOS #40956
Comments
I looked into this a while back and ultimately could not find the issue. I think it has something to do with mixing CoreFoundation SDKs (10.11 vs 10.12). |
Yeah, it's confusing. Do you know whether it works on v10.11? |
Actually can you try the suggestion in #21681? I think that still works. |
I ran this from the command line:
and this time, Anki did open. However, I got a message in the terminal:
and Anki displayed this message: Could these issues be unrelated to the initial issue? When I couldn't get Anki working via Nix, I installed it using the Anki for Mac DMG. Is there a lockfile or something that could be causing these new messages? |
Appears to be the message from here in the code. |
Yeah try this:
|
Thanks. I tried deleting the Anki2 directory, and I got the normal setup prompts (language, etc.) without the "Please ensure..." message. But when I closed and re-opened, I got the "Please ensure..." message again. |
I also got the "Please ensure..." message when I tried starting Anki with with an option specifying my profile:
When I open Anki while holding down shift (skip automatic syncing and addon loading), I get an Import window, but I don't get the "Please ensure..." message. Maybe related: inside the DMG from ankiweb, there are files like
Do we need to start Anki using those files instead of just running the command you specified? |
The keepassxc package is an example of a QT application that works well on macOS. Anything from there that would be applicable to this Anki package? |
I marked this as stale due to inactivity. → More info |
I updated the anki package (#221229), and now it doesn't even build on macOS at all 😬 Anki these days uses "qtwebengine" to render basically everything, and, well, I believe both qt5's and qt6's qtwebengine are broken (see #183383 for qt5, I don't know that there's an issue for qt6's). Once nixpkg's qtwebengine builds on macOS, it's possible anki will work, but the first step is qtwebengine. |
@the-kenny
Issue description
Installed anki on macOS. When I run
anki
from the Terminal, I getand a window saying "python quit unexpectedly" (see Report at the bottom of this issue).
Steps to reproduce
From command line:
Technical details
Results from
nix-shell -p nix-info --run "nix-info -m"
:The "python quit unexpectedly" error report:
The text was updated successfully, but these errors were encountered: