Bug 1450591 - po2l20n doesn't work
Summary: po2l20n doesn't work
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: translate-toolkit
Version: 30
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jens Petersen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-05-13 13:44 UTC by jibecfed
Modified: 2019-06-27 21:29 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description jibecfed 2017-05-13 13:44:56 UTC
Description of problem:

as described in https://bodhi.fedoraproject.org/updates/FEDORA-2017-3f30cc765c a python module is missing.

$ po2l20n 
Traceback (most recent call last):
  File "/usr/bin/po2l20n", line 11, in <module>
    load_entry_point('translate-toolkit==2.1.0', 'console_scripts', 'po2l20n')()
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 560, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2648, in load_entry_point
    return ep.load()
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2302, in load
    return self.resolve()
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2308, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python3.6/site-packages/translate/convert/po2l20n.py", line 26, in <module>
    from translate.storage import l20n, po
  File "/usr/lib/python3.6/site-packages/translate/storage/l20n.py", line 24, in <module>
    from l20n.format.parser import FTLParser as L20nParser
ModuleNotFoundError: No module named 'l20n'

I'm not personally using it but it may prevent some users to fully use translate toolkit.

thanks for your work,

Comment 1 Jens Petersen 2017-05-22 01:56:45 UTC
I think we don't have the l20n python library in Fedora yet.

If someone wants to package and submit it for review that would be great.

Comment 2 sachin 2019-04-03 07:56:30 UTC
Still same issue in F30 
resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python3.7/site-packages/translate/convert/po2l20n.py", line 24, in <module>
    from translate.storage import l20n, po
  File "/usr/lib/python3.7/site-packages/translate/storage/l20n.py", line 24, in <module>
    from l20n.format.parser import FTLParser as L20nParser
ModuleNotFoundError: No module named 'l20n'


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