Win+R, type “cmd.exe” and press enter. Then type “%LOCALAPPDATA%\Programs\Anki\anki.exe” in the command prompt (assuming you used the default installation directory)
Exception in thread Thread-1:
Traceback (most recent call last):
File “threading”, line 980, in _bootstrap_inner
File “aqt.mediasrv”, line 85, in run
File “waitress.server”, line 78, in create_server
File “waitress.server”, line 229, in init
File “waitress.trigger”, line 171, in init
TimeoutError: [WinError 10060] Uma tentativa de conexão falhou porque o componente conectado não respondeu
corretamente após um período de tempo ou a conexão estabelecida falhou
porque o host conectado não respondeu
Exception in threading.excepthook:
Exception ignored in thread started by: <bound method Thread._bootstrap of <MediaServer(Thread-1, started 11952)>>
Traceback (most recent call last):
File “threading”, line 937, in _bootstrap
File “threading”, line 982, in _bootstrap_inner
File “threading”, line 1264, in invoke_excepthook
AttributeError: ‘ErrorHandler’ object has no attribute ‘flush’
Exception ignored in sys.unraisablehook:
AttributeError: ‘ErrorHandler’ object has no attribute ‘flush’
Did you try #2 – starting Anki while holding down Shift (until you see the confirmation message)? Can you try that while running it from the command line (hold down shift before pressing Enter) – to see if the message is different? (Make sure you’ve killed the Anki that is running first – restart your computer if possible.)
As voczi said, a network issue seems likely – but (1) that shouldn’t be an issue with a Shift-start, because Anki won’t try to reach the network, and (2) it’s hard for anyone to troubleshoot that from the outside. We don’t know anything about your system. Which leads me to –
What OS version are you on?
Was this a fresh install (on a computer that didn’t have Anki before), or an upgrade from a prior version?
If it was an upgrade, did you have any add-ons installed and active? Do you know what version you upgraded from (approximately)?
Yes, I tried, including in the video I’m attaching I did by holding shift.
Nothing appears, Anki shows no sign of life. ----------------------------------------------------------------- Answers: 1 - Windows 10 Pro 22H2 2 - It is the new version of Anki, 24.06.2 Qt6.
I had formatted the computer before, then when I installed it, this happened. -----------------------------------------------------------------
The quality of the video was too bad to be uploaded here.
Did you make sure those processes – the main Anki exe and the QT processes – were all killed before you tried that? (A video almost never helps, unless what you’re describing is something that is happening in motion.)
Have you tried uninstalling and installing the Qt5 version? Have you tried installing the last version you know worked on this machine (before you formatted it)?
I’m not interested in watching another video, especially when you’ve given me no information about why I would need to. You can just answer the questions I asked.
I tried installing the version of Qt5 and even the one that was working.
I have no addons installed as it is a zero install.
--------------------------------------------------------------
In this new video I show the installation of Anki that was working before formatting and how it no longer works.
Thank you for trying 2.1.65. Since it’s happening on older and newer versions, it seems more likely that it is a conflict in your system. Are you certain that what you had installed and working before formatting was Qt6 and not Qt5?
If you’ve tried everything suggested so far, and nothing has helped, this still seems likely to be networking related – since that’s often suggested for this exact error –
Another possibility is mpv/mplayer conflict (additional suggestions further down-thread) –