The sound files are probably not in the dedicated media directory.

Have you added your sounds through the right click menu in the card editor?

Peter

On Wed, 1 Jul 2020, 17:28 santi, <[email protected]> wrote:

> Thanks a lot Peter, that worked, but now sounds in my cards doesn't seem
> to work. I mean the ones in the form
>
> <audio src="word.wav">
>
> On the other hand, those like this
>
> <audio controls>
>
> <source src="__funfair.wav" type="audio/mpeg">
>
> </audio>
>
>
> do work
>
>
> That's really odd, maybe I'm missing some other dependencies, since I
> plumped for a rather minimal ubuntu installation this time arround.
>
> On Tuesday, 30 June 2020 20:29:10 UTC+2, santi wrote:
>>
>> Hi all, I'm getting this error message the first time I run mnemosyne on
>> a new ubuntu system. I haven't got a clue, so I would appreciate any help.
>> Thanks in advance:
>>
>> santi@UbuntuLaptop:~$ mnemosyne
>> Log body:
>>  An unexpected error has occurred.
>> Please forward the following info to the developers:
>>
>> Traceback (innermost last):
>>   File "/usr/bin/mnemosyne", line 268, in <module>
>>     mnemosyne.initialise(data_dir=data_dir, filename=filename,
>>   File
>> "/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/__init__.py", line
>> 400, in initialise
>>     self.register_components()
>>   File
>> "/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/__init__.py", line
>> 465, in register_components
>>     importlib.import_module(module_name), class_name)
>>   File "/usr/lib/python3.8/importlib/__init__.py", line 127, in
>> import_module
>>     return _bootstrap._gcd_import(name[level:], package, level)
>>   File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
>>   File "<frozen importlib._bootstrap>", line 991, in _find_and_load
>>   File "<frozen importlib._bootstrap>", line 975, in
>> _find_and_load_unlocked
>>   File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
>>   File "<frozen importlib._bootstrap_external>", line 783, in exec_module
>>   File "<frozen importlib._bootstrap>", line 219, in
>> _call_with_frames_removed
>>   File
>> "/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/pronouncers/google_pronouncer.py",
>> line 5, in <module>
>>     from gtts import gTTS
>>  ModuleNotFoundError: No module named 'gtts'
>>
>> An unexpected error has occurred.
>> Please forward the following info to the developers:
>>
>> Traceback (innermost last):
>>   File "/usr/bin/mnemosyne", line 268, in <module>
>>     mnemosyne.initialise(data_dir=data_dir, filename=filename,
>>   File
>> "/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/__init__.py", line
>> 400, in initialise
>>     self.register_components()
>>   File
>> "/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/__init__.py", line
>> 465, in register_components
>>     importlib.import_module(module_name), class_name)
>>   File "/usr/lib/python3.8/importlib/__init__.py", line 127, in
>> import_module
>>     return _bootstrap._gcd_import(name[level:], package, level)
>>   File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
>>   File "<frozen importlib._bootstrap>", line 991, in _find_and_load
>>   File "<frozen importlib._bootstrap>", line 975, in
>> _find_and_load_unlocked
>>   File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
>>   File "<frozen importlib._bootstrap_external>", line 783, in exec_module
>>   File "<frozen importlib._bootstrap>", line 219, in
>> _call_with_frames_removed
>>   File
>> "/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/pronouncers/google_pronouncer.py",
>> line 5, in <module>
>>     from gtts import gTTS
>>  ModuleNotFoundError: No module named 'gtts'
>> An unexpected error has occurred.
>> Please forward the following info to the developers:
>>
>> Traceback (innermost last):
>>   File "/usr/bin/mnemosyne", line 268, in <module>
>>     mnemosyne.initialise(data_dir=data_dir, filename=filename,
>>   File
>> "/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/__init__.py", line
>> 400, in initialise
>>     self.register_components()
>>   File
>> "/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/__init__.py", line
>> 465, in register_components
>>     importlib.import_module(module_name), class_name)
>>   File "/usr/lib/python3.8/importlib/__init__.py", line 127, in
>> import_module
>>     return _bootstrap._gcd_import(name[level:], package, level)
>>   File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
>>   File "<frozen importlib._bootstrap>", line 991, in _find_and_load
>>   File "<frozen importlib._bootstrap>", line 975, in
>> _find_and_load_unlocked
>>   File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
>>   File "<frozen importlib._bootstrap_external>", line 783, in exec_module
>>   File "<frozen importlib._bootstrap>", line 219, in
>> _call_with_frames_removed
>>   File
>> "/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/pronouncers/google_pronouncer.py",
>> line 5, in <module>
>>     from gtts import gTTS
>>  ModuleNotFoundError: No module named 'gtts'
>>
> --
> You received this message because you are subscribed to the Google Groups
> "mnemosyne-proj-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/mnemosyne-proj-users/afaddcc8-2e98-416f-9676-4c13020a863eo%40googlegroups.com
> <https://groups.google.com/d/msgid/mnemosyne-proj-users/afaddcc8-2e98-416f-9676-4c13020a863eo%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"mnemosyne-proj-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mnemosyne-proj-users/CAMdxoPGypb2%3DWORCJSqvgpvyJB8dWtULYv-vL3G0c55wYz0AOQ%40mail.gmail.com.

Reply via email to