[MacPorts] #18047: py25-matplotlib - 0.98.5.2 - Graphics fails when using CocoaAgg

MacPorts noreply at macports.org
Fri Jan 16 11:43:11 PST 2009


#18047: py25-matplotlib - 0.98.5.2 - Graphics fails when using CocoaAgg
------------------------------+---------------------------------------------
 Reporter:  krunk7@…          |       Owner:  ram@…           
     Type:  defect            |      Status:  assigned        
 Priority:  Normal            |   Milestone:  Port Bugs       
Component:  ports             |     Version:  1.7.0           
 Keywords:                    |        Port:  py25-matplotlib 
------------------------------+---------------------------------------------

Comment(by krunk7@…):

 Replying to [comment:5 jmr@…]:
 > Foundation is provided by py25-pyobjc2-cocoa.
 I've verified that I'm not using any system bins/libs


 Ok, installing py25-pyobjc2-cocoa gets rid of the Foundation import error.
 However, I get this:

 Traceback (most recent call last):
   File "set1.py", line 2, in <module>
     from pylab import *
   File "/opt/local/lib/python2.5/site-packages/pylab.py", line 1, in
 <module>
     from matplotlib.pylab import *
   File "/opt/local/lib/python2.5/site-packages/matplotlib/pylab.py", line
 253, in <module>
     from matplotlib.pyplot import *
   File "/opt/local/lib/python2.5/site-packages/matplotlib/pyplot.py", line
 75, in <module>
     new_figure_manager, draw_if_interactive, show = pylab_setup()
   File "/opt/local/lib/python2.5/site-
 packages/matplotlib/backends/__init__.py", line 25, in pylab_setup
     globals(),locals(),[backend_name])
   File "/opt/local/lib/python2.5/site-
 packages/matplotlib/backends/backend_cocoaagg.py", line 54, in <module>
     class FigureCanvasCocoaAgg(FigureCanvasAgg):
   File "/opt/local/lib/python2.5/site-
 packages/matplotlib/backends/backend_cocoaagg.py", line 63, in
 FigureCanvasCocoaAgg
 start_event_loop.__doc__=FigureCanvasBase.start_event_loop_default.__doc__
 NameError: name 'FigureCanvasBase' is not defined

-- 
Ticket URL: <http://trac.macports.org/ticket/18047#comment:7>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list