Bug 247595 - games/py-mnemosyne: Fails to run: ModuleNotFoundError: No module named 'googletrans'
Summary: games/py-mnemosyne: Fails to run: ModuleNotFoundError: No module named 'googl...
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords: needs-patch, needs-qa
Depends on:
Blocks:
 
Reported: 2020-06-27 16:00 UTC by gspu
Modified: 2020-07-05 03:26 UTC (History)
2 users (show)

See Also:
koobs: merge-quarterly?


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gspu 2020-06-27 16:00:49 UTC
Stops with that error:

Traceback (innermost last):
  File "/usr/local/bin/mnemosyne", line 270, in <module>
    debug_file=options.debug_file)
  File "/usr/local/lib/python3.7/site-packages/mnemosyne/libmnemosyne/__init__.py", line 400, in initialise
    self.register_components()
  File "/usr/local/lib/python3.7/site-packages/mnemosyne/libmnemosyne/__init__.py", line 465, in register_components
    importlib.import_module(module_name), class_name)
  File "/usr/local/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/local/lib/python3.7/site-packages/mnemosyne/libmnemosyne/translators/google_translator.py", line 5, in <module>
    from googletrans import Translator as gTranslator
 ModuleNotFoundError: No module named 'googletrans'
Comment 1 Li-Wen Hsu freebsd_committer 2020-07-04 14:16:42 UTC
There is no maintainer of this port currently, would you want to create a patch fix this and take the maintainership? Thanks!
Comment 2 Kubilay Kocak freebsd_committer freebsd_triage 2020-07-05 03:26:00 UTC
Needs two ports:

- googletrans
- gtts (apparently)