Opened 8 years ago

Closed 8 years ago

#51521 closed defect (wontfix)

matplotlib crash on Mac OS X.5 PPC

Reported by: RivetBenoit (Benoit Rivet) Owned by: seanfarley (Sean Farley)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: leopard powerpc Cc:
Port: py-matplotlib

Description (last modified by mf2k (Frank Schima))

With python3.5 and py35-matplotlib @1.5.1_3+cairo as installed by Macports, the following minimal code :

import matplotlib.pyplot as plt
import numpy as np
plt.figure()
x=np.linspace(1,2)
plt.plot(x,x**2)
plt.savefig('sqr.pdf')

gives the following error :

machdep: class is not implemented
terminate called after throwing an instance of 'char*'
Abort trap

This happens on a Mac OS X.5 PPC computer, and is likely PPC related : the bug does not happen on an Intel Machine. The bug does also not happen with py34-matplotlib @1.3.1_4 (although the warning 'machdep: class is not implemented' is issued, the script does not crash and the expected figure is saved).

Note that I reported another bug (closed: wontfix) with Matplotlib 1.4.x on ticket:48727. I guess I'm stuck with matplotlib 1.3 for the future :-(

Change History (4)

comment:1 Changed 8 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to sean@…

In the future, please Cc the port maintainers (port info --maintainers py-matplotlib), if any.

comment:2 Changed 8 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:3 Changed 8 years ago by mf2k (Frank Schima)

Keywords: powerpc added

comment:4 Changed 8 years ago by seanfarley (Sean Farley)

Resolution: wontfix
Status: newclosed

I don't know what to tell you. PPC is old hardware that can't even get a new Mac OS and matplotlib doesn't really seem interested in supporting that. If someone can patch this to work for you then I can try to incorporate that into the portfile.

Note: See TracTickets for help on using tickets.