Opened 8 years ago

Last modified 8 years ago

#51521 closed defect

matplotlib crash on Mac OS X.5 PPC — at Initial Version

Reported by: RivetBenoit (Benoit Rivet) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: leopard powerpc Cc:
Port: py-matplotlib

Description

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 48727https://trac.macports.org/ticket/48727. I guess I'm stuck with matplotlib 1.3 for the future :-(

Change History (0)

Note: See TracTickets for help on using tickets.