Bug 1430124 - can't import fontforge and psMat python modules
Summary: can't import fontforge and psMat python modules
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: fontforge
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Parag Nemade
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-03-07 22:58 UTC by Aron Griffis
Modified: 2017-03-15 18:22 UTC (History)
4 users (show)

Fixed In Version: fontforge-20160404-5.fc25
Clone Of:
Environment:
Last Closed: 2017-03-15 18:22:47 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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