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

MacPorts noreply at macports.org
Wed Aug 17 16:59:37 PDT 2011


#30846: error saving to PDF in matplotlib
---------------------------------+------------------------------------------
 Reporter:  astrofitz@…          |       Owner:  ram@…           
     Type:  defect               |      Status:  assigned        
 Priority:  Normal               |   Milestone:                  
Component:  ports                |     Version:  2.0.1           
 Keywords:                       |        Port:  py27-matplotlib 
---------------------------------+------------------------------------------
Changes (by ram@…):

  * owner:  macports-tickets@… => ram@…
 * cc: ram@…, astrofitz@… (removed)
  * status:  new => assigned


Old description:

> 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

New description:

 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#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list