FreeLanguageTools/vocabsieve

[Bug] Version 0.11. 0 - Failure to add local sounds (Sound Library) into Anki "Media Folder"

Closed this issue · 1 comments

Describe the bug
The version 0.11.0 fails to work properly with "Sound Libraries" (folders with Audios). I have a folder with 1.8 million German audios (Wiktionary, Forvo, etc) and it was working fine in version 0.10.3.

VocabSieve 0.11.0 imports the audios into the database and when a word is chosen, they appear correctly in the results. But when one presses "CTRL +S" and saves the card into Anki, the audios are not imported into Anki. Instead Anki cards show an error:

Here is an example with the lemma "fossil" as shown in the "Front" of my Anki card:

"[Errno 2] No such file or directory: '0 Audio::A/1/fossil.opus'"

To Reproduce
Steps to reproduce the behavior:

  1. Import a "Sound Library"
  2. Query a word and choose one sound to import into Anki
  3. Save the word (CTRL + S)
  4. Review the card in Anki and see the error:__"[Errno 2] No such file or directory: '1/XXX.opus'""

Expected behavior
Local audio files should be imported into Anki correctly.

Screenshots
Here is a short video to clarify the issue:
simplescreenrecorder-2023-11-27_08.11.28.zip

Desktop (please complete the following information):
OS: EndeavourOS (Arch Linux) - [up to date with Arch repositories]

VocabSieve: V 0.11.0 AppImage (latest build) 7719c72

Additional context

I had the database rebuilt when upgrading from V 0.10.3 to Version 0.11. Then, I deleted the "folder" from VocabSieve and built the database again.

The Forvo "online" audios are also showing the same error as described in the video.

image