Hi all,
I just grabbed the latest Mac OSX10.5 binary from here:
http://sagemath.org/SAGEbin/apple_osx/intel/sage-2.10-osx-10.5-intel.dmg
(because incidentally I think running Sage's matplotlib will be by
far the easiest way of getting matplotlib working on OSX leopard for
someone else that I work with)
in the notebook:
x = var('x')
p = plot(sin(x), -3, 3)
show(p)
gives this errors:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/agc/.sage/sage_notebook/worksheets/admin/1/code/2.py",
line 6, in <module>
show(p)
File "/Applications/sage/local/lib/python2.5/site-packages/sympy/plotting/",
line 1, in <module>
File
"/Users/was/build/sage-2.10/local/lib/python2.5/site-packages/sage/misc/functional.py",
line 888, in show
File
"/Applications/sage/local/lib/python2.5/site-packages/sympy/plotting/plot.py",
line 721, in show
File
"/Applications/sage/local/lib/python2.5/site-packages/sympy/plotting/plot.py",
line 792, in save
File
"/Users/was/build/sage-2.10/local/lib/python2.5/site-packages/matplotlib/figure.py",
line 10, in <module>
File
"/Users/was/build/sage-2.10/local/lib/python2.5/site-packages/matplotlib/axes.py",
line 13, in <module>
File
"/Users/was/build/sage-2.10/local/lib/python2.5/site-packages/matplotlib/axis.py",
line 20, in <module>
File
"/Users/was/build/sage-2.10/local/lib/python2.5/site-packages/matplotlib/font_manager.py",
line 1114, in <module>
File
"/Applications/sage/local/lib/python2.5/site-packages/sympy/plotting/__init__.py",
line 207, in wrapper
File
"/Applications/sage/local/lib/python2.5/site-packages/sympy/plotting/__init__.py",
line 400, in _get_configdir
TypeError: not enough arguments for format string
My first (slightly obvious) though is there is some hard coding
in the binary, i.e. "/Users/was/"
I'm pretty sure 'was' (William) doesn't have an account on my machine ;)
Any thoughts? Maybe a new binary is in order?
thanks,
Alex
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---