or Create a profile
Beta Testing →
22 Jan, 2020 01:11 PM
I just installed beta3, directly from the beta download page.
I was trying to review a card with sound
I had the following error
An error occurred. Please use Tools > Check Database to see if that fixes the problem.
If problems persist, please report the problem on our support site. Please copy and paste the information below into your report.
Anki 2.1.20 (95b497cc) Python 3.8.1 Qt 5.14.0 PyQt 5.13.2
Flags: frz=True ao=False sv=1
Traceback (most recent call last):
File "aqt/taskman.py", line 65, in on_closures_pending File "aqt/taskman.py", line 53, in File "aqt/sound.py", line 233, in File "aqt/sound.py", line 271, in _on_done File "concurrent/futures/_base.py", line 432, in result File "concurrent/futures/_base.py", line 388, in __get_result File "concurrent/futures/thread.py", line 57, in run File "aqt/sound.py", line 233, in File "aqt/sound.py", line 398, in _play File "subprocess.py", line 854, in __init_ File "subprocess.py", line 1702, in _execute_child FileNotFoundError: [Errno 2] Aucun fichier ou dossier de ce type: 'mplayer'
Last line means : no file or folder of this type "mplayer"
With previous version of anki, sounds worked correctly.
I'm on ubuntu.
Once this occur, the app becomes extremely slow. It takes more than 15 seconds before I can leave the reviewer or before it loads another card/the answer
on 23 Jan, 2020 06:46 AM
Is mplayer on your path? What does the following in the debug console show?
from aqt.sound import _packagedCmd
on 23 Jan, 2020 11:11 AM
It's not on my path.
I didn't see any thing in the packaged beta stating I should install it
>>> from aqt.sound import _packagedCmd
I can install mplayer and test. I won't do it until you tell me what
other informations you need
Le 22/01/2020 à 22:46, Damien Elmes a écrit :
on 23 Jan, 2020 11:37 AM
From the readme file that is included in the package:
To play and record audio, mpv and lame must be installed. If mpv is not
installed or too old, Anki will try to fall back on using mplayer.
Do you have mpv installed? What does it say when running Anki in a terminal?
on 23 Jan, 2020 12:36 PM
I did follow the instruction from https://apps.ankiweb.net/index.html and did not thought that I had to follow more instruction
/usr/bin/mpv: /usr/local/share/anki/bin/liblzma.so.5: version `XZ_5.2' not found (required by /lib/x86_64-linux-gnu/libarchive.so.13) mpv too old, reverting to mplayer
I then installed mplayer, and got the same message (makes sens, since I didn't change mpv)
mpv version is :
mpv 0.29.1 Copyright © 2000-2018 mpv/MPlayer/mplayer2 projects
on 24 Jan, 2020 07:58 AM
Thanks Arthur, please let me know if the next beta doesn't fix it.
Formatting help /
(switch to plain text)
(switch to Markdown)
You can attach files up to 10MB
If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.
A conversation has been started with the Anki staff to resolve this discussion.
This discussion is private.
Only you and Anki support staff can see and reply to it.
This discussion is public. Everyone can see and reply to it.
You can use Command ⌘ instead of Control ^ on Mac
Powered by Tender™.