[MacPorts] #30846: error saving to PDF in matplotlib

MacPorts noreply at macports.org
Wed Aug 17 16:23:51 PDT 2011


#30846: error saving to PDF in matplotlib
---------------------------------+------------------------------------------
 Reporter:  astrofitz@…          |       Owner:  macports-tickets@…                   
     Type:  defect               |      Status:  new                                  
 Priority:  Normal               |   Milestone:                                       
Component:  ports                |     Version:  2.0.1                                
 Keywords:                       |        Port:  py27-matplotlib                      
---------------------------------+------------------------------------------
 matplotlib is unable to save PDF files (test code attached).  It crashes
 with an assertion error related to font encoding:

   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/matplotlib/dviread.py", line 727, in _register
     assert encoding is None
 AssertionError

 A patch has been proposed to work around the issue:
 http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/branches/v1_0_maint/lib/matplotlib/dviread.py?view=patch&r1=8512&r2=8955

-- 
Ticket URL: <https://trac.macports.org/ticket/30846>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list