Skip to content
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 would stop working if internet not found in Linux. #3395

Open
aaryansinhaa opened this issue Sep 1, 2024 · 3 comments
Open

Anki would stop working if internet not found in Linux. #3395

aaryansinhaa opened this issue Sep 1, 2024 · 3 comments

Comments

@aaryansinhaa
Copy link

The terminal message:

Anki starting...
Initial setup...
Preparing to run...
Wayland support is disabled by default due to bugs:
https://github.com/ankitects/anki/issues/1767
You can force it on with an env var: ANKI_WAYLAND=1
Qt warning: QGuiApplication::setDesktopFileName: the specified desktop file name ends with .desktop. For compatibility reasons, the .desktop suffix will be removed. Please specify a desktop file name without .desktop suffix 
2024-09-01 09:56:14,797:INFO:aqt.mediasrv: Serving on http://127.0.0.1:36601
todo: windows paths in import screen
Starting main loop...
mpv not found, reverting to mplayer

Anki shows no error, rather goes into a loop if no internet found, linux would kill the process because of this.
Makes it confusing for new users to figure out the problem

@ilkermeliksitki
Copy link

@aaryansinhaa did you try to upload mpv?

@krischerven
Copy link
Contributor

FWIW I can't reproduce this on Fedora GNOME 46, kernel 6.10.7

@GithubAnon0000
Copy link

GithubAnon0000 commented Sep 17, 2024

On debian oldstable anki will freeze for a few seconds if wifi is enabled but internet access is blocked (firewall rule "deny"). Setting the firewall rule to "reject" makes anki think that no internet is available, thus anki won't freeze.
The freeze occurs when clicking on the deck after opening anki and when going to the card browser.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants