Navigation

    Migaku Community

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Audio not working when creating Anki cards using the browser extension.

    Bug Reports
    1
    1
    35
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      Anon sp last edited by

      Each time I try to create cards using the browser extension I get the following error:

      note that the cards still get created, but the audio file that is created does not play any sound.

      Error
      An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
      If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
      When you've discovered the add-on that is causing the problem, please report the issue to the add-on author.
      Debug info:
      Anki 2.1.54 (b6a7760c) Python 3.9.7 Qt 6.3.1 PyQt 6.3.1
      Platform: Windows 10
      Flags: frz=True ao=True sv=2
      Add-ons, last update check: 2022-07-05 23:40:35
      
      ERROR:tornado.application:Uncaught exception POST /create (127.0.0.1)
      HTTPServerRequest(protocol='http', host='127.0.0.1:44432', method='POST', uri='/create', version='HTTP/1.1', remote_ip='127.0.0.1')
      Traceback (most recent call last):
        File "C:\Users\Jordan\AppData\Roaming\Anki2\addons21\1846879528\lib\shared\tornado\web.py", line 1702, in _execute
          result = method(*self.path_args, **self.path_kwargs)
        File "C:\Users\Jordan\AppData\Roaming\Anki2\addons21\1846879528\migaku_connection\card_creator.py", line 62, in post
          self.create_card(card)
        File "C:\Users\Jordan\AppData\Roaming\Anki2\addons21\1846879528\migaku_connection\card_creator.py", line 98, in create_card
          self.handle_files(self.request.files)
        File "C:\Users\Jordan\AppData\Roaming\Anki2\addons21\1846879528\migaku_connection\card_creator.py", line 141, in handle_files
          self.handleAudioFile(file_body, file_name, suffix)
        File "C:\Users\Jordan\AppData\Roaming\Anki2\addons21\1846879528\migaku_connection\card_creator.py", line 153, in handleAudioFile
          self.moveExtensionMp3NormalizeToMediaFolder(audio_temp_path, filename)
        File "C:\Users\Jordan\AppData\Roaming\Anki2\addons21\1846879528\migaku_connection\card_creator.py", line 178, in moveExtensionMp3NormalizeToMediaFolder
          sound = AudioSegment.from_file(source)
        File "C:\Users\Jordan\AppData\Roaming\Anki2\addons21\1846879528\lib\shared\pydub\audio_segment.py", line 773, in from_file
          raise CouldntDecodeError(
      pydub.exceptions.CouldntDecodeError: Decoding failed. ffmpeg returned error code: 1
      
      Output from ffmpeg/avlib:
      
      ffmpeg version 5.0.1-essentials_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers
      
        built with gcc 11.2.0 (Rev7, Built by MSYS2 project)
      
        configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-sdl2 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libgme --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora --enable-libvo-amrwbenc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-librubberband
      
        libavutil      57. 17.100 / 57. 17.100
      
        libavcodec     59. 18.100 / 59. 18.100
      
        libavformat    59. 16.100 / 59. 16.100
      
        libavdevice    59.  4.100 / 59.  4.100
      
        libavfilter     8. 24.100 /  8. 24.100
      
        libswscale      6.  4.100 /  6.  4.100
      
        libswresample   4.  3.100 /  4.  3.100
      
        libpostproc    56.  3.100 / 56.  3.100
      
      C:\Users\Jordan\AppData\Roaming\Anki2\addons21\1846879528\tmp\16570903317780521.wav: Invalid data found when processing input
      
      
      ERROR:tornado.access:500 POST /create (127.0.0.1) 2071.51ms
      
      1 Reply Last reply Reply Quote 0
      • First post
        Last post