[MacPorts] #48727: py34-matplotlib: 'Py::Exception' after invoking 'from pylab import *'

MacPorts noreply at macports.org
Tue Sep 8 10:52:02 PDT 2015


#48727: py34-matplotlib: 'Py::Exception' after invoking 'from pylab import *'
------------------------------+--------------------
  Reporter:  benoit.rivet@…   |      Owner:  sean@…
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.3.3
Resolution:                   |   Keywords:
      Port:  py34-matplotlib  |
------------------------------+--------------------

Comment (by benoit.rivet@…):

 After tracking down the bug down, I found out that the following import in
 the python3 console :

 {{{
 import matplotlib.font_manager
 }}}

 raises the fatal error

 {{{
 terminate called after throwing an instance of 'Py::Exception'
 Abort trap
 }}}

 Delving into font_manager.py, I tried and change line 66 from
 font_manager.py :

 {{{
 USE_FONTCONFIG = False
 }}}

 to

 {{{
 USE_FONTCONFIG = True
 }}}

 and everything seems to work fine, until I try to save a simple figure and
 the fatal 'Py:Exception' error shows up...

-- 
Ticket URL: <https://trac.macports.org/ticket/48727#comment:6>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list