Bug 1430124

Summary: can't import fontforge and psMat python modules
Product: [Fedora] Fedora Reporter: Aron Griffis <aron>
Component: fontforgeAssignee: Parag Nemade <pnemade>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: fonts-bugs, kevin, paul, pnemade
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: fontforge-20160404-5.fc25 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-15 18:22:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Aron Griffis 2017-03-07 22:58:07 UTC
Description of problem:
It seems to be impossible to import both the fontforge and psMat modules. Either will import first, but then the other won't.

$ python3
Python 3.5.2 (default, Sep 14 2016, 11:28:32) 
[GCC 6.2.1 20160901 (Red Hat 6.2.1-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import fontforge
>>> import psMat
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: 'psMat' is not a built-in module

$ python3
Python 3.5.2 (default, Sep 14 2016, 11:28:32) 
[GCC 6.2.1 20160901 (Red Hat 6.2.1-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import psMat
>>> import fontforge
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: 'fontforge' is not a built-in module

Version-Release number of selected component (if applicable):
python3-3.5.2-4.fc25.x86_64
fontforge-20160404-4.fc25.x86_64

How reproducible:
every time

Steps to Reproduce:
see description

Actual results:
ImportError

Expected results:
no ImportError

Comment 1 Parag Nemade 2017-03-08 05:54:14 UTC
Thank for reporting this bug. I am not comfortable updating fontforge in stable releases unless there is some very specific reason. So I will fix this by picking upstream patch https://github.com/jtanx/fontforge/commit/3c57c9c2482c39c9f5f18f41bda93090d2fc9a17.patch.

This patch is already available in f26+ fontforge builds.

Comment 2 Fedora Update System 2017-03-08 06:23:13 UTC
fontforge-20160404-5.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-1cd23be24c

Comment 3 Fedora Update System 2017-03-08 14:55:15 UTC
fontforge-20160404-5.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-1cd23be24c

Comment 4 Aron Griffis 2017-03-08 16:11:17 UTC
Parag, thanks for your quick response on this!

Comment 5 Fedora Update System 2017-03-15 18:22:47 UTC
fontforge-20160404-5.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.