Package: mnemosyne
Version: 2.7.3+ds1-1

Description:
In debian testing (bullseye), after installing mnemosyne using `sudo apt
install mnemosyne`, mnemosyne could not be launch normally, because of lack
of dependencies.
Detailed error message and system info are below.

Suggested fix:
Add `python3-gtts` as a dependency to mnemosyne.



-----------------START OF ERROR MESSAGE--------------------
$ mnemosyne
Warning: Could not import OpenGL. Might cause a black screen on some
Linux distributions. Try installing python3-opengl in that case.
Log body:
 An unexpected error has occurred.
Please forward the following info to the developers:

Traceback (innermost last):
  File "/usr/bin/mnemosyne", line 277, 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.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 790, in exec_module
  File "<frozen importlib._bootstrap>", line 228, 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 277, 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.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 790, in exec_module
  File "<frozen importlib._bootstrap>", line 228, 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 277, 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.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 790, in exec_module
  File "<frozen importlib._bootstrap>", line 228, 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'

-----------------END OF ERROR MESSAGE--------------------


-----------------START OF SYSTEM INFO--------------------
-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.9.0-5-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages mnemosyne depends on:
ii  libjs-sphinxdoc             3.3.1-1
ii  libqt5sql5-sqlite           5.15.2+dfsg-2
ii  python3                     3.9.1-1
ii  python3-cheroot             8.5.1+ds1-1
ii  python3-cherrypy3           8.9.1-7
ii  python3-matplotlib          3.3.2-2+b1
ii  python3-pil                 8.0.1-1+b1
ii  python3-pyqt5               5.15.2+dfsg-1+b1
ii  python3-pyqt5.qtsql         5.15.2+dfsg-1+b1
ii  python3-pyqt5.qtwebchannel  5.15.2+dfsg-1+b1
ii  python3-pyqt5.qtwebengine   5.15.2-1
ii  python3-webob               1:1.8.6-1.1

mnemosyne recommends no packages.

mnemosyne suggests no packages.

-----------------END OF SYSTEM INFO--------------------

Best

Lingyu Zhou

Reply via email to