Your message dated Thu, 14 Jul 2022 10:20:05 +0000
with message-id <[email protected]>
and subject line Bug#948748: fixed in mnemosyne 2.9+ds1-1
has caused the Debian Bug report #948748,
regarding mnemosyne: Failed import for google translate, app can't start. 
Resolvable with 'pip3 install google-translate'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
948748: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=948748
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mnemosyne
Version: 2.7+ds-1
Severity: normal

Dear Maintainer,

After updating mnemosyne via synaptic package manager, I attempted to run mnemosyne from the command line and received a Python import error.

I installed the following:
    apt-get install python3-gtts
    pip3 install google-translate

This resolves the issue and mnemosyne runs normally. However I can't find the google-translate package in the apt repository.




-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.4.0-2-amd64 (SMP w/12 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages mnemosyne depends on:
ii  libjs-sphinxdoc             1.8.5-4
ii  libqt5sql5-sqlite           5.12.5+dfsg-2
ii  python3                     3.7.5-3
ii  python3-cheroot             8.2.1+ds-2
ii  python3-cherrypy3           8.9.1-5
ii  python3-matplotlib          3.1.2-1
ii  python3-pil                 6.2.1-2+b1
ii  python3-pyqt5               5.13.2+dfsg-1
ii  python3-pyqt5.qtsql         5.13.2+dfsg-1
ii  python3-pyqt5.qtwebchannel  5.13.2+dfsg-1
ii  python3-pyqt5.qtwebengine   5.14.0-1
ii  python3-webob               1:1.8.5-1

mnemosyne recommends no packages.

mnemosyne suggests no packages.

-- no debconf information

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 270, in <module>
    debug_file=options.debug_file)
  File "/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/__init__.py", 
line 397, in initialise
    self.register_components()
  File "/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/__init__.py", 
line 462, in register_components
    importlib.import_module(module_name), class_name)
  File "/usr/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File 
"/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/translators/google_translator.py",
 line 5, in <module>
    from googletrans import Translator as gTranslator
 ModuleNotFoundError: No module named 'googletrans'

An unexpected error has occurred.
Please forward the following info to the developers:

Traceback (innermost last):
  File "/usr/bin/mnemosyne", line 270, in <module>
    debug_file=options.debug_file)
  File "/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/__init__.py", 
line 397, in initialise
    self.register_components()
  File "/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/__init__.py", 
line 462, in register_components
    importlib.import_module(module_name), class_name)
  File "/usr/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File 
"/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/translators/google_translator.py",
 line 5, in <module>
    from googletrans import Translator as gTranslator
 ModuleNotFoundError: No module named 'googletrans'
An unexpected error has occurred.
Please forward the following info to the developers:

Traceback (innermost last):
  File "/usr/bin/mnemosyne", line 270, in <module>
    debug_file=options.debug_file)
  File "/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/__init__.py", 
line 397, in initialise
    self.register_components()
  File "/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/__init__.py", 
line 462, in register_components
    importlib.import_module(module_name), class_name)
  File "/usr/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File 
"/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/translators/google_translator.py",
 line 5, in <module>
    from googletrans import Translator as gTranslator
 ModuleNotFoundError: No module named 'googletrans'


--- End Message ---
--- Begin Message ---
Source: mnemosyne
Source-Version: 2.9+ds1-1
Done: Julien Puydt <[email protected]>

We believe that the bug you reported is fixed in the latest version of
mnemosyne, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julien Puydt <[email protected]> (supplier of updated mnemosyne package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 14 Jul 2022 12:00:16 +0200
Source: mnemosyne
Architecture: source
Version: 2.9+ds1-1
Distribution: unstable
Urgency: medium
Maintainer: Julien Puydt <[email protected]>
Changed-By: Julien Puydt <[email protected]>
Closes: 526330 787442 883333 897184 948748
Changes:
 mnemosyne (2.9+ds1-1) unstable; urgency=medium
 .
   * New upstream release (Closes: #883333, #948748, #526330, #897184).
   * Drop the patch to disable google translator (upstream).
   * Add a suggest on mplayer for sound (Closes: #787442).
Checksums-Sha1:
 3fd648d556aaabb284d0a63e11ed388567e1842e 1970 mnemosyne_2.9+ds1-1.dsc
 993b0ddb63e898fac282d5973bdccc2048380b52 883160 mnemosyne_2.9+ds1.orig.tar.xz
 5fee213b02b56c6a7cb3cfe6cefece44918674e0 15528 
mnemosyne_2.9+ds1-1.debian.tar.xz
 4a4dfb9fa1dae5cc0c25bf6c29f5407bebec5221 10948 
mnemosyne_2.9+ds1-1_source.buildinfo
Checksums-Sha256:
 ea94931468163c0b2612c14a201c5628f5fcf4a74b820dc0c1524e183fdefa45 1970 
mnemosyne_2.9+ds1-1.dsc
 d98d2d1301c07fe55de4d30c59ee29d023a38a123f0d7faa67fea2eb40ec1b50 883160 
mnemosyne_2.9+ds1.orig.tar.xz
 fff9fe28f9f300b4231b05ad0165190b427250354b5aa9e54a601626ae57b5d5 15528 
mnemosyne_2.9+ds1-1.debian.tar.xz
 71a26cb15ff22bf4a518f185a1d023843c61aa4d7964e84c066767fe031f0dfc 10948 
mnemosyne_2.9+ds1-1_source.buildinfo
Files:
 1eec65e24c95a54b47120ae99a284270 1970 misc optional mnemosyne_2.9+ds1-1.dsc
 e27cee22b6fdde36ee9d6396ab972c01 883160 misc optional 
mnemosyne_2.9+ds1.orig.tar.xz
 185052ad8992e0705ecf1a1e008980f6 15528 misc optional 
mnemosyne_2.9+ds1-1.debian.tar.xz
 bd12fecb1283a34841e0e218b5d07b87 10948 misc optional 
mnemosyne_2.9+ds1-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJGBAEBCgAwFiEEgS7v2KP7pKzk3xFLBMU71/4DBVEFAmLP6VgSHGpwdXlkdEBk
ZWJpYW4ub3JnAAoJEATFO9f+AwVRluwQAJbJzWqdNZob0Dv4LoKB8MhvzJpmw5RL
TXCj+6lmez1JitZh25K6OlF/5ITuLlu+1qSLfKTU0KBKyeuGz53EpX76qaYehaOD
FwjzvTguhLJg9ImO7ku5GJE0OuFkQzWZeCAJ1lSFv++k2SIgchCS4cINDKywlIrm
IHFtHnpSxidkO+ineb5rtMyJpMVWGsh+q8eRohUmAC/e6/Ay2uusQyhMwqOiwkDx
RtTh18QZEh9+LPchzo1B9+4nmrrpDqfT7q7e56jzuV5SD2jqPejivHllt8TPExTQ
1Rmpxe7IK8oTsY2lrWz4xgeH/BVWmrNEv8Enf5cnvPaPFL9Kg9W3fxCcmSjITCQR
by+/F9YrFtxEs9j5TwIePcf9D8ghrOFMCZmbEJ8OqvdXOE3rGufIMLBAF3HWOLiT
Tq0sy+3sEE43UqGGWQA1Ow8KXFqQdaKsIrAVJcocwrvspbb2cEwVCG7qbuzsyozw
DWBozat6JxcbmiNZXLwR5MLXUUPCNab6+hXYfHOEo7CjznIcBkUm+BT7VR5V9I9h
vAg2q8hcpX37Vlif7QQ0eVMDyCoXATHVTaw942n4MJLKKqBmoxw8rU4FlZ62oxvJ
3gvnlsrxgnUB/KC7fVqXNxofyx1QserT36gUIQUoBK+JphZHvDYkExIkR4l9hpeG
z1PLMbODnoPK
=QBcu
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to