Erro ao adicionar arquivo de áudio

Arthur Rogério's Avatar

Arthur Rogério

19 Feb, 2020 09:56 AM

Erro
Ocorreu um erro. Por favor, vá para Ferramentas > Verificar Banco de Dados para ver se isso corrige o problema.
Se o problema persistir, por favor relate-o em nossa página de ajuda. Copie e cole a informação abaixo dentro de seu relatório.
Anki 2.1.20 (47a1bf8b) Python 3.8.1 Qt 5.14.1 PyQt 5.14.1
Platform: Linux
Flags: frz=True ao=False sv=1
Add-ons, last update check: 2020-02-19 06:15:22

Caught exception:
Traceback (most recent call last):
  File "aqt/taskman.py", line 65, in _on_closures_pending
  File "aqt/taskman.py", line 53, in <lambda>
  File "aqt/sound.py", line 235, in <lambda>
  File "aqt/sound.py", line 275, 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 235, in <lambda>
  File "aqt/sound.py", line 374, in _play
  File "subprocess.py", line 854, in __init__
  File "subprocess.py", line 1702, in _execute_child
FileNotFoundError: [Errno 2] Arquivo ou diretório inexistente: 'mplayer'

  1. Support Staff 1 Posted by Damien Elmes on 19 Feb, 2020 10:03 AM

    Damien Elmes's Avatar

    Did you install mpv or mplayer?

  2. 2 Posted by jacek.artemiuk on 19 Feb, 2020 07:12 PM

    jacek.artemiuk's Avatar

    I have similar problem:
    Debug info:
    Anki 2.1.20 (47a1bf8b) Python 3.8.0 Qt 5.14.1 PyQt 5.14.1
    Platform: Windows 10
    Flags: frz=True ao=True sv=1
    Add-ons, last update check: 2020-02-19 05:02:27

    Caught exception:
    Traceback (most recent call last):
      File "aqt\taskman.py", line 65, in _on_closures_pending
      File "aqt\taskman.py", line 53, in <lambda>
      File "aqt\sound.py", line 235, in <lambda>
      File "aqt\sound.py", line 275, 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 235, in <lambda>
      File "aqt\sound.py", line 380, in _play
      File "aqt\sound.py", line 260, in _wait_for_termination
    AttributeError: 'NoneType' object has no attribute 'wait'

  3. Support Staff 3 Posted by Damien Elmes on 20 Feb, 2020 09:19 AM

    Damien Elmes's Avatar

    jacek: what steps are you taking that triggers the problem?

  4. 4 Posted by jacek.artemiuk on 20 Feb, 2020 05:42 PM

    jacek.artemiuk's Avatar

    The problem is in two cases:
    First when I am adding new audio files to my flashcard, and second when I'm reviewing flashcards. After error sometimes two sounds from one card start play at the same time or don't play). These errors do not always happen, maybe 1/20 or less often.

  5. 5 Posted by alvaro on 21 Feb, 2020 12:06 AM

    alvaro's Avatar

    Eu tive o mesmo problema e consegui resolver com o comando
    $ sudo apt-get install mplayer
    estou usando o Debian 10

  6. Support Staff 6 Posted by Damien Elmes on 21 Feb, 2020 05:15 AM

    Damien Elmes's Avatar

    Thanks for elaborating. I think I may have been able to address this - when 2.1.21beta2 comes out in the next few days, please give it a go and let me know if the problems are gone or not.

  7. 7 Posted by jacek.artemiuk on 01 Mar, 2020 06:28 PM

    jacek.artemiuk's Avatar

    Already it's ok (beta 2). There aren't errors. Only sometimes two sounds from one card are playing in the same time, this only information for you because for me work great.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

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.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac