Can you Help me, it sometimes appears this error when I open anki

Hi guys

it appears this :

Anki 2.1.33 (3f403040) Python 3.8.0 Qt 5.14.1 PyQt 5.14.1
Platform: Windows 10
Flags: frz=True ao=False sv=1
Add-ons, last update check: 2020-10-24 22:56:50

is it something bad, is it ok?

Can you post the entire error message or take a screenshot with the error?

1 Like

Hi kelciour this is the full information

Error
Se ha producido un error. Usa Herramientas> Comprobar la base de datos para ver si se soluciona el problema.
Si los problemas continúan, informa del problema a nuestro sitio de soporte. Copia y pega la siguiente información en su informe.
Anki 2.1.33 (3f403040) Python 3.8.0 Qt 5.14.1 PyQt 5.14.1
Platform: Windows 10
Flags: frz=True ao=False sv=1
Add-ons, last update check: 2020-10-26 00:33:10

Caught exception:
Traceback (most recent call last):
File “aqt\mpv.py”, line 350, in _get_response
File “queue.py”, line 178, in get
_queue.Empty

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “aqt\mpv.py”, line 377, in _send_request
File “aqt\mpv.py”, line 354, in _get_response
aqt.mpv.MPVTimeoutError: unable to get response

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “aqt\mpv.py”, line 350, in _get_response
File “queue.py”, line 178, in get
_queue.Empty

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “aqt\webview.py”, line 37, in cmd
File “aqt\webview.py”, line 123, in _onCmd
File “aqt\webview.py”, line 547, in _onBridgeCmd
File “aqt\reviewer.py”, line 337, in _linkHandler
File “aqt\reviewer.py”, line 269, in _answerCard
File “aqt\reviewer.py”, line 118, in nextCard
File “aqt\reviewer.py”, line 188, in _showQuestion
File “aqt\sound.py”, line 102, in play_tags
File “aqt\sound.py”, line 153, in _play_next_if_idle
File “aqt\sound.py”, line 160, in _play
File “aqt\sound.py”, line 355, in play
File “aqt\mpv.py”, line 606, in command
File “aqt\mpv.py”, line 384, in _send_request
File “aqt\mpv.py”, line 377, in _send_request
File “aqt\mpv.py”, line 354, in _get_response
aqt.mpv.MPVTimeoutError: unable to get response

Thank you. The error is not very serious but it means that Anki tried to play the audio file using mpv video player in the background, but mpv didn’t respond in 1 second, mpv was restarted and failed to respond again.

Everything might work fine and you can hear the audio file just fine or there will no audio, at least for the current card.

It’s not clear what could cause it and how to possibly fix it. At the moment I can only suggest to either

  1. Install Anki 2.1.35-alternate version. The audio file will be played with mplayer and this error won’t happen again and from the user’s point of view there should be no visible difference.

  2. Otherwise, close Anki and download the latest mpv build from https://sourceforge.net/projects/mpv-player-windows/files/64bit/ then copy everything including mpv.exe to C:\Program Files\Anki and confirm to overwrite existing mpv.exe and a few other files. Then start Anki, open the Debug Console, copy-paste the following lines and press Ctrl+Return, just to confirm that mpv is the latest version.

    from aqt.sound import mpvManager
    print(mpvManager.get_property("mpv-version"))
    

    It might or might not help with the issue.

  3. Install the add-on Debug No Sound and follow the instructions to enable mpv logging using the Debug Console. Then review your cards as usual and if the same error happens again, maybe a few days later, click the audio play button a few times with about 1 second interval, I suppose the audio won’t be working, then upload mpv.debug.log.txt on https://gofile.io or any other site. Maybe the log file will contain some useful information, or maybe not.

Thank you :slight_smile:

Excuse me ,is this the same mistake or a new one?

Error
Se ha producido un error. Usa Herramientas> Comprobar la base de datos para ver si se soluciona el problema.
Si los problemas continúan, informa del problema a nuestro sitio de soporte. Copia y pega la siguiente información en su informe.
Anki 2.1.33 (3f403040) Python 3.8.0 Qt 5.14.1 PyQt 5.14.1
Platform: Windows 10
Flags: frz=True ao=False sv=1
Add-ons, last update check: 2020-10-26 00:33:10

Error desconocido

That looks like a different error. Please see https://faqs.ankiweb.net/when-problems-occur.html