https://bugzilla.redhat.com/show_bug.cgi?id=1278201

            Bug ID: 1278201
           Summary: ImportError: No module named 'pygtk'
           Product: Fedora
           Version: 23
         Component: fonttools
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]



Description of problem:

# pyftinspect --help
Traceback (most recent call last):
  File "/usr/bin/pyftinspect", line 9, in <module>
    load_entry_point('fonttools==3.0', 'console_scripts', 'pyftinspect')()
  File "/usr/lib/python3.4/site-packages/pkg_resources/__init__.py", line 558,
in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3.4/site-packages/pkg_resources/__init__.py", line 2682,
in load_entry_point
    return ep.load()
  File "/usr/lib/python3.4/site-packages/pkg_resources/__init__.py", line 2355,
in load
    return self.resolve()
  File "/usr/lib/python3.4/site-packages/pkg_resources/__init__.py", line 2361,
in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python3.4/site-packages/FontTools/fontTools/inspect.py", line
11, in <module>
    import pygtk
ImportError: No module named 'pygtk'


# locate pygtk.py 
/usr/lib64/python2.7/site-packages/pygtk.py
/usr/lib64/python2.7/site-packages/pygtk.pyc
/usr/lib64/python2.7/site-packages/pygtk.pyo


Version-Release number of selected component (if applicable):
fonttools-3.0-1.fc23
pygobject2-2.28.6-14.fc23.x86_64
python3-gobject-base-3.18.0-2.fc23.x86_64


How reproducible:
always

Steps to Reproduce:
1. pyftinspect --help
2.
3.

Actual results:
as above

Expected results:
Anything else except the above.

Additional info:

It looks like fonttools-3.0-1.fc23 depends on python3 but
pygobject2-2.28.6-14.fc23.x86_64 is python2, and I could not find equivalent
python3 module. In any case, dependency should be automatic.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug 
https://bugzilla.redhat.com/token.cgi?t=fN1nhxsPlC&a=cc_unsubscribe
_______________________________________________
fonts-bugs mailing list
[email protected]
http://lists.fedoraproject.org/admin/[email protected]

Reply via email to