| Summary: | Starting mnemosyne application fails, when in terminal gives unexpected error and a descriptive log. | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Georgios Gialedakis <geogiale> |
| Component: | RPM Packages | Assignee: | QA Team <qa-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | critical | ||
| Priority: | Normal | CC: | andrewsfarm, davidwhodgins, herman.viaene, jani.valimaa, sysadmin-bugs |
| Version: | 8 | Keywords: | advisory, validated_update |
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | MGA8-64-OK | ||
| Source RPM: | mnemosyne-2.8-2.mga9.src.rpm | CVE: | |
| Status comment: | |||
|
Description
Georgios Gialedakis
2023-07-23 10:26:20 CEST
It is always helpful to attach error messages so that not others have to do the work.
error:
[neun@test9 ~]$ mnemosyne
Log body:
An unexpected error has occurred.
Please forward the following info to the developers:
Traceback (innermost last):
File "/usr/bin/mnemosyne", line 278, in <module>
mnemosyne.initialise(data_dir=data_dir, filename=filename,
File "/usr/lib/python3.10/site-packages/mnemosyne/libmnemosyne/__init__.py", line 400, in initialise
self.register_components()
File "/usr/lib/python3.10/site-packages/mnemosyne/libmnemosyne/__init__.py", line 465, in register_components
importlib.import_module(module_name), class_name)
File "/usr/lib64/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib/python3.10/site-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 278, in <module>
mnemosyne.initialise(data_dir=data_dir, filename=filename,
File "/usr/lib/python3.10/site-packages/mnemosyne/libmnemosyne/__init__.py", line 400, in initialise
self.register_components()
File "/usr/lib/python3.10/site-packages/mnemosyne/libmnemosyne/__init__.py", line 465, in register_components
importlib.import_module(module_name), class_name)
File "/usr/lib64/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib/python3.10/site-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 278, in <module>
mnemosyne.initialise(data_dir=data_dir, filename=filename,
File "/usr/lib/python3.10/site-packages/mnemosyne/libmnemosyne/__init__.py", line 400, in initialise
self.register_components()
File "/usr/lib/python3.10/site-packages/mnemosyne/libmnemosyne/__init__.py", line 465, in register_components
importlib.import_module(module_name), class_name)
File "/usr/lib64/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib/python3.10/site-packages/mnemosyne/libmnemosyne/translators/google_translator.py", line 5, in <module>
from googletrans import Translator as gTranslator
ModuleNotFoundError: No module named 'googletrans'
[neun@test9 ~]$
This package is improperly built as it requires googletrans which is not available in Mageia. https://py-googletrans.readthedocs.io/en/latest/ Broken with the same error message in Mageia 8, so it was never tested.... Whiteboard:
(none) =>
MGA8TOO Two new pkgs are needed. Both are now imported to SVN, but not pushed to BS. python-googletrans python-gtts One new req is needed. python3-argon2-cffi Whiteboard:
MGA8TOO =>
MGA8TOO MGA9TOO Will update upcoming mga9 and cauldron later. Please test mnemosyne-2.7.3-1.1.mga8 from mga8 core/updates_testing. SRPMS: mnemosyne-2.7.3-1.1.mga8 python-googletrans-3.0.0-1.mga8 python-gtts-2.2.4-1.mga8 RPMS: mnemosyne-2.7.3-1.1.mga8 python3-googletrans-3.0.0-1.mga8 python3-gtts-2.2.4-1.mga8 CC:
(none) =>
jani.valimaa Please test with mnemosyne-2.8-3.mga9 from cauldron core/updates_testing. It'll also pull pkgs from comment 3.
sturmvogel
2023-07-24 12:17:18 CEST
Assignee:
bugsquad =>
qa-bugs MGA8-64 MATE on Acer Aspire 5253 No installation issues. Mnemosyne opens correctly, various menu items behave OK. Whiteboard:
MGA8TOO MGA9TOO =>
MGA8TOO MGA9TOO MGA8-64-OK MGA9-64 Plasma system, in Virtualbox. Using just the package names from comment 4 in qarepo, with wildcards instead of version numbers, I downloaded the packages from updates/testing. Then I did a new install, rather than an update. 90 packages in total. No installation issues. I successfully launched from the menu, and cycled through various introductory screens. No issues noted. This looks OK for MGA9. Validating. Whiteboard:
MGA8TOO MGA9TOO MGA8-64-OK =>
MGA8TOO MGA9TOO MGA8-64-OK MGA9-64-OK moved to release for mga9 Version:
Cauldron =>
8
Dave Hodgins
2023-08-20 21:24:48 CEST
CC:
(none) =>
davidwhodgins An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2023-0056.html Resolution:
(none) =>
FIXED |