Hi Ondrej,

Good things last and take time.

2010/4/13 Ondrej Certik <ond...@certik.cz>:
> I am now getting the exact same problem with pylab and FEMhub and Mac.
> I used http://sagemath.org/packages/standard/matplotlib-0.99.1.p4.spkg:

It might a different problem than just architecture mismatch.  But
maybe I'm getting something wrong and misunderstand you.

Michael, notice that 0.99.1 seems to the last version before your
commit af9954d46e5 which introduces versioning of the fontcache.  (It
is not tagged in git, only the commit message reveals it:
8398d9bd2c47.

I cannot see from http://trac.sagemath.org/sage_trac/ticket/7022 what
happened between the sagemath matplotlib-0.99.1.p2.spkg to
matplotlib-0.99.1.p4.spkg (patch 2 => patch 4).  But the last post by
jhpalmieri on that page might be related: "[...] But with my computer,
"uname -r" returns "10.2.0", not "10.0.0". [...]"  On my system it
returns currently 10.8.0 (I think since it's OS X 10.6.8).

> ondrej@bsd:~/repos/femhub-0.9.9.beta3-mac(master)$ ./femhub
> ----------------------------------------------------------------------
> | FEMhub Version 0.9.9.beta2, Release Date: 2010-04-02               |
> | Type lab() for the GUI.                                            |
> ----------------------------------------------------------------------
> In [1]: import pylab
> /Users/ondrej/repos/femhub-0.9.9.beta3-mac/local/lib/python2.6/site-packages/matplotlib/rcsetup.py:117:
> UserWarning: rcParams key "numerix" is obsolete and has no effect;
>  please delete it from your matplotlibrc file
>  warnings.warn('rcParams key "numerix" is obsolete and has no effect;\n'
> /Users/ondrej/repos/femhub-0.9.9.beta3-mac/local/bin/sage-sage: line
> 203: 28516 Abort trap              sage-ipython "$@" -i
>
> It's using the "bsd" Mac machine from William, I guess the same as
> John was using above.
>
> Has anybody figured out a solution? Apparently Sage must work on the
> Mac, so it must be something different than just matplotlib?

Can you please check if you do have /Library/Fonts/NISC18030.ttf on
your system and maybe do a ``stat -f "%c"
/Library/Fonts/NISC18030.ttf`` on it?  For me, this one generates a
Bus error (32bit) / Abort trap (64bit) on importing matplotlib.figure,
for example.  My issue is related to loading that font file I
specified.  It might a different font file for you and it might also
be totally unrelated at all :-/

Or maybe you solved the problem in the meantime?

Do you still have this machine?  William, assumed he's William Stein,
was the one who posted
http://groups.google.com/group/sage-devel/browse_thread/thread/2c538915abc99946
in 2009, and who was able to partly track it down.

>From the page http://trac.sagemath.org/sage_trac/ticket/7022 I see
that exactly that font file was installed on it (probably).

Thanks,
Friedrich

> Some
> other package, that we have in femhub, but not in Sage, or some
> different version of something. Here is a list of packages that I have
> installed:
>
> ondrej@bsd:~/repos/femhub-0.9.9.beta3-mac(master)$ ./femhub -i
> Currently installed packages:
> blas-20070724
> bzip2-1.0.5
> cmake-2.6.2.p1
> configobj-4.5.3
> cython-0.12.1
> dir-0.1
> docutils-0.5.p0
> femhub-lab-97141eb
> fipy-2.1-eb4aacf
> fortran-20071120.p8
> freetype-2.3.5.p2
> gnutls-2.2.1.p3
> hermes2d-9bbfd39
> ipython-bzr1174
> jinja-1.2.p0
> judy-1.0.5.p1
> lapack-20071123.p1
> libfemhub-78c07cb
> libgcrypt-1.4.3.p2
> libgpg_error-1.6.p2
> libpng-1.2.35.p0
> matplotlib-0.99.1.p4
> mayavi-3.3.1.p2
> mesa-7.4.4.p3
> numpy-1.3.0.p2
> pexpect-2.0.p3
> prereq-0.3
> pygments-0.11.1.p0
> pyparsing-1.5.2
> pysparse-1.1-6301cea
> python-2.6.4.p7
> python_gnutls-1.1.4.p7
> readline-6.0
> sage_scripts-3.4.2
> scipy-0.7.p4
> setuptools-0.6c9.p0
> sfepy-2009.3
> sphinx-0.6.3.p4
> swig-1.3.36
> sympy-5d78c29
> termcap-1.3.1.p1
> twisted-9.0.p2
> vtk-cvs-20090316-minimal.p6
> zlib-1.2.3.p5

Looks ok.  But I didn't check it in detail.  I think it might be unrelated.

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to