[MacPorts] #15706: matplotlib segfault
MacPorts
noreply at macports.org
Thu Jun 26 20:44:36 PDT 2008
#15706: matplotlib segfault
------------------------------+---------------------------------------------
Reporter: tom.duck at dal.ca | Owner: ram at macports.org
Type: defect | Status: assigned
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.6.0
Resolution: | Keywords: matplotlib segfault
------------------------------+---------------------------------------------
Comment (by tom.duck at dal.ca):
Not quite there, I think.
When I run the test program, it brings up a window but not using Tk/X. It
looks like Wx to me.
If you try to force matplotlib to use Tk, here is what happens:
{{{
$ python axes_demo.py -dTKAgg
Traceback (most recent call last):
File "axes_demo.py", line 3, 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
246, in <module>
from matplotlib.pyplot import *
File "/opt/local/lib/python2.5/site-packages/matplotlib/pyplot.py", line
39, in <module>
new_figure_manager, draw_if_interactive, show = pylab_setup()
File "/opt/local/lib/python2.5/site-
packages/matplotlib/backends/__init__.py", line 24, in pylab_setup
globals(),locals(),[backend_name])
File "/opt/local/lib/python2.5/site-
packages/matplotlib/backends/backend_tkagg.py", line 8, in <module>
import tkagg # Paint image to Tk photo blitter
extension
File "/opt/local/lib/python2.5/site-
packages/matplotlib/backends/tkagg.py", line 1, in <module>
import _tkagg
ImportError: No module named _tkagg
}}}
So it would appear that the _tkagg extension module is not getting built.
--
Ticket URL: <http://trac.macports.org/ticket/15706#comment:26>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list