-
Notifications
You must be signed in to change notification settings - Fork 28
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
An error occurred while generating a mobile card! #43
Comments
Try installing the latest Anki version, or at least Anki 2.1.66, and updating the add-on to the latest version. |
I installed the latest anki and updated the plugin, but this problem occurs when making a mobile card Anki 24.11 (87ccd24e) (ao) Traceback (most recent call last): ===Add-ons (active)=== ===IDs of active AnkiWeb add-ons=== ===Add-ons (inactive)=== |
For some reason, the add-on wasn't able to detect any audio streams in the video file using mpv and fallback to ffmpeg that couldn't be found. If the provided video file contains an audio stream, try to install ffmpeg via scoop and reopen Anki.
or download ffmpeg-git-full.7z from https://www.gyan.dev/ffmpeg/builds/, unzip it somewhere and add the full path to folder with ffmpeg.exe and ffprobe.exe, e.g. |
Anki 2.1.65 (aa9a734f) Python 3.9.15 Qt 6.4.3 PyQt 6.4.0
Platform: Windows-10-10.0.19041
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2025-01-09 12:49:34
Caught exception:
Traceback (most recent call last):
File "C:\Users\86155\AppData\Roaming\Anki2\addons21\939347702\player.py", line 610, in run
logger.debug('ffprobe audio_streams: {}'.format(join_and_add_double_quotes(cmd)))
File "C:\Users\86155\AppData\Roaming\Anki2\addons21\939347702\player.py", line 518, in join_and_add_double_quotes
return '[' + ' '.join(['"{}"'.format(s) if ' ' in s else s for s in cmd]) + ']'
File "C:\Users\86155\AppData\Roaming\Anki2\addons21\939347702\player.py", line 518, in
return '[' + ' '.join(['"{}"'.format(s) if ' ' in s else s for s in cmd]) + ']'
TypeError: argument of type 'NoneType' is not iterable
The text was updated successfully, but these errors were encountered: