Hi, On Sun, Dec 21, 2008 at 5:47 PM, pong <wypon...@gmail.com> wrote: > > I have recently switch to running SAGE on a linux system > > I tried to see if sagetex work by running latex on the example.tex > (come with the current distribution sage-3.2.2) > > However when I then run sage example.sage, it compliants: > > Plot 6 > Code block begin... > **** Error in Sage code on line 158 of example.tex! Traceback follows. > Traceback (most recent call last): > File "example.py", line 181, in <module> > matrixprogram = matrix_plot(M,cmap='Greys') > File "/home/pong/sage-3.2.2/local/lib/python2.5/site-packages/sage/ > plot/misc.py", line 285, in wrapper > return func(*args, **options) > File "/home/pong/sage-3.2.2/local/lib/python2.5/site-packages/sage/ > plot/matrix_plot.py", line 151, in matrix_plot > raise ValueError, "can not convert array entries to floating point > numbers" > ValueError: can not convert array entries to floating point numbers > > **** Running Sage on example.sage failed! Fix example.tex and try > again.
This is a known issue ( http://trac.sagemath.org/sage_trac/ticket/4812 ) and should be fixed in the next release. Note that it is specific to that particular example, and the rest of sagetex should be fine. --Mike --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---