Bug 1466955 - virtaal depends on python 2 translate-toolkit which is not available in Fedora
Summary: virtaal depends on python 2 translate-toolkit which is not available in Fedora
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: virtaal
Version: 28
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dwayne Bailey
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-30 21:15 UTC by Hedayat Vatankhah
Modified: 2019-10-18 12:30 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
: 1763186 (view as bug list)
Environment:
Last Closed: 2019-05-28 20:12:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Hedayat Vatankhah 2017-06-30 21:15:34 UTC
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.


% virtaal 
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>
    import pan_app
  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):
virtaal-0.7.1-10.fc26.noarch

How reproducible:
100%

Comment 1 markus.richter 2017-08-01 16:25:56 UTC
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.

Comment 2 Gergely Polonkai 2017-08-31 08:18:05 UTC
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'

Comment 3 Gergely Polonkai 2017-08-31 08:20:34 UTC
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'

Comment 4 Ralf Spenneberg 2018-02-08 07:10:38 UTC
This still affects Fedora 27 as well:

$ virtaal 
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>
    import pan_app
  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


Package: virtaal-0.7.1-11.fc27.noarch

Comment 5 Ralf Spenneberg 2018-02-08 07:16:50 UTC
By the way, a manual install of the translate-toolkit fixes this:

sudo pip-2.7 install translate-toolkit

Virtaal starts after the installation without errors.

Comment 6 Fedora End Of Life 2018-05-03 08:05:42 UTC
This message is a reminder that Fedora 26 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 26. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '26'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 26 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 7 Ben Cotton 2019-05-02 21:47:54 UTC
This message is a reminder that Fedora 28 is nearing its end of life.
On 2019-May-28 Fedora will stop maintaining and issuing updates for
Fedora 28. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora 'version' of '28'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 28 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 8 Ben Cotton 2019-05-28 20:12:42 UTC
Fedora 28 changed to end-of-life (EOL) status on 2019-05-28. Fedora 28 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 9 Viktar Siarheichyk 2019-10-18 12:30:31 UTC
$ virtaal 
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>
    import pan_app
  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

$ cat /etc/redhat-release 
Fedora release 30 (Thirty)


Note You need to log in before you can comment on or make changes to this bug.