Red Hat Bugzilla – Bug 1466955
virtaal depends on python 2 translate-toolkit which is not available in F26
Last modified: 2017-08-31 04:20:34 EDT
Description of problem:
Cannot run virtaal, with the following traceback. It seems that the module is provided by translate-toolkit package, which only provides it for Python 3.6, but Virtaal needs it for python 2.7, which is apparently not provided in F26.
Traceback (most recent call last):
File "/usr/bin/virtaal", line 23, in <module>
from virtaal.common import pan_app
File "/usr/lib/python2.7/site-packages/virtaal/common/__init__.py", line 21, in <module>
File "/usr/lib/python2.7/site-packages/virtaal/common/pan_app.py", line 27, in <module>
from translate.misc import file_discovery
ImportError: No module named translate.misc
Version-Release number of selected component (if applicable):
See also Bug: 1476574 for OmegaT, maybe this is an issue as 2 CAT-Tools are not working now. GTranslator & Poedit seem not to offer e.g. same kind of terminology management.
Also have this. On the other hand, even though I have translate toolkit installed for Python 3.6 (from the translate-toolkit package), I can’t run virtaal with Python 3, as it is not Python 3 compatible:
$ python3 /usr/bin/virtaal
File "/usr/bin/virtaal", line 62
print 'DEPENDENCY WARNINGS:'
SyntaxError: Missing parentheses in call to 'print'